set_bandwidth()#

SDRDriverBase.set_bandwidth(
bandwidth_hz: float,
*,
direction: Direction = Direction.RX,
channel: str = '0',
) → None[source]#

Set the IF or filter bandwidth.

Some radios tie this to the sample rate.

Parameters:
  • bandwidth_hz (float) – Bandwidth in Hz.

  • direction (Direction) – Signal path, Direction.RX or Direction.TX.

  • channel (str) – Channel on that path, e.g. "0".

Raises:

NotImplementedError – If the driver does not support bandwidth control.