version  0.0.1
Defines the C++ API for MsPASS
WaterLevelDecon.h
1 #ifndef __SIMPLE_WATER_LEVEL_DECON_H__
2 #define __SIMPLE_WATER_LEVEL_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  WaterLevelDecon(const WaterLevelDecon &parent);
15  WaterLevelDecon(const mspass::utility::Metadata &md,const std::vector<double> &wavelet,const std::vector<double> &data);
16  void changeparameter(const mspass::utility::Metadata &md);
17  void process();
52  mspass::seismic::CoreTimeSeries inverse_wavelet(const double t0parent=0.0);
64 private:
65  int read_metadata(const mspass::utility::Metadata &md);
66  int apply();
67  double wlv;
68  /* QC metrics. */
69  /* This is the fraction of frequencies below the water level */
70  double regularization_fraction;
71 };
72 }
73 #endif
Object to hold components needed in all fft based decon algorithms.
Definition: FFTDeconOperator.h:19
Base class decon operator for single station 3C decon (receiver functions).
Definition: ScalarDecon.h:24
mspass::seismic::CoreTimeSeries inverse_wavelet()
Return default FIR represesentation of the inverse filter.
Definition: WaterLevelDecon.cc:192
mspass::utility::Metadata QCMetrics()
Return appropriate quality measures.
Definition: WaterLevelDecon.cc:198
mspass::seismic::CoreTimeSeries actual_output()
Return the actual output of the deconvolution operator.
Definition: WaterLevelDecon.cc:137
Scalar time series data object.
Definition: CoreTimeSeries.h:18
Definition: Metadata.h:76