Loading

mapper.rms


mapper
Since v1.2.18
Available on all platforms
See also

This mapper function returns the root mean square of all the values found in each sliding window. The associated location is the last one of the window.

The mapper.rms function can only be applied to values of type LONG or DOUBLE.

Signature

Examples

[ [ NEWGTS "GTS4" RENAME 10 NaN NaN 1.0 3.0 ADDVALUE //2.38 = rms(3,2,2) 30 NaN NaN NaN 2.0 ADDVALUE //2.29 = rms(3,2,2,2) 32 NaN NaN NaN 2.0 ADDVALUE //2.23 = rms(3,2,2,2,2) 35 NaN NaN NaN 2.0 ADDVALUE //2.0 = rms(2,2,2,2,2) 38 NaN NaN 3.0 2.0 ADDVALUE //2.0 = rms(2,2,2,2) 39 NaN NaN 4.0 2.0 ADDVALUE //2.0 = rms(2,2,2) ] mapper.rms //5 5 STRICTMAPPER //uncomment to create a strict mapper. this will output a value only if the window has 5 values 2 //2 values before 2 //2 values after 0 //no op limit ] MAP