Creates a sorted, tolerance-deduplicated list of sky frequencies (MHz) with indexed lookup. Used by both MHO_DiFXBaselineProcessor (for mark4 t101 chan_id chidx) and MHO_DiFXChannelNameConstructor (for chan_def.channel_name chidx) so the two stay in inline with each other across all stations in a scan.
More...
#include <MHO_SkyFreqGrid.hh>
Creates a sorted, tolerance-deduplicated list of sky frequencies (MHz) with indexed lookup. Used by both MHO_DiFXBaselineProcessor (for mark4 t101 chan_id chidx) and MHO_DiFXChannelNameConstructor (for chan_def.channel_name chidx) so the two stay in inline with each other across all stations in a scan.
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
- Fri May 22 03:56:07 PM EDT 2026
◆ MHO_SkyFreqGrid() [1/2]
| hops::MHO_SkyFreqGrid::MHO_SkyFreqGrid |
( |
| ) |
|
|
inline |
◆ MHO_SkyFreqGrid() [2/2]
| hops::MHO_SkyFreqGrid::MHO_SkyFreqGrid |
( |
std::vector< double > |
grid_MHz, |
|
|
double |
tol = DEFAULT_TOL_MHZ |
|
) |
| |
|
inlineexplicit |
◆ Add()
| void hops::MHO_SkyFreqGrid::Add |
( |
double |
sky_freq_MHz | ) |
|
|
inline |
◆ Contains()
| bool hops::MHO_SkyFreqGrid::Contains |
( |
double |
sky_freq_MHz | ) |
const |
|
inline |
◆ Empty()
| bool hops::MHO_SkyFreqGrid::Empty |
( |
| ) |
const |
|
inline |
◆ Finalize()
| void hops::MHO_SkyFreqGrid::Finalize |
( |
| ) |
|
|
inline |
◆ FindIndex()
| bool hops::MHO_SkyFreqGrid::FindIndex |
( |
double |
sky_freq_MHz, |
|
|
std::size_t & |
out_index |
|
) |
| const |
|
inline |
◆ Frequencies()
| const std::vector< double >& hops::MHO_SkyFreqGrid::Frequencies |
( |
| ) |
const |
|
inline |
◆ GetTolerance()
| double hops::MHO_SkyFreqGrid::GetTolerance |
( |
| ) |
const |
|
inline |
◆ SetTolerance()
| void hops::MHO_SkyFreqGrid::SetTolerance |
( |
double |
tol_MHz | ) |
|
|
inline |
◆ Size()
| std::size_t hops::MHO_SkyFreqGrid::Size |
( |
| ) |
const |
|
inline |
◆ DEFAULT_TOL_MHZ
| constexpr double hops::MHO_SkyFreqGrid::DEFAULT_TOL_MHZ = 0.001 |
|
staticconstexpr |
The documentation for this class was generated from the following file: