set_sample_rate()#

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

Set the IQ sample rate.

Parameters:
  • sample_rate_hz (float) – Sample rate in samples per second.

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

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