GPLIB++
Public Member Functions | List of all members
gplib::RFVelCalc Class Reference

This class implements the method to calculate absolute S-Wave velocities from Receiver function data as described by Sevnningsen and Jacobsen, GJI 2007. More...

#include <RFVelCalc.h>

Public Member Functions

const ttsdata & GetVelocities ()
 return the vector of apparent velocities More...
 
void CalcRFVel (const double slowness, const SeismicDataComp &RadComp, const SeismicDataComp &VerComp, ttsdata &AppVel)
 Calculate absolute velocities from the radial and vertical components of the seismogram. More...
 
void CalcRFVelFromRec (const double slowness, const SeismicDataComp &RRec, const SeismicDataComp &VerComp, ttsdata &AppVel)
 Calculate absolute velocities from the radial receiver function and the vertical component of the seismogram. More...
 
void WriteVelocities (const std::string filename)
 Write the velocity estiamtes and corresponding periods into an ascii file. More...
 
 RFVelCalc (const double mysigma, const double myc, const RecCalc::trfmethod themethod=RecCalc::specdiv)
 The constructor takes three parameters for the receiver function estimation. More...
 
RFVelCalcoperator= (const RFVelCalc &source)
 
 RFVelCalc (const RFVelCalc &Old)
 
virtual ~RFVelCalc ()
 

Detailed Description

This class implements the method to calculate absolute S-Wave velocities from Receiver function data as described by Sevnningsen and Jacobsen, GJI 2007.

Definition at line 13 of file RFVelCalc.h.

Constructor & Destructor Documentation

gplib::RFVelCalc::RFVelCalc ( const double  mysigma,
const double  myc,
const RecCalc::trfmethod  themethod = RecCalc::specdiv 
)

The constructor takes three parameters for the receiver function estimation.

The constructor takes three parameters for the receiver function estimation

Parameters
mysigmaThe width of the gaussian filter used in calculating the receiver function
mycThe waterlevel, only relevant if spectral division is used for RF calculation
themethodDo we want to calculate the RF with spectral division of iterative deconvolution
Returns

Definition at line 11 of file RFVelCalc.cpp.

References gplib::RecCalc::SetNormalize().

gplib::RFVelCalc::RFVelCalc ( const RFVelCalc Old)

Definition at line 27 of file RFVelCalc.cpp.

gplib::RFVelCalc::~RFVelCalc ( )
virtual

Definition at line 23 of file RFVelCalc.cpp.

Member Function Documentation

void gplib::RFVelCalc::CalcRFVel ( const double  slowness,
const SeismicDataComp RadComp,
const SeismicDataComp VerComp,
ttsdata &  AppVel 
)

Calculate absolute velocities from the radial and vertical components of the seismogram.

Definition at line 97 of file RFVelCalc.cpp.

References gplib::RecCalc::CalcRecData().

Referenced by main(), and gplib::AbsVelRecObjective::PostParallel().

void gplib::RFVelCalc::CalcRFVelFromRec ( const double  slowness,
const SeismicDataComp RRec,
const SeismicDataComp VerComp,
ttsdata &  AppVel 
)

Calculate absolute velocities from the radial receiver function and the vertical component of the seismogram.

Definition at line 88 of file RFVelCalc.cpp.

References gplib::RecCalc::CalcRecData().

const ttsdata& gplib::RFVelCalc::GetVelocities ( )
inline

return the vector of apparent velocities

Definition at line 24 of file RFVelCalc.h.

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

Definition at line 34 of file RFVelCalc.cpp.

void gplib::RFVelCalc::WriteVelocities ( const std::string  filename)

Write the velocity estiamtes and corresponding periods into an ascii file.

Definition at line 107 of file RFVelCalc.cpp.


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