get_sample_rate_range()#

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

Return the lowest and highest settable sample rate.

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

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

Returns:

tuple[float, float] – (low, high) in samples per second.

Raises:

NotImplementedError – If the driver does not support reporting a sample rate range.