STFINV library: seek source wavelet correction filter

◆ initialize()

void stfinv::STFEngineFDLeastSquares::initialize ( )
private

initialize work space

Definition at line 78 of file stfinvfdleastsquares.cc.

References stfinv::STFBaseEngine::Mdebug, Mwaterlevel, stfinv::STFBaseEngine::parameter(), STFINV_assert, and STFINV_debug.

Referenced by STFEngineFDLeastSquares().

79  {
80  // scale energy
81  std::istringstream is (this->parameter("waterlevel","1.e-3"));
82  is >> Mwaterlevel;
83  STFINV_debug(Mdebug&1, "STFEngineFDLeastSquares::initialize()",
84  "Mwaterlevel=" << Mwaterlevel);
86  "ERROR: parameter for option \"waterlevel\" not larger than 0");
87  } // void STFEngineFDLeastSquares::initialize()
std::string parameter(const std::string &key, const std::string &defvalue="false") const
return the value of a parameters
Definition: stfinvbase.cc:279
#define STFINV_assert(C, M)
Check an assertion and report by throwing an exception.
Definition: error.h:140
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: