complex_2_magnitude
- pmrf.math.complex_2_magnitude(z: Array | ndarray | bool | number | bool | int | float | complex)
Return the magnitude of the complex argument.
- Parameters:
z (number or array_like) – A complex number or sequence of complex numbers.
- Returns:
mag – The absolute value of the input.
- Return type:
ndarray or scalar