gplib::AbsVelRecObjective Class Reference

This objective function calculates the weighted misfit for a receiver function and the corresponding absolute velocity transformation. More...

#include <AbsVelRecObjective.h>

Inheritance diagram for gplib::AbsVelRecObjective:

Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual AbsVelRecObjectiveclone () const
 return a pointer to a copy of the current object
void SetAbsVelWeight (const double w)
 Set the relative weight for the absolute velocity information.
void SetRecWeight (const double w)
 Set the relative weight for the pure receiver function.
virtual void WriteData (const std::string &filename)
 Write out the receiver function and absolute velocity data, the absolute velocity data gets .vel appended.
virtual double PostParallel (const ttranscribed &member)
 We also clean up files serially.
AbsVelRecObjectiveoperator= (const AbsVelRecObjective &source)
 AbsVelRecObjective (const AbsVelRecObjective &Old)
virtual ~AbsVelRecObjective ()
 AbsVelRecObjective (boost::shared_ptr< const SeismicDataComp > TheRecData, SurfaceWaveData &AbsVel, const int myshift, const double mysigma, const double myc, const double myslowness, const RecCalc::trfmethod method=RecCalc::specdiv, const bool normalized=true)
 This constructor is used for calculating absolute velocity information.


Detailed Description

This objective function calculates the weighted misfit for a receiver function and the corresponding absolute velocity transformation.

Definition at line 11 of file AbsVelRecObjective.h.


Constructor & Destructor Documentation

gplib::AbsVelRecObjective::AbsVelRecObjective ( const AbsVelRecObjective Old  ) 

Definition at line 23 of file AbsVelRecObjective.cpp.

References absvelweight, and recweight.

Referenced by clone().

gplib::AbsVelRecObjective::~AbsVelRecObjective (  )  [virtual]

Definition at line 6 of file AbsVelRecObjective.cpp.

gplib::AbsVelRecObjective::AbsVelRecObjective ( boost::shared_ptr< const SeismicDataComp TheRecData,
SurfaceWaveData AbsVel,
const int  myshift,
const double  mysigma,
const double  myc,
const double  myslowness,
const RecCalc::trfmethod  method = RecCalc::specdiv,
const bool  normalized = true 
)

This constructor is used for calculating absolute velocity information.

Parameters:
TheRecData Object containing the measured receiver function as from call RFVelCalc
AbsVel Object containing the measured absolute velocity information
myshift the shift used for calculating the measured receiver function
mysigma sigma used for calculating the measured receiver function
myc water level used for calculating the measured receiver function
myslowness slowness used for calculating the measured receiver function
normalized Is the measured data normalized to an initial correlation peak of 1

Definition at line 11 of file AbsVelRecObjective.cpp.


Member Function Documentation

virtual AbsVelRecObjective* gplib::AbsVelRecObjective::clone (  )  const [inline, virtual]

return a pointer to a copy of the current object

Reimplemented from gplib::C1DRecObjective.

Definition at line 22 of file AbsVelRecObjective.h.

References AbsVelRecObjective().

AbsVelRecObjective & gplib::AbsVelRecObjective::operator= ( const AbsVelRecObjective source  ) 

Definition at line 31 of file AbsVelRecObjective.cpp.

References absvelweight, CalcAbsVel, MeasuredAbsVel, recweight, and SynthAbsVel.

double gplib::AbsVelRecObjective::PostParallel ( const ttranscribed member  )  [virtual]

void gplib::AbsVelRecObjective::SetAbsVelWeight ( const double  w  )  [inline]

Set the relative weight for the absolute velocity information.

Definition at line 27 of file AbsVelRecObjective.h.

void gplib::AbsVelRecObjective::SetRecWeight ( const double  w  )  [inline]

Set the relative weight for the pure receiver function.

Definition at line 32 of file AbsVelRecObjective.h.

virtual void gplib::AbsVelRecObjective::WriteData ( const std::string &  filename  )  [inline, virtual]

Write out the receiver function and absolute velocity data, the absolute velocity data gets .vel appended.

Reimplemented from gplib::C1DRecObjective.

Definition at line 37 of file AbsVelRecObjective.h.

References gplib::SurfaceWaveData::WriteAscii().


The documentation for this class was generated from the following files:

Generated on Tue Nov 3 13:24:21 2009 for GPLIB++ by  doxygen 1.5.8