7 #include <wave_field.hpp>
8 #include <base_separator.hpp>
10 #include <s2proc/wave_field.hpp>
11 #include <s2proc/base_separator.hpp>
20 typedef std::vector<Trace::AmplT>
DVector;
28 template <
template<
class>
class Functor>
82 template <
typename FFT_T>
93 template <
typename FFT_T>
101 template <
typename FFT_T>
102 bool SpectrWidth(FFT_T &fft,
134 bool traceAutocorr(
const Trace &tr_in,
139 bool autocorr(
size_t n,
141 std::vector<Trace::AmplT> &y,
149 bool norm_flag =
false
169 #include <s2_corr_inline.hpp>
171 #include <s2proc/s2_corr_inline.hpp>
float AmplT
Definition: trace.hpp:21
bool traceACF(FFT_T &fft, const Trace &tr, Trace &acf, bool norma)
Definition: s2_corr_inline.hpp:138
bool traceWeightSum(const Trace &tr1, const Trace &tr2, Trace::AmplT &koeff)
bool tracesCCF(FFT_T &fft, const Trace &tr1, const Trace &tr2, Trace &ccf, bool norma)
Definition: s2_corr_inline.hpp:55
bool modsum(size_t n, const Trace::AmplT *x, Trace::AmplT &e)
bool GetDispersion(const Trace &trs, float &disp)
std::vector< Trace::AmplT > DVector
Definition: s2_corr.hpp:20
Definition: wave_field.hpp:13
bool sim(size_t n, const Trace::AmplT *x, const Trace::AmplT *y, Trace::AmplT &s)
bool traceAmplKoeffs(const Trace &tr1, const Trace &tr2, DVector &koeffs)
bool polycorPrepare(const WaveField &field, DMatrix &C)
bool traceBaseOp(Trace &tr, const DVector &bases)
Definition: s2_corr_inline.hpp:17
bool fieldEnergy(const WaveField &field, DMatrix &E)
bool intercorr(size_t n, const Trace::AmplT *x, const Trace::AmplT *y, Trace::AmplT &r)
bool tracesIntercorr(const Trace &tr1, const Trace &tr2, DVector &corr)
bool energy(size_t n, const Trace::AmplT *x, Trace::AmplT &e, bool norm_flag=false)
std::vector< DVector > DMatrix
Definition: s2_corr.hpp:23
bool traceEnergy(const Trace &tr, DVector &e)