oph_gsl_stats

Description

Behaviour

It computes statistical indexes of the measure array. The type of indexes depends on a mask.

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: possible values are
    • 00000000000000: invalid
    • 1xxxxxxxxxxxxx: mean
    • x1xxxxxxxxxxxx: variance
    • xx1xxxxxxxxxxx: std dev
    • xxx1xxxxxxxxxx: abs dev
    • xxxx1xxxxxxxxx: skew
    • xxxxx1xxxxxxxx: kurtosis
    • xxxxxx1xxxxxxx: autocorrelation
    • xxxxxxx1xxxxxx: max
    • xxxxxxxx1xxxxx: min
    • xxxxxxxxx1xxxx: 0.05 quantile
    • xxxxxxxxxx1xxx: 0.25 quantile ->Q1
    • xxxxxxxxxxx1xx: 0.5 quantile ->Q2 (median)
    • xxxxxxxxxxxx1x: 0.75 quantile ->Q3
    • xxxxxxxxxxxxx1: 0.95 quantile
    • 11111111111111: all (default)
    • 101: mean + std dev

Return type

Binary-array.

Examples

Compute the mean and the standard deviation of input measures.

oph_gsl_stats('OPH_DOUBLE','OPH_DOUBLE',measure,'101')

Operation type

Reduce.

Arguments

Argument name Type Mandatory Values Default Min/Max-value Min/Max-times
input measure type “oph_type” “yes” “‘oph_double’|’oph_float’|’oph_int’|’oph_long’|’oph_short’|’oph_byte’”     “1” / “1”
output measure 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”   “11111111111111”   “0” / “1”