DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Channel Peak Detect

I wrote a script to find the indexes of all valleys in my data set. I call ChnPeakDetect to do this:

 

 

Call ChnPeakDetect("/Time", "/accelChannelXFiltered", "/PeakPositions", "/PeakAmplitudes", "Valleys", -29.43, 100) 'Peak detect to find impact pulse

 

 

I validated my code against a known good data set and verified that the detected valleys are correct.

 

I have a new data set that is very similar to my known good. My script fails to find the valleys in the data.

 

I attached both the good and bad data sets.

 

Any ideas why my script fails to find the valleys in the bad data?

0 Kudos
Message 1 of 2
(2,280 Views)

Hi sirwin,

 

try to reduce the width from 100 to e.g. 10.

A nice description about the required width is given in the help for the ChnPeakDetect - command.

 

Greetings,

Vassili

0 Kudos
Message 2 of 2
(2,193 Views)