Loading

op.negmask


op
Since v1.0.11
Available on all platforms
See also

Pushes onto the stack an operator which, in an APPLY, removes datapoints in Geo Time Series™ for the ticks where a BOOLEAN mask Geo Time Series™ has true values.

This operator can only be applied to pairs of GTS.

Signature

Examples

// Mask GTS NEWGTS 'mask' RENAME 1 10 <% 'tick' STORE $tick NaN NaN NaN $tick 2 % 1 == ADDVALUE %> FOR 'mask' STORE // Value GTS NEWGTS 'value' RENAME 1 20 <% 'tick' STORE $tick NaN NaN NaN 1 ADDVALUE %> FOR 'value' STORE [ [ $mask ] [ $value ] [] op.negmask ] APPLY