gplugins.common.utils.convert_sparameters.pandas_to_float64#
- gplugins.common.utils.convert_sparameters.pandas_to_float64(df: DataFrame, magnitude_suffix: str = 'm', phase_suffix: str = 'a') DataFrame [source]#
Converts a pandas CSV sparameters from complex128 format to 2x float64 format.
Adds magnitude_suffix (default m) and phase_suffix (default a) to original keys.
- Parameters:
df – pandas DataFrame.
magnitude_suffix – m for module.
phase_suffix – a for angle.