get_freq_correction()#

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

Return the reference oscillator correction.

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

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

Returns:

float – Correction in parts per million.

Raises:

NotImplementedError – If the driver does not support frequency correction.