HOPS
HOPS class reference
MHO_DCBlock.hh
Go to the documentation of this file.
1 #ifndef MHO_DCBlock_HH__
2 #define MHO_DCBlock_HH__
3 
4 #include <cctype>
5 #include <cmath>
6 #include <complex>
7 #include <map>
8 #include <vector>
9 
10 #include "MHO_Constants.hh"
11 #include "MHO_Message.hh"
12 
14 #include "MHO_TableContainer.hh"
15 #include "MHO_UnaryOperator.hh"
16 
17 namespace hops
18 {
19 
31 class MHO_DCBlock: public MHO_UnaryOperator< visibility_type >
32 {
33  public:
34  MHO_DCBlock();
35  virtual ~MHO_DCBlock();
36 
37  protected:
45  virtual bool InitializeInPlace(visibility_type* in) override;
54  virtual bool InitializeOutOfPlace(const visibility_type* in, visibility_type* out) override;
55 
63  virtual bool ExecuteInPlace(visibility_type* in) override;
72  virtual bool ExecuteOutOfPlace(const visibility_type* in, visibility_type* out) override;
73 
74  private:
75  std::string fSidebandLabelKey;
76  std::string fLowerSideband;
77  std::string fUpperSideband;
78 };
79 
80 } // namespace hops
81 
82 #endif
Class MHO_DCBlock.
Definition: MHO_DCBlock.hh:32
virtual bool ExecuteInPlace(visibility_type *in) override
Zero out DC spectral points for all channels in-place.
Definition: MHO_DCBlock.cc:15
virtual bool InitializeInPlace(visibility_type *in) override
Initializes in-place visibility_type pointer.
Definition: MHO_DCBlock.cc:54
virtual bool InitializeOutOfPlace(const visibility_type *in, visibility_type *out) override
Initializes out-of-place data processing for visibility_type objects.
Definition: MHO_DCBlock.cc:59
virtual bool ExecuteOutOfPlace(const visibility_type *in, visibility_type *out) override
Copies input visibility data and executes in-place processing.
Definition: MHO_DCBlock.cc:48
virtual ~MHO_DCBlock()
Definition: MHO_DCBlock.cc:13
MHO_DCBlock()
Definition: MHO_DCBlock.cc:6
Class MHO_UnaryOperator.
Definition: MHO_UnaryOperator.hh:24
Definition: MHO_ChannelLabeler.hh:17