acoupipe.datasets.spectra_analytic#
Module Contents#
- class acoupipe.datasets.spectra_analytic.PowerSpectraAnalytic#
Bases:
acoular.PowerSpectraImportProvides a dummy class for using pre-calculated CSMs.
This class does not calculate the CSM. Instead, the user can inject one or multiple existing CSMs by setting the
csmattribute. This can be useful when algorithms shall be evaluated with existing CSMs. The frequency or frequencies contained by the CSM must be set via thefrequenciesattribute. The attr:num_channels attributes is determined on the basis of the CSM shape. In contrast to thePowerSpectraobject, the attributessample_freq,source,block_size,window,overlap,cached, andnum_blockshave no functionality.- fftfreq()#
Return the Discrete Fourier Transform sample frequencies.
- Returns:
- fndarray
Array of length block_size/2+1 containing the sample frequencies.