oph_aggregate_stats_final

Description

Behaviour

It computes statistical indexes based on mask value working vertically on the columns of arrays of partial results obtained from a merge of fragments, on which oph_aggregate_stats_partial has been applied.

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 partial results.
  • 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 from partial results.

oph_aggregate_stats_final('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”