measure_iq()#
- InstroSDR.measure_iq( ) Measurement | None[source]#
Acquire one time-aligned IQ block and publish it as paired
.iand.qchannels.While a receive stream runs, the block is taken from that stream rather than the device, so it stays contiguous with the surrounding fetches and also publishes
backlogandoverflow.- Parameters:
- Returns:
Measurement | None – The published block, or
Noneif the read returned no samples.- Raises:
ValueError – If
n_samplesis not positive.