STFINV library: seek source wavelet correction filter
|
Abstract base class for engines to derive source correction filter. More...
#include <stfinvbase.h>
Public Member Functions | |
virtual | ~STFBaseEngine () |
abstract base requires virtual destructor More... | |
Shape query functions | |
unsigned int | nsamples () const |
return number of samples used in time series More... | |
unsigned int | nreceivers () const |
return number of receiver signals in use More... | |
unsigned int | npairs () const |
return number of additional signals to be convolved More... | |
double | dt () const |
return sampling interval More... | |
Data query functions | |
Tseries | stf () const |
return source correction filter series More... | |
Tseries::Tcoc | recording (const unsigned int &i) const |
return recorded data at receiver i More... | |
Tseries::Tcoc | synthetic (const unsigned int &i) const |
return synthetic data at receiver i More... | |
Tseries | convolvedsynthetic (const unsigned int &i) const |
return synthetic data convolved with stf at receiver i More... | |
Tseries::Tcoc | series (const unsigned int &i) const |
return synthetic data of pair i More... | |
Tseries | convolvedseries (const unsigned int &i) const |
return synthetic data convolved with stf for pair i More... | |
Protected Member Functions | |
STFBaseEngine (const stfinv::Tvectoroftriples &triples, const stfinv::Waveform &stf, const std::string ¶meters) | |
Constructor. More... | |
STFBaseEngine (const stfinv::Tvectoroftriples &triples, const stfinv::Waveform &stf, const stfinv::Tvectorofpairs &pairs, const std::string ¶meters) | |
Constructor. This constructor additionally takes a vector of time series pairs. In this vector references to synthetic time series data can be passed, which are not used in the process of determining the optimal source correction filter but which are convolved with the new source correction filter on the fly. More... | |
Functions presented to derived classes | |
std::string | parameter (const std::string &key, const std::string &defvalue="false") const |
return the value of a parameters More... | |
bool | parameterisset (const std::string &key) const |
check is parameter was set by user More... | |
void | checkreceiverindex (const unsigned int &i) const |
check for vaid receiver index More... | |
void | checkseriesindex (const unsigned int &i) const |
check for vaid index off additional time series pair More... | |
virtual void | exec () |
Virtual function to run engine. More... | |
double | weight (const unsigned int &i) const |
return weight for signal at receiver i More... | |
aff::Series< double > | weights () const |
return weights array More... | |
Protected Attributes | |
int | Mdebug |
debug level More... | |
stfinv::Tvectorofpairs | Mpairs |
Waveform pairs. More... | |
stfinv::Waveform | Mstf |
source correction filter. More... | |
stfinv::Tvectoroftriples | Mtriples |
Waveform triples. More... | |
int | Mverbose |
verbose level More... | |
Private Member Functions | |
Functions implementing base class operation | |
void | initialize (const std::string ¶meters) |
initialize base class More... | |
void | parseparameters (std::string parameters) |
parse parameters and store them in Mparamap More... | |
void | checkconsistency () const |
Check consistency of data members. More... | |
void | setweights (const double &k) |
Set weights according to exponent. More... | |
Private Attributes | |
stfinv::tools::Tparamap | Mparamap |
Parameter map. More... | |
aff::Series< double > | Mweights |
Weights. More... | |
Basic interface for users | |
stfinv::Waveform | run () |
Start engine and return reference to source correction filter. More... | |
virtual void | help (std::ostream &os=std::cout) const |
print online help More... | |
virtual void | usage (std::ostream &os=std::cout) const |
print detailed description More... | |
virtual const char * | name () const |
return name of engine More... | |
static void | classhelp (std::ostream &os=std::cout) |
print online help More... | |
static void | classusage (std::ostream &os=std::cout) |
print detailed description More... | |
Abstract base class for engines to derive source correction filter.
Definition at line 208 of file stfinvbase.h.