skrf.mathFunctions.complex_2_magnitude

skrf.mathFunctions.complex_2_magnitude(z)[source]

Return the magnitude of the complex argument.

Parameters:

z (number or array_like) – A complex number or sequence of complex numbers

Returns:

mag

Return type:

ndarray or scalar