Waveform filter programs

◆ operator()() [1/2]

FourierProcessor::Tspectrum::Tcoc FourierProcessor::operator() ( const unsigned int &  n)

return Fourier coefficients for padded time series with n samples

Definition at line 165 of file cross.cc.

References Mdebug, Minsize, Mspecavail, Mspectrum, and padseries().

166 {
167  TFXX_debug(this->Mdebug,
168  "FourierProcessor::operator()(const unsigned int& n)",
169  TFXX_value(n));
170  TFXX_assert(Minsize>0, "no input time series available");
171  this->padseries(n);
172  TFXX_assert(Mspecavail, "no Fourier coefficents available");
173  return(Mspectrum);
174 } // FourierProcessor::Tspectrum::Tcoc
Tspectrum Mspectrum
resulting Fourier coefficients
Definition: cross.cc:135
unsigned int Minsize
size of original input series
Definition: cross.cc:139
bool Mdebug
debug flag
Definition: cross.cc:143
void padseries(const unsigned int &n)
pad input series and calculate Fourier coefficients
Definition: cross.cc:203
bool Mspecavail
indicate available Fourier coefficients
Definition: cross.cc:137
Here is the call graph for this function: