HOPS
HOPS class reference
|
Class MHO_BasicFringeInfo. More...
#include <MHO_BasicFringeInfo.hh>
Public Member Functions | |
MHO_BasicFringeInfo () | |
virtual | ~MHO_BasicFringeInfo () |
Static Public Member Functions | |
static double | calculate_drate_error_v1 (double snr, double ref_freq, double total_nap, double ap_delta) |
Calculates and returns the delay rate error using SNR, reference frequency, total nap, and ap delta. More... | |
static double | calculate_drate_error_v2 (double snr, double ref_freq, double integration_time) |
Calculates and returns the delay rate error using SNR, reference frequency, and integration time. More... | |
static double | calculate_mbd_no_ion_error (double freq_spread, double snr) |
Calculates Multi-Band Delay error assuming no ionospheric effects. More... | |
static double | calculate_pfd (double snr, double pts_searched) |
Calculates Probability of False Detection (PFD) given Signal-to-Noise Ratio (SNR) and number of points searched. More... | |
static double | calculate_phase_delay_error (double sbavg, double snr, double ref_freq) |
Calculates phase delay error given sbavg, snr and reference frequency. More... | |
static double | calculate_phase_error (double sbavg, double snr) |
Calculates phase error given sideband average and signal-to-noise ratio. More... | |
static double | calculate_sbd_error (double sbd_sep, double snr, double sbavg) |
Calculates Single Band Delay (SBD) error using separation, SNR and average SBD. More... | |
static double | calculate_snr (double effective_npol, double ap_period, double samp_period, double total_ap_frac, double amp, double bw_corr_factor) |
Calculates Signal to Noise Ratio (SNR) using given parameters. More... | |
static double | calculate_theory_freqrms_amp (double nchan, double snr) |
Calculates theoretical frequency RMS amplitude error using given number of channels and signal-to-noise ratio. More... | |
static double | calculate_theory_freqrms_phase (double nchan, double snr) |
Calculates theoretical frequency RMS phase error using number of channels and signal-to-noise ratio. More... | |
static double | calculate_theory_timerms_amp (double nseg, double snr) |
Calculates theoretical time-averaged amplitude error using nseg and SNR. More... | |
static double | calculate_theory_timerms_phase (double nseg, double snr) |
Calculates theoretical RMS phase error for given number of (averaging) segments and SNR. More... | |
static void | correct_phases_mbd_anchor_sbd (double ref_freq, double freq0, double frequency_spacing, double delta_mbd, double &totphase_deg, double &resphase_deg) |
Corrects phase for MBD (anchoring to SBD) using reference frequency and frequency spacing. More... | |
static void | ion_covariance (int nfreq, double famp, double snr, double ref_freq, const std::vector< double > &chan_freqs, const std::vector< std::complex< double > > &chan_phasors, std::vector< double > &ion_sigmas) |
Only used by MHO_IonosphericFringeFitter, for computing the ionosphere dTEC/MBD covariance. More... | |
static std::string | leftpadzeros_integer (unsigned int n_places, int value) |
Pads an integer with leading zeros up to a specified number of places. More... | |
static std::string | make_legacy_datetime_format (legacy_hops_date ldate) |
Formats legacy date/time as HHMMSS.xx for output. More... | |
static std::string | make_legacy_datetime_format_v2 (legacy_hops_date ldate) |
Converts legacy_hops_date to format: YYYY:DDD:HHMMSS. More... | |
Class MHO_BasicFringeInfo.
collection of very simple static helper functions used when computing fringe information/parameters
|
inline |
|
inlinevirtual |
|
static |
Calculates and returns the delay rate error using SNR, reference frequency, total nap, and ap delta.
snr | Signal to Noise Ratio |
ref_freq | Reference frequency in GHz |
total_nap | Total number of accumulation periods |
ap_delta | accumulation period time-delta |
|
static |
Calculates and returns the delay rate error using SNR, reference frequency, and integration time.
snr | Signal to Noise Ratio (SNR) |
ref_freq | Reference frequency in GHz |
integration_time | Integration time |
|
static |
Calculates Multi-Band Delay error assuming no ionospheric effects.
freq_spread | Frequency spread in MHz |
snr | Signal-to-Noise Ratio (SNR) |
|
static |
Calculates Probability of False Detection (PFD) given Signal-to-Noise Ratio (SNR) and number of points searched.
snr | Signal-to-Noise Ratio |
pts_searched | Number of points searched |
|
static |
Calculates phase delay error given sbavg, snr and reference frequency.
sbavg | Average sideband |
snr | Signal to Noise Ratio |
ref_freq | Reference frequency |
|
static |
Calculates phase error given sideband average and signal-to-noise ratio.
sbavg | Average sideband |
snr | Signal to Noise Ratio |
|
static |
Calculates Single Band Delay (SBD) error using separation, SNR and average SBD.
sbd_sep | Single Band Delay separation |
snr | Signal to Noise Ratio |
sbavg | Average sideband |
|
static |
Calculates Signal to Noise Ratio (SNR) using given parameters.
effective_npol | Effective number of polarizations |
ap_period | accumulation period |
samp_period | Sampling period (assumes Nyquist sampling) |
total_ap_frac | total accumulation period weights used in amplitude summation |
amp | Amplitude of the fringe (correlation coeff) |
bw_corr_factor | Bandwidth correction factor (corrects for 'notches', etc.) |
|
static |
Calculates theoretical frequency RMS amplitude error using given number of channels and signal-to-noise ratio.
nchan | Number of channels |
snr | Signal to Noise Ratio |
|
static |
Calculates theoretical frequency RMS phase error using number of channels and signal-to-noise ratio.
nchan | Number of channels |
snr | Signal-to-Noise Ratio |
|
static |
Calculates theoretical time-averaged amplitude error using nseg and SNR.
nseg | Number of segments |
snr | Signal-to-Noise Ratio |
|
static |
Calculates theoretical RMS phase error for given number of (averaging) segments and SNR.
nseg | Effective number of segments actually included in fit |
snr | Signal to Noise Ratio. |
|
static |
Corrects phase for MBD (anchoring to SBD) using reference frequency and frequency spacing.
ref_freq | Reference frequency in MHz |
freq0 | Initial frequency in MHz |
frequency_spacing | Frequency spacing in MHz |
delta_mbd | - integer ambiguity (Multi-Band Delay - Single Band delay) |
totphase_deg | Total phase degree (output) |
resphase_deg | Residual phase degree (output) |
|
static |
Only used by MHO_IonosphericFringeFitter, for computing the ionosphere dTEC/MBD covariance.
nfreq | Number of frequency channels. |
famp | Amplitude of fringe |
snr | Signal-to-noise ratio for ionospheric delay calculation. |
ref_freq | Reference frequency in MHz. |
chan_freqs | Vector of channel frequencies in MHz. |
chan_phasors | Vector of complex phasor values. |
ion_sigmas | Output vector of ion sigams |
|
static |
Pads an integer with leading zeros up to a specified number of places.
n_places | Number of places to pad the integer with leading zeros. |
value | The integer value to be padded. |
|
static |
Formats legacy date/time as HHMMSS.xx for output.
ldate | Input legacy_hops_date to format |
|
static |
Converts legacy_hops_date to format: YYYY:DDD:HHMMSS.
ldate | Input date in legacy_hops_date format |