1 #ifndef MHO_ManualChannelPhaseCorrection_HH__
2 #define MHO_ManualChannelPhaseCorrection_HH__
51 return fStationIdentities.empty() ? std::string(
"") : fStationIdentities[0];
99 bool PolMatch(std::size_t station_idx, std::string& polprod);
107 bool LabelMatch(std::string expected_chan_label, std::string given_chan_label);
110 std::complex< double > fImagUnit;
114 std::vector< std::string > fStationIdentities;
118 std::map< std::string, double > fPCMap;
121 std::string fStationKey;
122 std::string fRemStationKey;
123 std::string fRefStationKey;
124 std::string fRemStationMk4IDKey;
125 std::string fRefStationMk4IDKey;
126 std::string fChannelLabelKey;
127 std::string fSidebandLabelKey;
128 std::string fLowerSideband;
129 std::string fUpperSideband;
132 void make_upper(std::string& s)
Class MHO_ManualChannelPhaseCorrection.
Definition: MHO_ManualChannelPhaseCorrection.hh:32
MHO_ManualChannelPhaseCorrection()
Definition: MHO_ManualChannelPhaseCorrection.cc:6
void SetStationIdentifiers(const std::vector< std::string > &ids)
Definition: MHO_ManualChannelPhaseCorrection.hh:47
void SetStationIdentifier(const std::string &id)
Setter for station identifier.
Definition: MHO_ManualChannelPhaseCorrection.hh:45
void SetPolarization(const std::string &pol)
Setter for polarization.
Definition: MHO_ManualChannelPhaseCorrection.hh:59
void SetChannelToPCPhaseMap(const std::map< std::string, double > &map)
Setter for channel to pc_phase map.
Definition: MHO_ManualChannelPhaseCorrection.hh:71
virtual bool ExecuteInPlace(visibility_type *in) override
Applies phase correction to visibility data in-place for reference or remote station.
Definition: MHO_ManualChannelPhaseCorrection.cc:24
virtual ~MHO_ManualChannelPhaseCorrection()
Definition: MHO_ManualChannelPhaseCorrection.cc:22
std::string GetStationIdentifier() const
Definition: MHO_ManualChannelPhaseCorrection.hh:49
Class MHO_UnaryOperator.
Definition: MHO_UnaryOperator.hh:24
Definition: MHO_AdhocFlagging.hh:18