Class MHO_FringeRotation.
More...
#include <MHO_FringeRotation.hh>
|
| | MHO_FringeRotation () |
| |
| virtual | ~MHO_FringeRotation () |
| |
| double | CalcSidebandCorrection (double mbd) const |
| | Public accessor for the sideband correction phase angle. Returns the value of calc_sideband_correction(mbd), which depends only on mbd and the sideband/closure settings. Used to factor vrot into per-channel constant and per-AP varying parts for efficient inner-loop computation. More...
|
| |
| void | SetNSBDBins (int n_sbd_bins) |
| | Setter for N sbd bins. More...
|
| |
| void | SetOptimizeClosureFalse () |
| | Setter for optimize closure false. More...
|
| |
| void | SetOptimizeClosureTrue () |
| | Setter for optimize closure true. More...
|
| |
| void | SetSBDMax (double sbd_max) |
| | Setter for sbd max. More...
|
| |
| void | SetSBDMaxBin (int sbd_max_bin) |
| | Setter for sbd max bin. More...
|
| |
| void | SetSBDSeparation (double sbd_sep) |
| | Setter for SBD bin separation. More...
|
| |
| void | SetSideband (int sb) |
| | Setter for sideband - passes the sideband information if optimize_closure requires single-sideband correction *. More...
|
| |
| virtual std::complex< double > | vrot (double time_delta, double freq, double ref_freq, double dr, double mbd) const |
| | Calculates fringe rotation for given delay, delay-rate, time and frequency difference. More...
|
| |
Class MHO_FringeRotation.
class to implement the fringe rotation functionality originally found in vrot.c
- Author
- J. Barrett - barre.nosp@m.ttj@.nosp@m.mit.e.nosp@m.du
- Date
- Fri Feb 17 13:35:37 2023 -0500
◆ MHO_FringeRotation()
| hops::MHO_FringeRotation::MHO_FringeRotation |
( |
| ) |
|
◆ ~MHO_FringeRotation()
| virtual hops::MHO_FringeRotation::~MHO_FringeRotation |
( |
| ) |
|
|
inlinevirtual |
◆ CalcSidebandCorrection()
| double hops::MHO_FringeRotation::CalcSidebandCorrection |
( |
double |
mbd | ) |
const |
|
inline |
Public accessor for the sideband correction phase angle. Returns the value of calc_sideband_correction(mbd), which depends only on mbd and the sideband/closure settings. Used to factor vrot into per-channel constant and per-AP varying parts for efficient inner-loop computation.
◆ SetNSBDBins()
| void hops::MHO_FringeRotation::SetNSBDBins |
( |
int |
n_sbd_bins | ) |
|
|
inline |
Setter for N sbd bins.
- Parameters
-
| n_sbd_bins | set the number of Single Band Delay bins |
◆ SetOptimizeClosureFalse()
| void hops::MHO_FringeRotation::SetOptimizeClosureFalse |
( |
| ) |
|
|
inline |
Setter for optimize closure false.
◆ SetOptimizeClosureTrue()
| void hops::MHO_FringeRotation::SetOptimizeClosureTrue |
( |
| ) |
|
|
inline |
Setter for optimize closure true.
◆ SetSBDMax()
| void hops::MHO_FringeRotation::SetSBDMax |
( |
double |
sbd_max | ) |
|
|
inline |
Setter for sbd max.
- Parameters
-
| sbd_max | the single-band delay value at the fringe maximum |
◆ SetSBDMaxBin()
| void hops::MHO_FringeRotation::SetSBDMaxBin |
( |
int |
sbd_max_bin | ) |
|
|
inline |
Setter for sbd max bin.
- Parameters
-
| sbd_max_bin | the bin value for the fringe maximum (Single Band Delay axis) |
◆ SetSBDSeparation()
| void hops::MHO_FringeRotation::SetSBDSeparation |
( |
double |
sbd_sep | ) |
|
|
inline |
Setter for SBD bin separation.
- Parameters
-
| sbd_sep | value of the (time) delta between two adjacent points in SBD space |
◆ SetSideband()
| void hops::MHO_FringeRotation::SetSideband |
( |
int |
sb | ) |
|
|
inline |
Setter for sideband - passes the sideband information if optimize_closure requires single-sideband correction *.
- Parameters
-
| sb | Sideband type: 1 for USB, 0 for DSB, -1 for LSB |
◆ vrot()
| std::complex< double > hops::MHO_FringeRotation::vrot |
( |
double |
time_delta, |
|
|
double |
freq, |
|
|
double |
ref_freq, |
|
|
double |
dr, |
|
|
double |
mbd |
|
) |
| const |
|
virtual |
Calculates fringe rotation for given delay, delay-rate, time and frequency difference.
- Parameters
-
| time_delta | Time difference from fourfit reference time (s) |
| freq | Channel frequency (MHz) |
| ref_freq | Reference frequency (MHz) |
| dr | Delay rate () |
| mbd | Multi-Band Delay (us) |
- Returns
- Complex value representing fringe rotation
- Note
- This is a virtual function.
The documentation for this class was generated from the following files: