qick.streamer

Classes

DataStreamer(soc)

Uses a separate thread to read data from the average buffers.

class qick.streamer.DataStreamer(soc)[source]

Bases: object

Uses a separate thread to read data from the average buffers. The class methods define the readout loop and initialization of the worker thread. The QickSoc methods start_readout() and poll_data() are the external interface to the streamer.

We don’t lock the QickSoc or the IPs. The user is responsible for not disrupting a readout in progress.

Parameters:

soc (QickSoc) – The QickSoc object.

WORKERTYPE

alias of Thread

stop_readout()[source]

Signal the readout loop to break.

readout_running()[source]

Test if the readout loop is running.

Returns:

readout thread status

Return type:

bool

data_available()[source]

Test if data is available in the queue.

Returns:

data queue status

Return type:

bool