HOPS
HOPS class reference
MHO_SBDTableGenerator.hh
Go to the documentation of this file.
1 #ifndef MHO_SBDTableGenerator_HH__
2 #define MHO_SBDTableGenerator_HH__
3 
4 #include <cmath>
5 #include <complex>
6 
8 #include "MHO_TableContainer.hh"
10 
11 namespace hops
12 {
13 
28 class MHO_SBDTableGenerator: public MHO_TransformingOperator< visibility_type, sbd_type >
29 {
30  public:
32  virtual ~MHO_SBDTableGenerator();
33 
34  protected:
37 
46  virtual bool InitializeImpl(const XArgType1* in, XArgType2* out);
55  virtual bool ExecuteImpl(const XArgType1* in, XArgType2* out);
56 
57  private:
58  std::size_t fInDims[VIS_NDIM];
59  std::size_t fWorkDims[VIS_NDIM];
60  std::size_t fOutDims[VIS_NDIM];
61 
62  //function to resize the sbd array if needed -- no double-sideband data
69  void ConditionallyResizeOutput(const XArgType1* in, XArgType2* out);
70 
71  bool fInitialized;
72 };
73 
74 } // namespace hops
75 
76 #endif
#define VIS_NDIM
Definition: MHO_BaselineContainers.hh:43
Class MHO_SBDTableGenerator.
Definition: MHO_SBDTableGenerator.hh:29
virtual bool ExecuteImpl(const XArgType1 *in, XArgType2 *out)
Checks if initialized and returns true if so, false otherwise.
Definition: MHO_SBDTableGenerator.cc:28
MHO_SBDTableGenerator()
Definition: MHO_SBDTableGenerator.cc:8
virtual ~MHO_SBDTableGenerator()
Definition: MHO_SBDTableGenerator.cc:10
virtual bool InitializeImpl(const XArgType1 *in, XArgType2 *out)
Initializes SBD table generator with raw visibilities and resizes output if needed.
Definition: MHO_SBDTableGenerator.cc:12
Class MHO_TransformingOperator.
Definition: MHO_TransformingOperator.hh:23
Definition: MHO_ChannelLabeler.hh:17
visibility_type sbd_type
Definition: MHO_BaselineContainers.hh:54
MHO_TableContainer< visibility_element_type, baseline_axis_pack > visibility_type
Definition: MHO_BaselineContainers.hh:52