Start engine.
117 double waterlevel=0.;
118 for (
unsigned int i=0; i<this->
nreceivers(); ++i)
126 "waterlevel=" << waterlevel);
129 "nfreq=" << this->
nfreq());
131 for (
unsigned int i=0; i<this->
nfreq(); ++i)
138 "syntheticref.first(0)=" << syntheticref.first(0) <<
" " <<
139 "syntheticref.last(0)=" << syntheticref.last(0) <<
" " 140 "syntheticref.first(1)=" << syntheticref.first(1) <<
" " <<
141 "syntheticref.last(1)=" << syntheticref.last(1) <<
" ");
143 denominator=waterlevel;
145 for (
unsigned int j=0; j<this->
nreceivers(); ++j)
148 *conj(syntheticref(j))*recordingref(j);
150 *conj(syntheticref(j))*syntheticref(j);
152 this->
stfcoeff(i)=numerator/denominator;
unsigned int nreceivers() const
return number of receiver signals in use
float Tvalue
Value type of samples.All references to time series samples in user workspace are based on this type...
double weight(const unsigned int &i) const
return weight for signal at receiver i
void fftinput()
copy input signals to workspace and transform input workspace to Fourier domain
Tfftengine::TAspectrum TAspectrum
type of array for Fourier transforms
TAspectrum recordingcoeff(const unsigned int &i) const
return reference to Fourier coeffients of recorded data for frequency i
TAspectrum::Tvalue & stfcoeff(const unsigned int &i) const
return reference to Fourier coefficients of stf for frequency i
Tseries::Tcoc synthetic(const unsigned int &i) const
return synthetic data at receiver i
double Mwaterlevel
waterlevel
unsigned int nfreq() const
return number of frequencies in use
TAspectrum syntheticcoeff(const unsigned int &i) const
return reference to Fourier coefficients of synthetics for frequency i
void fftoutput()
convolve synthetics with Fourier transform of stf and transform convolved synthetics and stf to time ...
#define STFINV_debug(C, N, M)
produce debug output