set_freq_correction()#

InstroSDR.set_freq_correction(
ppm: float,
*,
direction: Direction = Direction.RX,
channel: str = '0',
**kwargs: Any,
) → Command[source]#

Set the reference oscillator correction and publish it as freq_correction.cmd.

Parameters:
  • ppm (float) – Correction in parts per million.

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

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

  • **kwargs – Tags added to the published value, on top of the instrument’s default tags.

Returns:

Command – The published command.