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 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 9 of file AbsVelRecObjective.h.


Constructor & Destructor Documentation

AbsVelRecObjective::AbsVelRecObjective ( const AbsVelRecObjective Old  ) 

Definition at line 21 of file AbsVelRecObjective.cpp.

References absvelweight, and recweight.

Referenced by clone().

AbsVelRecObjective::~AbsVelRecObjective (  )  [virtual]

Definition at line 4 of file AbsVelRecObjective.cpp.

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 9 of file AbsVelRecObjective.cpp.


Member Function Documentation

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

return a pointer to a copy of the current object

Reimplemented from C1DRecObjective.

Definition at line 20 of file AbsVelRecObjective.h.

References AbsVelRecObjective().

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

Definition at line 29 of file AbsVelRecObjective.cpp.

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

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

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

Set the relative weight for the absolute velocity information.

Definition at line 25 of file AbsVelRecObjective.h.

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

Set the relative weight for the pure receiver function.

Definition at line 30 of file AbsVelRecObjective.h.

virtual void 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 C1DRecObjective.

Definition at line 35 of file AbsVelRecObjective.h.

References SurfaceWaveData::WriteAscii().


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

Generated on Tue Aug 4 16:04:16 2009 for GPLIB++ by  doxygen 1.5.8