Computing Spectra

lsl.correlator.fx.SpecMaster(signals, LFFT=64, window=<function noWindow at 0x2b5fefa475f0>, pfb=False, verbose=False, SampleRate=None, CentralFreq=0.0, ClipLevel=0)

A more advanced version of calcSpectra that uses the _spec C extension to handle all of the P.S.D. calculations in parallel. Returns a two- element tuple of the frequencies (in Hz) and PSDs in linear power/RBW.

Note

SpecMaster currently average all data given and does not support the SampleAverage keyword that calcSpectra does.

Changed in version 1.2.5: Added the ‘pfb’ keyword.

lsl.correlator.fx.StokesMaster(signals, antennas, LFFT=64, window=<function noWindow at 0x2b5fefa475f0>, pfb=False, verbose=False, SampleRate=None, CentralFreq=0.0, ClipLevel=0)

Similar to SpecMaster, but accepts an array of signals and a list of antennas in order to compute the PSDs for the four Stokes parameters: I, Q, U, and V. Returns a two-element tuple of the frequencies (in Hz) and PSDs in linear power/RBW. The PSD are three dimensional with dimensions Stokes parameter (0=I, 1=Q, 2=U, 3=V) by stand by channel).

Changed in version 1.2.5: Added the ‘pfb’ keyword.

Previous topic

Data Writers

Next topic

Correlation

This Page