1 #ifndef MULTI1DRECOBJECTIVE_H_
2 #define MULTI1DRECOBJECTIVE_H_
8 #include <boost/shared_ptr.hpp>
16 std::vector<boost::shared_ptr<C1DRecObjective> > Objectives;
28 void AddRecFunction(boost::shared_ptr<const SeismicDataComp> TheRecData,
29 int myshift,
double mysigma,
double myc,
34 boost::shared_ptr<const SeismicDataComp> TheRecData,
36 const double myc,
const double myslowness,
38 const bool normalized,
const double absvelweight,
39 const double recweight);
47 virtual void WriteData(
const std::string &filename);
51 void WritePlot(
const std::string &filename);
trfmethod
There are several ways to calculate receiver functions.
ublas::vector< double > ttranscribed
void SetPoisson(const double ratio)
Set Poisson's ratio to calculate P velocities from S-Velocities.
void AddRecFunction(boost::shared_ptr< const SeismicDataComp > TheRecData, int myshift, double mysigma, double myc, double myslowness, RecCalc::trfmethod method, double errorlevel, bool normalized, ResPkModel::WaveType InWave)
Add another reciever function to fit.
virtual Multi1DRecObjective * clone() const
return a pointer to a copy of the current object
virtual void SafeParallel(const ttranscribed &member)
The operations that safely can be done in parallel.
void AddAbsVelFunction(boost::shared_ptr< const SeismicDataComp > TheRecData, SurfaceWaveData &AbsVel, const int myshift, const double mysigma, const double myc, const double myslowness, const RecCalc::trfmethod method, const double errorlevel, const bool normalized, const double absvelweight, const double recweight)
Add another receiver function with absolute velocity transformation.
This only adds a few plotting functions to GeneralObjective to define a common interface.
void WriteModel(const std::string &filename)
Write the current model to ascii file for calculations.
This class is used to model several receiver functions simultaneously.
virtual void PreParallel(const ttranscribed &member)
The operations that have to be done before the parallel part.
A class to read, write and store fundamental mode surface wave dispersion data.
Multi1DRecObjective & operator=(const Multi1DRecObjective &source)
virtual ~Multi1DRecObjective()
void WritePlot(const std::string &filename)
Write the current model to ascii file for plotting.
virtual void WriteData(const std::string &filename)
Write out all the data, endings will be appended automatically.
virtual double PostParallel(const ttranscribed &member)
The operations that have to be done after the parallel part.
void SetTimeWindow(const double start, const double end)
Set the start and end time in s for the part we want to fit.