1#ifndef __SIMPLE_DECON_H__
2#define __SIMPLE_DECON_H__
4#include "mspass/algorithms/deconvolution/BasicDeconOperator.h"
5#include "mspass/algorithms/deconvolution/ShapingWavelet.h"
6#include "mspass/seismic/CoreTimeSeries.h"
7#include "mspass/utility/Metadata.h"
10#include <boost/archive/text_iarchive.hpp>
11#include <boost/archive/text_oarchive.hpp>
12#include <boost/serialization/vector.hpp>
14namespace mspass::algorithms::deconvolution {
33 ScalarDecon(
const std::vector<double> &d,
const std::vector<double> &w);
45 int load(
const std::vector<double> &wavelet,
const std::vector<double> &data);
47 int loaddata(
const std::vector<double> &data);
49 int loadwavelet(
const std::vector<double> &wavelet);
50 virtual void process() = 0;
53 std::vector<double> getresult() {
return result; };
96 std::vector<double> data;
97 std::vector<double> wavelet;
98 std::vector<double> result;
102 friend boost::serialization::access;
103 template <
class Archive>
104 void serialize(Archive &ar,
const unsigned int version) {
Definition BasicDeconOperator.h:6
Base class decon operator for single station 3C decon (receiver functions).
Definition ScalarDecon.h:29
ShapingWavelet get_shaping_wavelet() const
Definition ScalarDecon.h:65
virtual mspass::seismic::CoreTimeSeries inverse_wavelet()=0
Return a FIR represention of the inverse filter.
virtual mspass::seismic::CoreTimeSeries actual_output()=0
Return the actual output of the deconvolution operator.
int load(const std::vector< double > &wavelet, const std::vector< double > &data)
Load all data required for decon.
Definition ScalarDecon.cc:33
void change_shaping_wavelet(const ShapingWavelet &nsw)
Definition ScalarDecon.cc:56
int loadwavelet(const std::vector< double > &wavelet)
Definition ScalarDecon.cc:48
int loaddata(const std::vector< double > &data)
Definition ScalarDecon.cc:43
virtual mspass::utility::Metadata QCMetrics()=0
Return appropriate quality measures.
Frequency domain shaping wavelet.
Definition ShapingWavelet.h:21
mspass::seismic::CoreTimeSeries impulse_response()
Definition ShapingWavelet.cc:265
Scalar time series data object.
Definition CoreTimeSeries.h:17