|
| | MHO_DiFXBaselineProcessor () |
| |
| virtual | ~MHO_DiFXBaselineProcessor () |
| |
| void | AddRecord (MHO_DiFXVisibilityRecord *record) |
| | Adds a visibility record (chunk of difx data) to the processor if it matches baseline and selection criteria. More...
|
| |
| void | Clear () |
| |
| void | ConstructVisibilityFileObjects () |
| | Constructs visibility file objects by organizing data and setting tags for visibilities and weights. More...
|
| |
| const std::vector< std::pair< int, mho_json > > & | GetBaselineFreqs () const |
| | Read-only access to the ordered (ascending sky_freq) list of channels this baseline will export. Populated by Organize(). Each element is (difx_freq_idx, fInput["freq"][...]). More...
|
| |
| int | GetBaselineID () const |
| | Getter for (difx) baseline id. More...
|
| |
| std::string | GetBaselineShortName () const |
| |
| std::string | GetRefStationMk4Id () const |
| | Getter for reference station mk4id. More...
|
| |
| std::string | GetRemStationMk4Id () const |
| | Getter for remote station mk4id. More...
|
| |
| visibility_store_type * | GetVisibilities () |
| |
| bool | IsAutoCorr () const |
| | Checks if reference station is equal to remote station. More...
|
| |
| void | Organize () |
| | Build the per-baseline derived state (fFreqIndexSet -> fBaselineFreqs, AP counts, scan times, source name, etc). Idempotent. Exposed publicly so MHO_DiFXScanProcessor can collect each baseline's sky_freq list before computing the scan-wide global grid that has to be injected back into both this processor and the channel-name constructor. More...
|
| |
| void | SetAttachDiFXInputFalse () |
| | Setter for attach difx input false (do not attach difx .input info to visibilities) More...
|
| |
| void | SetAttachDiFXInputTrue () |
| | Setter for attach difx .input true (attaches json object containing difx .input info to visibilities) More...
|
| |
| void | SetCorrelationDate (std::string corrdate) |
| | Setter for correlation date. More...
|
| |
| void | SetDiFXCodes2VexCodes (const std::map< std::string, std::string > &d2v_map) |
| | Setter for difx station codes to vex codes (2 char -> 2 char), but difx uses all caps. More...
|
| |
| void | SetDiFXCodes2VexNames (const std::map< std::string, std::string > &d2v_map) |
| | Setter for difx codes to vex names (difx 2 char code to canonical station names (8 char)) More...
|
| |
| void | SetDiFXInputData (const mho_json *input) |
| | Setter for difx .input data (needed for processing visibilities) More...
|
| |
| void | SetExportAsMark4False () |
| |
| void | SetExportAsMark4True () |
| |
| void | SetFreqGroups (std::vector< std::string > fgroups) |
| |
| void | SetFrequencyBands (std::vector< std::tuple< std::string, double, double > > fbands) |
| |
| void | SetGlobalSkyFreqGrid (const std::vector< double > &grid_MHz, double tol=MHO_SkyFreqGrid::DEFAULT_TOL_MHZ) |
| | Provides a precomputed global sky-frequency grid (MHz, sorted ascending, deduplicated over freq) used to number channel ids for mark4 t101 chan_id strings. When set, the chidx embedded in ref_chan_id / rem_chan_id (and the mk4_channel_id label) is the position of the channel's sky_freq in this grid, instead of its dense position within this baseline's fBaselineFreqs. This keeps the mark4 chan_ids aligned with MHO_DiFXChannelNameConstructor's chan_def.channel_name across heterogeneous-bandwidth station combinations. More...
|
| |
| void | SetOnlyBandwidth (double bw) |
| |
| void | SetRescaleFalse () |
| | Setter for rescale false - Do NOT apply mk4 style visibility normalization. More...
|
| |
| void | SetRescaleTrue () |
| | Setter for rescale true - apply mk4 style visibility normalization. More...
|
| |
| void | SetRootCode (std::string rcode) |
| | Setter for (hops) root code. More...
|
| |
| void | SetScanIndex (std::size_t idx) |
| | Setter for scan index. More...
|
| |
| void | SetStationCodes (MHO_StationCodeMap *code_map) |
| | Setter for station codes (2 characater -> 1 character) More...
|
| |
| void | SetZoomFreqIndices (const std::set< int > &zoom_indices) |
| |
| void | WriteVisibilityObjects (std::string output_dir) |
| | Writes visibility objects in HOPS4 format to an output directory. More...
|
| |
Class MHO_DiFXBaselineProcessor.
accumulates visbility records from a single baseline, sorts and re-packs them into a visbility container
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
- Tue Mar 1 16:44:37 2022 -0500