complex_2_reim
- pmrf.math.complex_2_reim(z: Array | ndarray | bool | number | bool | int | float | complex)
Return real and imaginary parts of a complex number.
- Parameters:
z (number or array_like) – A complex number or sequence of complex numbers.
- Returns:
real (array like or scalar) – Real part of input.
imag (array like or scalar) – Imaginary part of input.