Behaviour
It reduces a measure array performing the specified operation on ‘count’ elements.
Parameters
Return type
Binary-array.
Examples
Compute the mean on 30 measures.
oph_reduce('OPH_DOUBLE','OPH_DOUBLE',measure,'OPH_AVG',30)
Operation type
Reduce.
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” | |||
operator name | “oph_operator” | “no” | “‘oph_count’|’oph_max’|’oph_min’|’oph_avg’|’oph_sum’|’oph_std’|’oph_var’|’oph_cmoment’|’oph_acmoment’|’oph_rmoment’|’oph_armoment’|’oph_arg_max’|’oph_arg_min’” | “‘oph_max’” | “0” / “1” | |
count | “long-long” | “no” | “0” | “array length” / “array length” | “0” / “1” | |
order | “double” | “no” | “2” | “0” / “1” | ||
missingvalue | “double” | “no” | “NAN” | “0” / “1” |