skrf.mathFunctions.inf_to_num

skrf.mathFunctions.inf_to_num(x)[source]

Convert inf and -inf’s to large numbers.

Parameters:

x (array-like or number) – the input array or number

Returns:

x – Input without with +/- inf replaced by large numbers

Return type:

Number of array_like