1#ifndef __SIMPLE_MULTITAPER_DECON_H__
2#define __SIMPLE_MULTITAPER_DECON_H__
3#include "mspass/algorithms/deconvolution/FFTDeconOperator.h"
4#include "mspass/algorithms/deconvolution/ScalarDecon.h"
5#include "mspass/algorithms/deconvolution/ShapingWavelet.h"
6#include "mspass/seismic/CoreTimeSeries.h"
7#include "mspass/utility/Metadata.h"
8#include "mspass/utility/dmatrix.h"
9#include <boost/archive/text_iarchive.hpp>
10#include <boost/archive/text_oarchive.hpp>
11#include <boost/serialization/base_object.hpp>
12#include <boost/serialization/vector.hpp>
14namespace mspass::algorithms::deconvolution {
20 const std::vector<double> &noise,
21 const std::vector<double> &wavelet,
22 const std::vector<double> &data);
27 this->read_metadata(md,
true);
36 int loadnoise(
const std::vector<double> &noise);
45 int load(
const std::vector<double> &w,
const std::vector<double> &d,
46 const std::vector<double> &n);
92 int get_taperlen() {
return taperlen; };
93 int get_number_tapers() {
return nseq; };
94 double get_time_bandwidth_product() {
return nw; };
98 std::vector<double> noise;
101 unsigned int taperlen;
111 std::vector<ComplexArray> taper_data(
const std::vector<double> &signal);
113 friend boost::serialization::access;
114 template <
class Archive>
115 void serialize(Archive &ar,
const unsigned int version) {
116 ar &boost::serialization::base_object<ScalarDecon>(*
this);
117 ar &boost::serialization::base_object<FFTDeconOperator>(*
this);
Object to hold components needed in all fft based decon algorithms.
Definition FFTDeconOperator.h:20
Definition MultiTaperXcorDecon.h:15
int load(const std::vector< double > &w, const std::vector< double > &d, const std::vector< double > &n)
load all data components.
Definition MultiTaperXcorDecon.cc:145
mspass::seismic::CoreTimeSeries inverse_wavelet()
Return default FIR represesentation of the inverse filter.
Definition MultiTaperXcorDecon.cc:379
MultiTaperXcorDecon()
Definition MultiTaperXcorDecon.h:18
mspass::seismic::CoreTimeSeries actual_output()
Definition MultiTaperXcorDecon.cc:334
int loadnoise(const std::vector< double > &noise)
Load a section of preevent noise.
Definition MultiTaperXcorDecon.cc:125
mspass::utility::Metadata QCMetrics()
Return appropriate quality measures.
Definition MultiTaperXcorDecon.cc:387
Base class decon operator for single station 3C decon (receiver functions).
Definition ScalarDecon.h:29
Scalar time series data object.
Definition CoreTimeSeries.h:17
Lightweight, simple matrix object.
Definition dmatrix.h:104