STFINV library: seek source wavelet correction filter

◆ syntheticcoeff()

STFFourierDomainEngine::TAspectrum stfinv::STFFourierDomainEngine::syntheticcoeff ( const unsigned int &  i) const
protected

return reference to Fourier coefficients of synthetics for frequency i

Definition at line 378 of file stfinvfourier.cc.

References stfinv::STFBaseEngine::Mdebug, STFINV_debug, and syntheticspec().

Referenced by stfinv::STFEngineNormalize::exec(), and stfinv::STFEngineFDLeastSquares::exec().

379  {
380  STFINV_debug(Mdebug&8, "STFFourierDomainEngine::syntheticcoeff",
381  "i=" << i);
383  STFFourierDomainEngine::TAspectrum slice=aff::slice(syn)(0,i);
384  slice.shape().setfirst(0,0);
385  slice.shape().setfirst(1,0);
386  STFINV_debug(Mdebug&8, "STFFourierDomainEngine::syntheticcoeff",
387  "slice.first(0)=" << slice.first(0) << " " <<
388  "slice.last(0)=" << slice.last(0) << " "
389  "slice.first(1)=" << slice.first(1) << " " <<
390  "slice.last(1)=" << slice.last(1) << " ");
391  return(slice);
392  } // STFFourierDomainEngine::syntheticcoeff(const unsigned int& i) const
Tfftengine::TAspectrum TAspectrum
type of array for Fourier transforms
TAspectrum syntheticspec() const
return reference to Fourier transform of synthetics
int Mdebug
debug level
Definition: stfinvbase.h:336
#define STFINV_debug(C, N, M)
produce debug output
Definition: debug.h:49
Here is the call graph for this function:
Here is the caller graph for this function: