1 #ifndef MHO_DiFXChannelNameConstructor_HH__
2 #define MHO_DiFXChannelNameConstructor_HH__
42 void AddBandLabel(std::string band_label,
double freq_low,
double freq_high);
64 fHasGlobalGrid =
true;
84 std::string BandLabelFromSkyFreq(
double sky_freq);
86 std::vector< std::tuple< std::string, double, double > > fBandRangeLabels;
Class MHO_DiFXChannelNameConstructor.
Definition: MHO_DiFXChannelNameConstructor.hh:30
void AddChannelNames(mho_json &vex_root)
Adds channel names to VEX experiment data based on scan and mode information.
Definition: MHO_DiFXChannelNameConstructor.cc:25
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:61
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:20
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:75
virtual ~MHO_DiFXChannelNameConstructor()
Definition: MHO_DiFXChannelNameConstructor.cc:17
MHO_DiFXChannelNameConstructor()
Definition: MHO_DiFXChannelNameConstructor.cc:11
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