_compute_pltArr(self, nFreq, N, nTime, complexConversion, pltDtype, avg1='channel', avg2=None, trial='all', channel='all', freq='all', taper='all')¶
Local helper that extracts/averages data from
nFreq (int) – Number of frequencies of interest
N (int) – Size of free dimension post averaging. Depending on avg1 and avg2 can be either nChan, nTap or 1
nTime (int) – Number of time-points of interest. If object does not contain time-frequency data, nTime has to be 1
complexConversion (callable) – Automatically set by
_prep_spectral_plots()to (potentially) convert complex Fourier coefficients to float.
pltArr – Extracted/averaged data ready for plotting; if the
SpectralDatainput object contains time-frequency data, pltArr is a three-dimensional array of shape
(nFreq, nTime, N), otherwise pltArr is two-dimensional with shape
N > 1, or a one-dimensional
N = 1.
- Return type
1D, 2D or 3D
This is an auxiliary method that is intended purely for internal use. Please refer to the user-exposed methods
multipanelplot()to actually generate plots of Syncopy data objects.