GPLIB++
MultiRecCalc.h
Go to the documentation of this file.
1 #ifndef MULTIRECCALC_H_
2 #define MULTIRECCALC_H_
3 #include "SeismicDataComp.h"
4 #include "SeismicStationList.h"
5 
6 namespace gplib
7  {
8  /** \addtogroup seistools Seismic data analysis and modeling */
9  /* @{ */
10 
11  //! This class implements the multi-site receiver function calculation in the frequency domain as suggested by Gurrolla 1995
13  {
14  private:
15  //! The waterlevel to fill in spectral holes
16  double c;
17  //! The width of the gaussian filter to smooth the receiver functions
18  double sigma;
19  //! Shift the data to move the initial correlation peak
20  int shift;
21  //! Calculate the receiver function by spectral division
22  public:
23  //! Calculate Receiver functions from a vector of data components, both vectors have to have the same number of elements
24  //! and the seismograms have to have the same length
27  SeismicDataComp &Receiver);
28  MultiRecCalc(const int myshift, const double mysigma, const double myc);
29  virtual ~MultiRecCalc();
30  };
31  /* @} */
32  }
33 #endif /*MULTIRECCALC_H_*/
std::vector< boost::shared_ptr< SeismicDataComp > > tseiscompvector
This class implements the multi-site receiver function calculation in the frequency domain as suggest...
Definition: MultiRecCalc.h:12
MultiRecCalc(const int myshift, const double mysigma, const double myc)
void CalcRecData(const SeismicStationList::tseiscompvector &RadComp, const SeismicStationList::tseiscompvector &VerComp, SeismicDataComp &Receiver)
Calculate the receiver function by spectral division.