1 #ifndef MHO_DiFXChannelNameConstructor_HH__
2 #define MHO_DiFXChannelNameConstructor_HH__
41 void AddBandLabel(std::string band_label,
double freq_low,
double freq_high);
63 fHasGlobalGrid =
true;
83 std::string BandLabelFromSkyFreq(
double sky_freq);
95 std::vector< band_range > fBandRangeLabels;
101 MHO_SkyFreqGrid fGlobalGrid;
Class MHO_DiFXChannelNameConstructor.
Definition: MHO_DiFXChannelNameConstructor.hh:29
void AddChannelNames(mho_json &vex_root)
Adds channel names to VEX experiment data based on scan and mode information.
Definition: MHO_DiFXChannelNameConstructor.cc:29
void SetGlobalSkyFreqGrid(const std::vector< double > &grid_MHz, double tol=MHO_SkyFreqGrid::DEFAULT_TOL_MHZ)
Provide a precomputed global sky-frequency grid (MHz, sorted ascending, deduped). When set,...
Definition: MHO_DiFXChannelNameConstructor.hh:60
void AddBandLabel(std::string band_label, double freq_low, double freq_high)
Adds a frequency range for a specific band label.
Definition: MHO_DiFXChannelNameConstructor.cc:19
void SetScanName(std::string scan_id)
Setter for scan name if the (o)vex file has more than one scan, we may want to specify a specific one...
Definition: MHO_DiFXChannelNameConstructor.hh:74
virtual ~MHO_DiFXChannelNameConstructor()
Definition: MHO_DiFXChannelNameConstructor.cc:16
MHO_DiFXChannelNameConstructor()
Definition: MHO_DiFXChannelNameConstructor.cc:10
Creates a sorted, tolerance-deduplicated list of sky frequencies (MHz) with indexed lookup....
Definition: MHO_SkyFreqGrid.hh:23
static constexpr double DEFAULT_TOL_MHZ
Definition: MHO_SkyFreqGrid.hh:25
Definition: MHO_AdhocFlagging.hh:18