STFINV library: seek source wavelet correction filter

◆ initialize()

void stfinv::STFEngineNormalize::initialize ( )
private

initialize work space

Definition at line 66 of file stfinvnormalize.cc.

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

Referenced by STFEngineNormalize().

67  {
68  // scale energy
69  std::istringstream is (this->parameter("waterlevel","1.e-3"));
70  is >> Mwaterlevel;
71  STFINV_debug(Mdebug&1, "STFEngineNormalize::initialize()",
72  "Mwaterlevel=" << Mwaterlevel);
74  "ERROR: parameter for option \"waterlevel\" not larger than 0");
75  } // void STFEngineNormalize::initialize()
std::string parameter(const std::string &key, const std::string &defvalue="false") const
return the value of a parameters
Definition: stfinvbase.cc:279
double Mwaterlevel
waterlevel
#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: