torchsig.utils.dsp.center_freq_from_lower_upper_freq

torchsig.utils.dsp.center_freq_from_lower_upper_freq(lower_freq: float, upper_freq: float) float[source]

Calculates center frequency from lower frequency and upper frequency

Parameters:
  • lower_freq (float) – The lower frequency corresponding to the 3 dB bandwidth of the signal

  • upper_freq (float) – The upper frequency corresponding to the 3 dB bandwidth of the signal

Returns:

The center frequency

Return type:

float