Loading

bucketizer.mad

bucketizer

Pushes onto the stack an AGGREGATOR which computes the Median Absolute Deviation of each bucket.

The returned location is the median of all the locations in the bucket, and the returned elevation is the median of all the elevations in the bucket.

bucketizer.mad is available since version 1.2.0.

See also

Signatures

Examples

[ [ NEWGTS 10 NaN NaN NaN 3.0 ADDVALUE 12 NaN NaN NaN 3.0 ADDVALUE 30 NaN NaN NaN 3.0 ADDVALUE 32 NaN NaN NaN 3.0 ADDVALUE 35 NaN NaN NaN 4.5 ADDVALUE 38 NaN NaN NaN 0.0 ADDVALUE 39 NaN NaN NaN 8.0 ADDVALUE ] bucketizer.mad 40 //last bucket 20 //bucket span 2 //bucket count ] BUCKETIZE