HOPS
HOPS class reference
|
Class MHO_ComputePlotData. More...
#include <MHO_ComputePlotData.hh>
Public Member Functions | |
MHO_ComputePlotData () | |
virtual | ~MHO_ComputePlotData () |
xpower_amp_type | calc_dr () |
Calculates delay-rate (dr) function (amplitude vs delay rate) More... | |
std::string | calc_error_code (const mho_json &plot_dict) |
calcuates the fringe error code More... | |
void | calc_freqrms (phasor_type &phasors, double coh_avg_phase, double fringe_amp, double total_summed_weights, double snr, double &freqrms_phase, double &freqrms_amp, double &inc_avg_amp_freq) |
Calculates frequency root mean square (phase and amplitude) for given phasors. More... | |
xpower_amp_type | calc_mbd () |
Calculates Multi-Band Delay (MBD) function (amplitude vs. mbd) More... | |
double | calc_phase () |
Calculates fringe phase using weighted sum and fitted (delay, delay-rate) rotation. More... | |
std::string | calc_quality_code () |
calcuates the fringe quality code More... | |
xpower_amp_type | calc_sbd () |
Calculates Single Band Delay (SBD) function (amplitude vs. sbd) More... | |
phasor_type | calc_segs () |
Calculates and returns time-averaged phasor segments for each channel. More... | |
void | calc_timerms (phasor_type &phasors, std::size_t nseg, std::size_t apseg, double coh_avg_phase, double fringe_amp, double total_summed_weights, double snr, double &timerms_phase, double &timerms_amp, double &inc_avg_amp) |
Calculates time-domain measurements (phase, amplitude, average) from phasors data. More... | |
xpower_type | calc_xpower_spec () |
Calculates and returns the cross-power spectrum for a given SBD array. More... | |
void | correct_vis () |
Corrects visibility data by applying fringe solution. More... | |
void | DisableOptimizeClosure () |
Disables optimize closure by setting underlying MHO_FringeRotation (fRot) optimizeClosure to false. More... | |
void | dump_manual_pcmodel (mho_json &plot_dict, int station_flag, std::string pol) |
void | dump_multitone_pcmodel (mho_json &plot_dict, int station_flag, std::string pol) |
void | DumpInfoToJSON (mho_json &plot_dict) |
Dumps fringe plot data into a JSON object for visualization/consumption by plotting routine. More... | |
void | EnableOptimizeClosure () |
Sets optimize closure to true in underlying MHO_FringeRotation (fRot) object. More... | |
void | Initialize () |
Initializes member variables by retrieving values from parameter and container stores. More... | |
void | SetContainerStore (MHO_ContainerStore *cStore) |
Setter for container store. More... | |
void | SetMBDAnchor (std::string flag) |
Setter for mbd anchor (either: 'sbd' or 'model') More... | |
void | SetOperatorToolbox (MHO_OperatorToolbox *toolbox) |
Setter for operator toolbox. More... | |
void | SetParameterStore (MHO_ParameterStore *pStore) |
Setter for parameter store. More... | |
void | SetVexInfo (const mho_json &vex_info) |
Setter for vex info. More... | |
Public Attributes | |
double | fAmp |
MHO_ContainerStore * | fContainerStore |
MHO_CyclicRotator< xpower_type > | fCyclicRotator |
double | fDelayRate |
xpower_amp_type | fDRAmpWorkspace |
xpower_type | fDRWorkspace |
MHO_MultidimensionalFastFourierTransform< xpower_type > | fFFTEngine |
xpower_type | fFringe |
double | fFringeRate |
std::complex< double > | fImagUnit |
xpower_amp_type | fMBDAmpWorkspace |
std::string | fMBDAnchor |
double | fMBDelay |
xpower_type | fMBDWorkspace |
std::vector< int > | fNLSBAP |
std::vector< int > | fNUSBAP |
MHO_ParameterStore * | fParamStore |
double | fRefFreq |
MHO_FringeRotation | fRot |
visibility_type * | fSBDArray |
std::vector< double > | fSBDBox |
double | fSBDelay |
std::size_t | fSBDMaxBin |
MHO_OperatorToolbox * | fToolbox |
double | fTotalSummedWeights |
bool | fValid |
mho_json | fVexInfo |
visibility_type * | fVisibilities |
weight_type * | fWeights |
Class MHO_ComputePlotData.
class for computing fringe plot information
hops::MHO_ComputePlotData::MHO_ComputePlotData | ( | ) |
|
inlinevirtual |
xpower_amp_type hops::MHO_ComputePlotData::calc_dr | ( | ) |
Calculates delay-rate (dr) function (amplitude vs delay rate)
std::string hops::MHO_ComputePlotData::calc_error_code | ( | const mho_json & | plot_dict | ) |
calcuates the fringe error code
void hops::MHO_ComputePlotData::calc_freqrms | ( | phasor_type & | phasors, |
double | coh_avg_phase, | ||
double | fringe_amp, | ||
double | total_summed_weights, | ||
double | snr, | ||
double & | freqrms_phase, | ||
double & | freqrms_amp, | ||
double & | inc_avg_amp_freq | ||
) |
Calculates frequency root mean square (phase and amplitude) for given phasors.
phasors | Reference to phasor_type object containing channel data |
coh_avg_phase | Coherent average phase in radians |
fringe_amp | Fringe amplitude |
total_summed_weights | Total summed weights |
snr | Signal-to-noise ratio |
freqrms_phase | Output: Frequency RMS phase |
freqrms_amp | Output: Frequency RMS amplitude |
inc_avg_amp_freq | Output: incoherent average amplitude (over frequency) |
xpower_amp_type hops::MHO_ComputePlotData::calc_mbd | ( | ) |
Calculates Multi-Band Delay (MBD) function (amplitude vs. mbd)
double hops::MHO_ComputePlotData::calc_phase | ( | ) |
Calculates fringe phase using weighted sum and fitted (delay, delay-rate) rotation.
std::string hops::MHO_ComputePlotData::calc_quality_code | ( | ) |
calcuates the fringe quality code
xpower_amp_type hops::MHO_ComputePlotData::calc_sbd | ( | ) |
Calculates Single Band Delay (SBD) function (amplitude vs. sbd)
phasor_type hops::MHO_ComputePlotData::calc_segs | ( | ) |
Calculates and returns time-averaged phasor segments for each channel.
void hops::MHO_ComputePlotData::calc_timerms | ( | phasor_type & | phasors, |
std::size_t | nseg, | ||
std::size_t | apseg, | ||
double | coh_avg_phase, | ||
double | fringe_amp, | ||
double | total_summed_weights, | ||
double | snr, | ||
double & | timerms_phase, | ||
double & | timerms_amp, | ||
double & | inc_avg_amp | ||
) |
Calculates time-domain measurements (phase, amplitude, average) from phasors data.
phasors | Input phasor data |
nseg | Number of segments in phasors data |
apseg | Average phase segment size |
coh_avg_phase | Coherent average phase (degrees) |
fringe_amp | Fringe amplitude |
total_summed_weights | Total summed weights |
snr | Signal to Noise Ratio |
timerms_phase | Output: Time RMS phase |
timerms_amp | Output: Time RMS amplitude |
inc_avg_amp | Output: incoherent average amplitude (over time) |
xpower_type hops::MHO_ComputePlotData::calc_xpower_spec | ( | ) |
Calculates and returns the cross-power spectrum for a given SBD array.
void hops::MHO_ComputePlotData::correct_vis | ( | ) |
Corrects visibility data by applying fringe solution.
|
inline |
Disables optimize closure by setting underlying MHO_FringeRotation (fRot) optimizeClosure to false.
void hops::MHO_ComputePlotData::dump_manual_pcmodel | ( | mho_json & | plot_dict, |
int | station_flag, | ||
std::string | pol | ||
) |
void hops::MHO_ComputePlotData::dump_multitone_pcmodel | ( | mho_json & | plot_dict, |
int | station_flag, | ||
std::string | pol | ||
) |
void hops::MHO_ComputePlotData::DumpInfoToJSON | ( | mho_json & | plot_dict | ) |
Dumps fringe plot data into a JSON object for visualization/consumption by plotting routine.
plot_dict | JSON object to store fringe plot data. |
|
inline |
Sets optimize closure to true in underlying MHO_FringeRotation (fRot) object.
void hops::MHO_ComputePlotData::Initialize | ( | ) |
Initializes member variables by retrieving values from parameter and container stores.
|
inline |
Setter for container store.
cStore | Pointer to MHO_ContainerStore object |
|
inline |
Setter for mbd anchor (either: 'sbd' or 'model')
flag | Flag indicating the MBD anchor type |
|
inline |
Setter for operator toolbox.
toolbox | Pointer to MHO_OperatorToolbox object |
|
inline |
Setter for parameter store.
pStore | Pointer to MHO_ParameterStore object |
|
inline |
Setter for vex info.
vex_info | Const reference to mho_json object containing VEX information (from root file) |
double hops::MHO_ComputePlotData::fAmp |
MHO_ContainerStore* hops::MHO_ComputePlotData::fContainerStore |
MHO_CyclicRotator< xpower_type > hops::MHO_ComputePlotData::fCyclicRotator |
double hops::MHO_ComputePlotData::fDelayRate |
xpower_amp_type hops::MHO_ComputePlotData::fDRAmpWorkspace |
xpower_type hops::MHO_ComputePlotData::fDRWorkspace |
MHO_MultidimensionalFastFourierTransform< xpower_type > hops::MHO_ComputePlotData::fFFTEngine |
xpower_type hops::MHO_ComputePlotData::fFringe |
double hops::MHO_ComputePlotData::fFringeRate |
std::complex< double > hops::MHO_ComputePlotData::fImagUnit |
xpower_amp_type hops::MHO_ComputePlotData::fMBDAmpWorkspace |
std::string hops::MHO_ComputePlotData::fMBDAnchor |
double hops::MHO_ComputePlotData::fMBDelay |
xpower_type hops::MHO_ComputePlotData::fMBDWorkspace |
std::vector< int > hops::MHO_ComputePlotData::fNLSBAP |
std::vector< int > hops::MHO_ComputePlotData::fNUSBAP |
MHO_ParameterStore* hops::MHO_ComputePlotData::fParamStore |
double hops::MHO_ComputePlotData::fRefFreq |
MHO_FringeRotation hops::MHO_ComputePlotData::fRot |
visibility_type* hops::MHO_ComputePlotData::fSBDArray |
std::vector< double > hops::MHO_ComputePlotData::fSBDBox |
double hops::MHO_ComputePlotData::fSBDelay |
std::size_t hops::MHO_ComputePlotData::fSBDMaxBin |
MHO_OperatorToolbox* hops::MHO_ComputePlotData::fToolbox |
double hops::MHO_ComputePlotData::fTotalSummedWeights |
bool hops::MHO_ComputePlotData::fValid |
mho_json hops::MHO_ComputePlotData::fVexInfo |
visibility_type* hops::MHO_ComputePlotData::fVisibilities |
weight_type* hops::MHO_ComputePlotData::fWeights |