oph_gsl_complex_get_arg

Description

Behaviour

It computes the argument (phase) of a binary array of complex numbers.

Parameters

  • input measure type: Ophidia typing. Supported types are: ‘oph_complex_double’; ‘oph_complex_float’; ‘oph_complex_int’; ‘oph_complex_long’.
  • output measure type: Ophidia typing. Supported types are: ‘oph_double’; ‘oph_float’; ‘oph_long’; ‘oph_int’; ‘oph_short’; ‘oph_byte’.
  • measure: input measure.

Return type

Binary-array.

Examples

Extract phases from an array of complex numbers.

oph_gsl_complex_get_arg('OPH_COMPlEX_DOUBLE','OPH_DOUBLE',measure)

Operation type

Simple.

Arguments

Argument name Type Mandatory Values Default Min/Max-value Min/Max-times
input measure type “oph_type” “yes” “‘oph_complex_double’|’oph_complex_float’|’oph_complex_int’|’oph_complex_lo ng’”     “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”