oph_aggregate_stats

Description

Behaviour

It computes a statistical index based on mask value working vertically on the columns of arrays of measures.

Parameters

  • input measure type: Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • output measure type: Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • measure: input measure.
  • mask: 7-bit mask
    • 0000000: invalid
    • 1xxxxxx: mean
    • x1xxxxx: variance
    • xx1xxxx: std dev
    • xxx1xxx: skew
    • xxxx1xx: excess kurtosis
    • xxxxx1x: max
    • xxxxxx1: min
    • 1111111: all (default)
    • 101: mean + std dev
    • ...

Return type

Binary-array.

Examples

Compute mean, maximum and minimum of a set of time series.

oph_aggregate_stats('OPH_DOUBLE','OPH_DOUBLE',measure,'1000011')

Operation type

Aggregate.

Arguments

Argument name Type Mandatory Values Default Min/Max-value Min/Max-times
input data type “oph_type” “yes” “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’”     “1” / “1”
output data type “oph_type” “yes” “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’”     “1” / “1”
measure “binary-array” “yes”       “1” / “1”
mask “string” “no”   “1111111”   “0” / “1”