Loading

op.negmask

op

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.

op.negmask is available since version 1.0.11.

See also

Signatures

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