3 #ifndef __s2_poly_wave_approx_hpp
4 #define __s2_poly_wave_approx_hpp
6 #include <s2proc/wave_field.hpp>
7 #include <s2proc/s2_corr.hpp>
8 #include <mth/least_squares_2d.hpp>
29 printf(
"S2PolyWaveApprox::Params: win(%g..%g), dt=%g, pdeg=%zu, tbnum=%zu\n",
35 typedef std::pair<double, double>
Node;
Params m_params
Definition: s2_poly_wave_approx.hpp:64
const S2PolyWaveApprox::Params & getParams() const
Definition: s2_poly_wave_approx.hpp:59
double dt
Definition: s2_poly_wave_approx.hpp:23
std::pair< double, double > Node
Definition: s2_poly_wave_approx.hpp:35
S2PolyWaveApprox(const S2PolyWaveApprox::Params ¶ms)
Definition: s2_poly_wave_approx.hpp:38
Definition: s2_poly_wave_approx.hpp:19
void setParams(const S2PolyWaveApprox::Params ¶ms)
Definition: s2_poly_wave_approx.hpp:56
double twin_len
Definition: s2_poly_wave_approx.hpp:22
Definition: wave_field.hpp:13
LeastSquares2D::PolyCoeffs calc_poly(const WaveField &field) const
double twin_start
Definition: s2_poly_wave_approx.hpp:21
std::vector< PolyCoeff > PolyCoeffs
Definition: least_squares_2d.hpp:25
LeastSquares2D::PolyCoeffs operator()(const WaveField &field) const
Definition: s2_poly_wave_approx.hpp:44
size_t pdeg
Definition: s2_poly_wave_approx.hpp:24
size_t tbnum
Definition: s2_poly_wave_approx.hpp:25
virtual ~S2PolyWaveApprox()
Definition: s2_poly_wave_approx.hpp:41
Definition: s2_poly_wave_approx.hpp:14
virtual std::vector< S2PolyWaveApprox::Node > calc_nodes(const WaveField &field) const