Class MHO_EstimatePCManual.
More...
#include <MHO_EstimatePCManual.hh>
|
| void | adj_delays (double sbd_max, double *sbd, double *esd, double delta_delay, int first, int final, int is_ref, int how) |
| | Adjusts delays for Single Band Delay (SBD) and Effective Single Band Delay (ESBD) arrays based on given parameters. More...
|
| |
| void | est_delays (int is_ref, int how) |
| | Calculates and adjusts delays for fringe estimation based on reference station and delay modes. More...
|
| |
| void | est_offset (int is_ref) |
| | Calculates export overall phase offset (pc_phase_offset_?) More...
|
| |
| void | est_pc_manual (int mode) |
| | executes estimation of manual phase (and/or delay) corrections More...
|
| |
| void | est_phases (int is_ref, int keep) |
| | Estimates phases for reference or remote station with optional phase bias and displays messages. More...
|
| |
| virtual bool | ExecuteImpl (const visibility_type *in) override |
| | Executes manual PC estimation using input visibility data. More...
|
| |
| void | fill_sbd (std::vector< std::string > &ch_labels, std::vector< double > &sbd) |
| |
| double | get_manual_delayoff (int is_remote, int channel_idx, std::string pol) |
| | Calculates and returns manual delay offset for a given channel and polarization. More...
|
| |
| double | get_manual_phasecal (int is_remote, int channel_idx, std::string pol) |
| | Calculates and returns manual phase calibration for a given channel and polarization. More...
|
| |
| virtual bool | InitializeImpl (const visibility_type *in) override |
| | Initializes implementation using input visibility type. More...
|
| |
| void | masthead (int mode, std::string root_file, int first_ch, int final_ch) |
| |
Class MHO_EstimatePCManual.
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
- Wed May 29 03:40:50 PM EDT 2024
◆ MHO_EstimatePCManual()
| hops::MHO_EstimatePCManual::MHO_EstimatePCManual |
( |
| ) |
|
◆ ~MHO_EstimatePCManual()
| hops::MHO_EstimatePCManual::~MHO_EstimatePCManual |
( |
| ) |
|
|
virtual |
◆ adj_delays()
| void hops::MHO_EstimatePCManual::adj_delays |
( |
double |
sbd_max, |
|
|
double * |
sbd, |
|
|
double * |
esd, |
|
|
double |
delta_delay, |
|
|
int |
first, |
|
|
int |
final, |
|
|
int |
is_ref, |
|
|
int |
how |
|
) |
| |
|
protected |
Adjusts delays for Single Band Delay (SBD) and Effective Single Band Delay (ESBD) arrays based on given parameters.
- Parameters
-
| sbd_max | Maximum delay value for SBD |
| sbd | Array of Single Band Delay values |
| esd | Array of Effective Single Band Delay values |
| delta_delay | Delay adjustment factor |
| first | Starting index for delay adjustment |
| final | Ending index for delay adjustment |
| is_ref | (station) reference flag for delay adjustment |
| how | Method flag for delay adjustment @detail This routine adjusts delays according to the method specified in 'how': 0x02: use median channel SBD 0x04: average channel SBD 0x08: use total SBD channel 0x10: use original SBD values 0x20: use heuristics to discard outliers |
◆ est_delays()
| void hops::MHO_EstimatePCManual::est_delays |
( |
int |
is_ref, |
|
|
int |
how |
|
) |
| |
|
protected |
Calculates and adjusts delays for fringe estimation based on reference station and delay modes.
- Parameters
-
| is_ref | Flag indicating whether to use reference station (true) or remote station (false). |
| how | Bitmask specifying delay calculation method (see adj_delays() ) |
◆ est_offset()
| void hops::MHO_EstimatePCManual::est_offset |
( |
int |
is_ref | ) |
|
|
protected |
Calculates export overall phase offset (pc_phase_offset_?)
- Parameters
-
| is_ref | Flag indicating whether to use reference or remote station. |
◆ est_pc_manual()
| void hops::MHO_EstimatePCManual::est_pc_manual |
( |
int |
mode | ) |
|
|
protected |
executes estimation of manual phase (and/or delay) corrections
- Parameters
-
| mode | Mode dictating estimation method |
◆ est_phases()
| void hops::MHO_EstimatePCManual::est_phases |
( |
int |
is_ref, |
|
|
int |
keep |
|
) |
| |
|
protected |
Estimates phases for reference or remote station with optional phase bias and displays messages.
- Parameters
-
| is_ref | Flag indicating whether to estimate phases on reference (true) or remote station (false) |
| keep | Flag indicating whether to keep phase bias |
◆ ExecuteImpl()
Executes manual PC estimation using input visibility data.
- Parameters
-
| in | Input visibility_type pointer containing visibility data. |
- Returns
- Always returns true.
- Note
- This is a virtual function.
Implements hops::MHO_InspectingOperator< visibility_type >.
◆ fill_sbd()
| void hops::MHO_EstimatePCManual::fill_sbd |
( |
std::vector< std::string > & |
ch_labels, |
|
|
std::vector< double > & |
sbd |
|
) |
| |
|
protected |
◆ get_manual_delayoff()
| double hops::MHO_EstimatePCManual::get_manual_delayoff |
( |
int |
is_remote, |
|
|
int |
channel_idx, |
|
|
std::string |
pol |
|
) |
| |
|
protected |
Calculates and returns manual delay offset for a given channel and polarization.
- Parameters
-
| is_remote | Flag indicating whether the current station is the remote station (true) or reference station (false). |
| channel_idx | Index of the channel for which to calculate the phase calibration. |
| pol | Polarization string ('L' or 'R', 'X' or 'Y') |
- Returns
- Calculated manual delay offset as a double.
◆ get_manual_phasecal()
| double hops::MHO_EstimatePCManual::get_manual_phasecal |
( |
int |
is_remote, |
|
|
int |
channel_idx, |
|
|
std::string |
pol |
|
) |
| |
|
protected |
Calculates and returns manual phase calibration for a given channel and polarization.
- Parameters
-
| is_remote | Flag indicating whether the current station is the remote station (true) or reference station (false). |
| channel_idx | Index of the channel for which to calculate the phase calibration. |
| pol | Polarization string ('L' or 'R', 'X' or 'Y') |
- Returns
- Calculated manual phase calibration in degrees.
◆ InitializeImpl()
| virtual bool hops::MHO_EstimatePCManual::InitializeImpl |
( |
const visibility_type * |
in | ) |
|
|
inlineoverrideprotectedvirtual |
Initializes implementation using input visibility type.
- Parameters
-
| in | Input visibility_type pointer for initialization |
- Returns
- Boolean indicating successful initialization
- Note
- This is a virtual function.
Implements hops::MHO_InspectingOperator< visibility_type >.
◆ masthead()
| void hops::MHO_EstimatePCManual::masthead |
( |
int |
mode, |
|
|
std::string |
root_file, |
|
|
int |
first_ch, |
|
|
int |
final_ch |
|
) |
| |
|
protected |
◆ SetParameterStore()
Setter for parameter store.
- Parameters
-
◆ SetPhasors()
| void hops::MHO_EstimatePCManual::SetPhasors |
( |
phasor_type * |
phasors | ) |
|
|
inline |
Setter for visibility channel phasors.
- Parameters
-
| phasors | Input phasors of type phasor_type |
◆ SetPlotData()
| void hops::MHO_EstimatePCManual::SetPlotData |
( |
mho_json & |
plot_data | ) |
|
|
inline |
Setter for plot data.
- Parameters
-
| plot_data | Reference to an mho_json object containing plot data. |
◆ SetWeights()
| void hops::MHO_EstimatePCManual::SetWeights |
( |
const weight_type * |
weights | ) |
|
|
inline |
Setter for weights.
- Parameters
-
| weights | Input weights of type const weight_type* |
◆ fChannelLabel2Index
| std::map< std::string, int > hops::MHO_EstimatePCManual::fChannelLabel2Index |
|
protected |
◆ fIndex2ChannelLabel
| std::map< int, std::string > hops::MHO_EstimatePCManual::fIndex2ChannelLabel |
|
protected |
◆ fParameterStore
◆ fPhasors
◆ fPlotData
◆ fRefStationMk4ID
| std::string hops::MHO_EstimatePCManual::fRefStationMk4ID |
|
protected |
◆ fRefStationPol
| std::string hops::MHO_EstimatePCManual::fRefStationPol |
|
protected |
◆ fRemStationMk4ID
| std::string hops::MHO_EstimatePCManual::fRemStationMk4ID |
|
protected |
◆ fRemStationPol
| std::string hops::MHO_EstimatePCManual::fRemStationPol |
|
protected |
◆ fVisibilities
◆ fWeights
| const weight_type* hops::MHO_EstimatePCManual::fWeights |
|
protected |
The documentation for this class was generated from the following files: