RFVelCalc.h

Go to the documentation of this file.
00001 #ifndef RFVELCALC_H_
00002 #define RFVELCALC_H_
00003 #include "RecCalc.h"
00004 #include "SeismicDataComp.h"
00005 #include <string>
00006 
00007 /** \addtogroup seistools Seismic data analysis and modeling */
00008 /* @{ */
00009 
00010 //! This class implements the method to calculate absolute S-Wave velocities from Receiver function data
00011 // as described by Sevnningsen and Jacobsen, GJI 2007
00012 class RFVelCalc
00013 {
00014 private:
00015         RecCalc RFCalculator;
00016         ttsdata Velocities;
00017         ttsdata Periods;
00018         //! The core estimation routine, take radial and vertical receiver functions
00019         void AbsVelCalc(const double slowness,const SeismicDataComp &RadRec, const SeismicDataComp &VerRec,ttsdata &AppVel);
00020 public:
00021         const ttsdata &GetVelocities(){return Velocities;}
00022         //! Calculate absolute velocities from the radial and vertical components of the seismogram
00023         void CalcRFVel(const double slowness, const SeismicDataComp &RadComp, const SeismicDataComp &VerComp,ttsdata &AppVel);
00024         //!Calculate absolute velocities from the radial receiver function and the vertical component of the seismogram
00025         void CalcRFVelFromRec(const double slowness, const SeismicDataComp &RRec, const SeismicDataComp &VerComp,ttsdata &AppVel);
00026         //! Write the velocity estiamtes and corresponding periods into an ascii file
00027         void WriteVelocities(const std::string filename);
00028         RFVelCalc(const double myomega, const double mysigma,const double myc, const RecCalc::trfmethod themethod = RecCalc::specdiv);
00029         RFVelCalc& operator=(const RFVelCalc& source);
00030         RFVelCalc(const RFVelCalc &Old);
00031         virtual ~RFVelCalc();
00032 };
00033 /* @} */
00034 #endif /*RFVELCALC_H_*/

Generated on Fri Jul 4 15:30:21 2008 for GPLIB++ by  doxygen 1.5.5