libgs.hardware.GR_XMLRPCRadio.get_spectrum

GR_XMLRPCRadio.get_spectrum(old=True)[source]

Return the latest spectrum from the radio as well as an associated frequency vecgor

>>> fvec, famp = get_spectrum()
Parameters:old (bool) – If False, only return a spectrum if it has changed.
Returns:Frequency vector famp (list(float)) : Associated amplitudes (in dBm)
Return type:fvec (list(float))