Class MHO_FringeRotation.
More...
#include <MHO_FringeRotation.hh>
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 |
◆ 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: