Waveform filter programs

◆ setseries()

void FourierProcessor::setseries ( const Tconsttimeseries s)

set new input series

Definition at line 179 of file cross.cc.

References Mdebug, Mdt, Minsize, Mpadded, Mseries, and Mspecavail.

Referenced by FourierProcessor(), main(), and operator()().

180 {
181  TFXX_debug(this->Mdebug,
182  "FourierProcessor::setseries(const Tconsttimeseries& s)",
183  TFXX_value(s.size()));
184  Minsize=s.size();
185  if (Minsize>Mseries.size())
186  {
187  Mseries=Tseries(s.size());
188  }
189  Mseries=0.;
190  Mseries.copyin(s);
191  Mdt=s.header.dt;
192  TFXX_debug(this->Mdebug,
193  "FourierProcessor::setseries(const Tconsttimeseries& s)",
194  TFXX_value(s.header.dt));
196  Mspecavail=false;
197 } // void FourierProcessor::setseries(const Tconsttimeseries& s)
Tseries Mpadded
series addressing part of workspace
Definition: cross.cc:133
unsigned int Minsize
size of original input series
Definition: cross.cc:139
bool Mdebug
debug flag
Definition: cross.cc:143
Tfft::Tseries Tseries
type of time series data
Definition: cross.cc:93
double Mdt
sampling interval
Definition: cross.cc:141
Tseries Mseries
workspace for input series must have at least desired size
Definition: cross.cc:131
bool Mspecavail
indicate available Fourier coefficients
Definition: cross.cc:137
Here is the caller graph for this function: