38 #define STFINV_STFINVANY_CC_VERSION \ 39 "STFINV_STFINVANY_CC V1.3" 58 const std::string& parameters)
62 this->
initialize(triples, stf, pairs, parameters);
70 const std::string& parameters)
72 this->
initialize(triples, stf, pairs, parameters);
80 const std::string& parameters)
82 std::string para=parameters;
97 || (
id == std::string(
"fbd")))
100 "The ID \"fbd\" for this engine is deprecated",
101 "The correct ID of the Fourier domain least " 102 "squares engine is \"" <<
105 "The former ID \"fbd\" may vanish in the future " 106 "and should no longer be used.");
119 std::cerr <<
"ERROR: engine ID " <<
id <<
" is unkown!" << std::endl;
120 STFINV_abort(
"aborting since engine ID is not recognized");
136 os <<
"Available procedures:" << std::endl;
137 os <<
"---------------------" << std::endl;
138 tools::report_engine<STFEngineIdentity>(os);
140 tools::report_engine<STFEngineFDLeastSquares>(os);
178 std::cerr <<
"ERROR: engine ID " <<
id <<
" is unkown!" << std::endl;
179 STFINV_abort(
"aborting since engine ID is not recognized");
197 void usage(
const std::string&
id, std::ostream& os)
static const char *const ID
ID used to select thsi engine.
std::vector< stfinv::WaveformPair > Tvectorofpairs
Vector of pairs.
void initialize(const stfinv::Tvectoroftriples &triples, const stfinv::Waveform &stf, const stfinv::Tvectorofpairs &pairs, const std::string ¶meters)
initialize engine.
static void classhelp(std::ostream &os=std::cout)
print online help
static void classhelp(std::ostream &os=std::cout)
print online help
always return a fixed stf as read from file (prototypes)
Root namespace of library.
char stfinvany_summary_usage[]
static void engines(std::ostream &os=std::cout)
List procedures (engines) currently recognized.
static void classusage(std::ostream &os=std::cout)
print detailed description
handle a parameter configuration string (prototypes)
#define STFINV_report_assert(C, M, V)
Check an assertion and report only.
STFEngine(const stfinv::Tvectoroftriples &triples, const stfinv::Waveform &stf, const std::string ¶meters)
Constructor.
Engine to apply a scalar factor.
handle error conditions in libstfinv (prototypes)
char stfinvany_description_usage[]
Fourier domain least squares engine.
#define STFINV_assert(C, M)
Check an assertion and report by throwing an exception.
least squares in the frequency domain (prototypes)
static void usage(const std::string &id, std::ostream &os=std::cout)
Print detailed usage description.
static const char *const ID
ID used to select this engine.
just find a scaling factor (prototypes)
void engines(std::ostream &os)
#define STFINV_abort(M)
Abort and give a message.
static void help(std::ostream &os=std::cout)
List engines currently recognized and print summary.
void help(std::ostream &os)
static void classusage(std::ostream &os=std::cout)
print detailed description
~STFEngine()
Destructor must remove engine.
char stfinv_description_usage[]
std::vector< stfinv::WaveformTriple > Tvectoroftriples
Vector of triples.
static void classhelp(std::ostream &os=std::cout)
print online help
char stfinv_summary_usage[]
a wrapper to any STF engine in the library (prototypes)
stfinv::STFBaseEngine * Mengine
Pointer to actual engine.
static void classhelp(std::ostream &os=std::cout)
print online help
void usage(const std::string &id, std::ostream &os)