libgs.hardware.RadioBase.record_spectrum

RadioBase.record_spectrum(dt=1, N=100, fdec=1, add_zeroes=False)[source]

Record N spectra then return them. This method returns a future.

To get the result call the future.result(). To stop it call future.abort() #<— note non-standard future call

Parameters:= rate at which to record the spectra (dt) –