UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
ws_selector.hpp
1 /* ws_selector.hpp */
2 /* $Id: ws_selector.hpp 21267 2011-11-23 15:19:39Z guser1 $ */
3 #ifndef __ws_selector_hpp
4 #define __ws_selector_hpp
5 
6 #ifdef GE_BUILD
7 #include <ws_sim.hpp>
8 #else
9 #include <s2proc/ws_sim.hpp>
10 #endif
11 
13 namespace WSel
14 {
15  class Selector
16  {
17  public:
18 
20  struct Parameters
21  {
34  };
35 
36  Selector(const Parameters &params);
37 
39  WaveField getWave(const WaveField &iwf) const;
40 
41  protected:
42 
45 
46  void get_wave_form(const WaveField &iwf, Trace &wform) const;
47 
48  Trace::AmplT get_ampl_coeff(const Trace &tr, const Trace &wform,
49  Trace::TimeT win_b, Trace::TimeT win_e) const;
50 
51  bool smooth_ampls(S2Corr::DVector &ampls, int pdeg) const;
52 
53  int get_smooth_poly_order(size_t n, float smth_order) const;
54 
55  void get_slide_base_ids(const WaveField &iwf, size_t slide_base_traces_num, size_t id,
56  size_t &trb_id, size_t &tre_id) const;
57  };
58 
59 };
60 
61 #endif /* ws_selector.hpp */
float AmplT
Definition: trace.hpp:21
float TimeT
Definition: trace.hpp:22
Definition: ws_selector.hpp:20
Trace::TimeT defect_ampls_part
Definition: ws_selector.hpp:29
size_t time_base_samples_num
Definition: ws_selector.hpp:22
Definition: ws_selector.hpp:15
std::vector< Trace::AmplT > DVector
Definition: s2_corr.hpp:20
Trace::TimeT ampl_smothing_order
Definition: ws_selector.hpp:33
Definition: wave_field.hpp:13
Definition: trace.hpp:14
WaveField getWave(const WaveField &iwf) const
bool apply_smoothing
Definition: ws_selector.hpp:32
Trace::TimeT ampl_est_win_e
Definition: ws_selector.hpp:27
Trace::TimeT ampl_est_win_b
Definition: ws_selector.hpp:26
Parameters m_params
Definition: ws_selector.hpp:44
size_t time_base_shift_samples_num
Definition: ws_selector.hpp:23
size_t slide_base_traces_num
Definition: ws_selector.hpp:24
Trace::TimeT energy_filter_rigidity
Definition: ws_selector.hpp:30