version  0.0.1
Defines the C++ API for MsPASS
LeastSquareDecon.h
1 #ifndef __SIMPLE_LEAST_SQUARE_DECON_H__
2 #define __SIMPLE_LEAST_SQUARE_DECON_H__
3 #include <vector>
4 #include "mspass/utility/Metadata.h"
5 #include "mspass/algorithms/deconvolution/ScalarDecon.h"
6 #include "mspass/algorithms/deconvolution/FFTDeconOperator.h"
7 #include "mspass/algorithms/deconvolution/ShapingWavelet.h"
8 #include "mspass/seismic/CoreTimeSeries.h"
9 namespace mspass::algorithms::deconvolution{
11 {
12 public:
13  LeastSquareDecon(const LeastSquareDecon &parent);
15  LeastSquareDecon(const mspass::utility::Metadata &md,const std::vector<double> &wavelet,
16  const std::vector<double> &data);
17  void changeparameter(const mspass::utility::Metadata &md);
18  void process();
51  mspass::seismic::CoreTimeSeries inverse_wavelet(const double t0parent=0.0);
63 private:
64  int read_metadata(const mspass::utility::Metadata &md);
65  int apply();
66  double damp;
67 };
68 }
69 #endif
Object to hold components needed in all fft based decon algorithms.
Definition: FFTDeconOperator.h:19
mspass::seismic::CoreTimeSeries inverse_wavelet()
Return default FIR represesentation of the inverse filter.
Definition: LeastSquareDecon.cc:185
mspass::utility::Metadata QCMetrics()
Return appropriate quality measures.
Definition: LeastSquareDecon.cc:191
mspass::seismic::CoreTimeSeries actual_output()
Return the actual output of the deconvolution operator.
Definition: LeastSquareDecon.cc:129
Base class decon operator for single station 3C decon (receiver functions).
Definition: ScalarDecon.h:24
Scalar time series data object.
Definition: CoreTimeSeries.h:18
Definition: Metadata.h:76