Home > Community > FPScript > Signal analysis > Reply To: Signal analysis

Bernhard KantzBernhard Kantz

To find all indices in a signal where a specific value is reached one can use the FPScript function ValuesInInterval() using this value for both the lower and the upper limit. Using EVENT_EXTRACT for Operation yields a signal with the specified value for the y component. Choosing the x component of the result gives all the desired x positions.
The number of points in a signal can be obtained using the NumberOfRows() function. If the signal contains a (stationary) periodic waveform one can estimatethe period using the function Period().
Clipping a signal for an interval in x can be done with the value index operator, e.g. sig[[1.2 s, 3.3 s]] cuts out the values for x from nearest to 1.2 s to approximately 3.3 s.