torchsig.utils.dsp.bandwidth_from_lower_upper_freq

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

Calculates bandwidth 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 bandwidth

Return type:

float