Waveform filter programs

◆ specconv()

FourierProcessor::Tspectrum specconv ( const FourierProcessor::Tspectrum::Tcoc &  sref,
const FourierProcessor::Tspectrum::Tcoc &  ssig 
)

Definition at line 229 of file cross.cc.

Referenced by main().

231 {
232  TFXX_assert(sref.size() == ssig.size(),
233  "inconsistent sets of coefficients");
234  FourierProcessor::Tspectrum result(sref.size());
236  aff::Browser<FourierProcessor::Tspectrum::Tcoc> BR(sref);
237  aff::Browser<FourierProcessor::Tspectrum::Tcoc> BD(ssig);
238  aff::Iterator<FourierProcessor::Tspectrum> IR(result);
239  while (BR.valid() && BD.valid() && IR.valid())
240  {
241  (*IR) = ((*BR) * (*BD));
242  ++IR;
243  ++BR;
244  ++BD;
245  }
246  return(result);
247 } // FourierProcessor::Tspectrum
Tfft::Tspectrum Tspectrum
type of Fourier coefficient data
Definition: cross.cc:95
double Tvalue
Definition: fidasexx.cc:136
Here is the caller graph for this function: