UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
spectr_wave_detector.hpp
1 /* spectr_wave_detector.hpp */
2 /* $Id: spectr_wave_detector.hpp 21747 2012-08-14 10:10:43Z hoot $ */
3 #ifndef __spectr_wave_detector_hpp
4 #define __spectr_wave_detector_hpp
5 
6 #include "abstract_wave_detector.hpp"
7 
9 {
10 public:
11 
13  SpectrWaveDetector(size_t time_base, size_t sb_size, size_t sb_step = 1);
14 
15  void setTfb(size_t app_tfb = 0.);
16 
17 
18  virtual ~SpectrWaveDetector();
19 
21  size_t getSBSize() {return m_sb_size;}
22 
24  size_t getSBStep() {return m_sb_step;}
25 
26 protected:
27 
28  virtual bool calc(Trace &tr) const;
29 
31  size_t m_time_size;
32 
34  size_t m_sb_size;
35 
37  size_t m_sb_step;
38 
40  size_t m_app_tfb;
41 
42  Trace::AmplT calc_spectrum_width(Trace &ampls) const;
43 
44 };
45 
46 #endif /* spectr_wave_detector.hpp */
float AmplT
Definition: trace.hpp:21
size_t getSBStep()
Definition: spectr_wave_detector.hpp:24
size_t m_sb_step
Definition: spectr_wave_detector.hpp:37
virtual bool calc(Trace &tr) const
size_t m_sb_size
Definition: spectr_wave_detector.hpp:34
SpectrWaveDetector(size_t time_base, size_t sb_size, size_t sb_step=1)
Definition: abstract_wave_detector.hpp:7
Definition: trace.hpp:14
size_t getSBSize()
Definition: spectr_wave_detector.hpp:21
size_t m_time_size
Definition: spectr_wave_detector.hpp:31
Definition: spectr_wave_detector.hpp:8