125 const d overlap_percentage = 50.,
126 const d fs_tau = -1);
Estimate cross-power spectra using Welch' method of spectral estimation. The exact amount of overlap ...
ccube get_est() const
Returns the latest estimate of cps (cross-power spectra.
AvPowerSpectra(const AvPowerSpectra &)=delete
ccube compute(const dmat &timedata)
Compute an update of the power spectra based on given time data. Note that the number of channels is ...
us exactOverlapSamples() const
The overlap is rounded to a certain amount of time samples. This function returns that value.
void reset()
Reset to empty state. Clears the time buffer and sets estimator to empty.
AvPowerSpectra & operator=(const AvPowerSpectra &)=delete
Perform forward FFT's on real time data. Computes single-sided spectra, equivalent to Numpy's rfft an...
Computes single-sided cross-power spectra for a group of channels. Only a single block of length fft,...
ccube compute(const dmat &input)
Computes the spectra. Data is normalized by the (spectral) power of the window, to compensate for the...
Implementation of a buffer of time samples, where.
size_t us
We often use boolean values.