STFINV library: seek source wavelet correction filter

◆ initstfinvengine()

void initstfinvengine ( struct CTriples  triples,
struct CWaveform  stf,
char *  parameters 
)

Initialize the engine.

Parameters
triplesThis function expects a struct CTriples containing references to the users workspace for recorded time series as well as synthetic time series. These will be used as input. As a third set a reference to a workspace for synthetic time series convolved with the source correction filter is expected. The latter will be used as output.
stfThe struct CWaveform presents a reference to the users work space for the source correction filter time series. It will be used to present the result of the processing to the user.
parametersParameters to select one of the engines as well as to control the engines are passed in a character sequence. See also How to construct parameter strings

Definition at line 141 of file stfinv.cc.

References initstfinvenginewithpairs(), and CPairs::pairs.

144 {
145  struct CPairs pairs;
146  pairs.n=0;
147  initstfinvenginewithpairs(triples, stf, pairs, parameters);
148 } // void initstfinvengine
struct CWaveformPair * pairs
Pointer to array of waveform pairs. This actually is a C array for elements of type struct CWaveformP...
Definition: stfinv.h:196
Array of waveform pairs.This is used to pass data for a set of synthetic time series, which should be convolved with the new source correction filter on the fly. A collection of time series consists of CPairs::n waveform pairs. For each waveform pair this struct holds a reference to a struct CWaveformPair which itself provides a reference to the users workspace for time series.
Definition: stfinv.h:187
void initstfinvenginewithpairs(struct CTriples triples, struct CWaveform stf, struct CPairs pairs, char *parameters)
Initialize the engine and pass additional time series to be convolved on the fly. ...
Definition: stfinv.cc:71
Here is the call graph for this function: