UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
zqb_gain_control.hpp
1 /* zqb_gain_control.hpp */
2 /* $Id: zqb_gain_control.hpp 20080 2009-12-15 15:57:52Z vlad $ */
3 #ifndef __zqb_gain_control_hpp
4 #define __zqb_gain_control_hpp
5 
6 #include "zqb_svoptions.hpp"
7 #include "zqb_real_trace.hpp"
8 
9 
15 class ZqbGainControl
16 {
17 public:
18 
20  ZqbGainControl ();
21 
22 
25  void init (const ZqbAbstrTrace& atrace,
26  const ZqbSVOptions& svo);
27 
30  void prepare (const ZqbRealTrace& trace);
31 
36  float* apply (const ZqbRealTrace& trace, float mm[2] = NULL);
37 
38 protected:
39 
42 
45 
49 
50 };
51 
52 
74 extern "C" void aruwf_ (const float a[], float w[], float* wmax,
75  int* n, int* m1, float* eps);
76 
77 
91 extern "C" void vmxabs_ (const float a[], int* n, float* amgl);
92 
93 
105 extern "C" void vminmax_ (const float a[], int* n, float mm[2]);
106 
107 
108 #endif /* zqb_gain_control.hpp */
ZqbRealTrace m_GainOp
Definition: zqb_gain_control.hpp:44
ZqbSVOptions m_Options
Definition: zqb_gain_control.hpp:41
void init(const ZqbAbstrTrace &atrace, const ZqbSVOptions &svo)
float * apply(const ZqbRealTrace &trace, float mm[2]=NULL)
ZqbRealTrace m_Result
Definition: zqb_gain_control.hpp:48
Definition: zqb_svoptions.hpp:139
Definition: zqb_abstr_trace.hpp:13
Definition: zqb_real_trace.hpp:19
void prepare(const ZqbRealTrace &trace)
Definition: zqb_gain_control.hpp:15