piel.analysis.signals.frequency.core.metrics#
Attributes#
Functions#
Extracts the maximum s_21_magnitude_dBm from the DataFrame, composes the corresponding input input, |
Module Contents#
- logger#
- max_power_s21_frequency_metric_from_dataframe(dataframe: pandas.DataFrame) piel.types.FrequencyMetric[source]#
Extracts the maximum s_21_magnitude_dBm from the DataFrame, composes the corresponding input input, and returns both as a Phasor and ScalarMetric.
- Parameters:
dataframe (pd.DataFrame) – DataFrame containing the required columns.
- Returns:
A tuple containing the input Phasor and the output ScalarMetric.
- Return type:
Tuple[Phasor, ScalarMetric]