1 #ifndef MHO_Notches_HH__
2 #define MHO_Notches_HH__
53 fNotchBoundaries = notch_boundary_list;
54 std::size_t N = fNotchBoundaries.size();
57 msg_warn(
"calibration",
"the number of notch boundaries passed ("
58 << N <<
") is not a multiple of 2, malformed control input " << eom);
63 for(std::size_t i = 0; i < N;)
65 double low = fNotchBoundaries[i];
66 double high = fNotchBoundaries[i + 1];
67 fNotches.push_back(std::make_pair(low, high));
110 std::string fBandwidthKey;
111 std::string fSidebandLabelKey;
112 std::string fLowerSideband;
113 std::string fUpperSideband;
117 std::vector< double > fNotchBoundaries;
118 std::vector< std::pair< double, double > > fNotches;
#define msg_warn(xKEY, xCONTENT)
Definition: MHO_Message.hh:254
Class MHO_Notches.
Definition: MHO_Notches.hh:34
virtual ~MHO_Notches()
Definition: MHO_Notches.cc:16
MHO_Notches()
Definition: MHO_Notches.cc:8
void SetWeights(weight_type *weights)
Setter for weights.
Definition: MHO_Notches.hh:44
virtual bool InitializeInPlace(visibility_type *in) override
Initializes MHO_Notches in-place using provided visibility_type pointer.
Definition: MHO_Notches.cc:108
void SetNotchBoundaries(const std::vector< double > ¬ch_boundary_list)
Setter for notch (locations along frequency axis where visibilities are zeroed out) boundaries.
Definition: MHO_Notches.hh:51
virtual bool ExecuteInPlace(visibility_type *in) override
Applies filter to channels and spectral points based on defined notches.
Definition: MHO_Notches.cc:18
virtual bool ExecuteOutOfPlace(const visibility_type *in, visibility_type *out) override
Copies input visibility data and executes in-place processing.
Definition: MHO_Notches.cc:102
virtual bool InitializeOutOfPlace(const visibility_type *in, visibility_type *out) override
Initializes out-of-place visibility data from input pointer.
Definition: MHO_Notches.cc:113
Class MHO_UnaryOperator.
Definition: MHO_UnaryOperator.hh:24
Definition: MHO_ChannelLabeler.hh:17