start()#

InstroSDR.start(
*,
direction: Direction = Direction.RX,
channels: Sequence[str] = ('0',),
background: bool = False,
n_samples: int = 1024,
publish_spectrum: bool = False,
) → None[source]#

Begin continuous acquisition.

With background=True the daemon runs fetch_iq in a loop, which the blocking fetch paces, so blocks publish without a loop of your own.

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

  • channels (Sequence[str]) – Channels the stream covers.

  • background (bool) – Hand the fetch loop to the background daemon.

  • n_samples (int) – Samples per channel per block, when background is set.

  • publish_spectrum (bool) – Also publish spectrum features for each block, when background is set.