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));
83 std::string fBandwidthKey;
84 std::string fSidebandLabelKey;
85 std::string fLowerSideband;
86 std::string fUpperSideband;
90 std::vector< double > fNotchBoundaries;
91 std::vector< std::pair< double, double > > fNotches;
#define msg_warn(xKEY, xCONTENT)
Definition: MHO_Message.hh:248
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
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
Class MHO_UnaryOperator.
Definition: MHO_UnaryOperator.hh:24
Definition: MHO_AdhocFlagging.hh:18