STFINV library: seek source wavelet correction filter

◆ getinput()

void stfinv::STFFourierDomainEngine::getinput ( )
private

copy input time series for recorded data and synthetics to workspace

Definition at line 419 of file stfinvfourier.cc.

References Mfftengineinput, stfinv::STFBaseEngine::npairs(), stfinv::STFBaseEngine::nreceivers(), stfinv::STFBaseEngine::recording(), stfinv::STFBaseEngine::series(), and stfinv::STFBaseEngine::synthetic().

Referenced by fftinput().

420  {
421  // clear workspace through reference
422  // (remark: return value sarray is a reference to an array addressing all
423  // samples of all time series contained in Mfftengineinput)
424  TAseries sarray=Mfftengineinput.series();
425  sarray=0.;
426 
427  // cycle through receivers
428  for (unsigned int i=0; i<this->nreceivers(); ++i)
429  {
430  // get references to time series in workspace
431  TAseries recordingref=Mfftengineinput.series(i);
432  TAseries syntheticref=Mfftengineinput.series(i+this->nreceivers());
433  // copyin function copies as many elements as possible
434  recordingref.copyin(this->recording(i));
435  syntheticref.copyin(this->synthetic(i));
436  } // for (unsigned int i=0; i<this->nreceivers(); ++i)
437 
438  // cycle through additional time series pairs
439  for (unsigned int i=0; i<this->npairs(); ++i)
440  {
441  // get references to time series in workspace
442  TAseries syntheticref=Mfftengineinput.series(i+2*this->nreceivers());
443  // copyin function copies as many elements as possible
444  syntheticref.copyin(this->series(i));
445  } // for (unsigned int i=0; i<this->npairs(); ++i)
446  } // void STFFourierDomainEngine::getinput()
unsigned int npairs() const
return number of additional signals to be convolved
Definition: stfinvbase.h:262
Tfftengine::TAseries TAseries
type of array for time series values
unsigned int nreceivers() const
return number of receiver signals in use
Definition: stfinvbase.h:259
Tseries::Tcoc recording(const unsigned int &i) const
return recorded data at receiver i
Definition: stfinvbase.cc:303
Tseries::Tcoc series(const unsigned int &i) const
return synthetic data of pair i
Definition: stfinvbase.cc:327
Tseries::Tcoc synthetic(const unsigned int &i) const
return synthetic data at receiver i
Definition: stfinvbase.cc:311
Tfftengine Mfftengineinput
combined FFT engine for recorded data and synthetics and additional time series
Here is the call graph for this function:
Here is the caller graph for this function: