datum_closure_phase Struct Reference
Defines a struct containing individual closure phases and ancillary information. More...
#include "data/data_closure_phase.h"
Public Member Functions | |
datum_closure_phase (double u1, double v1, double u2, double v2, double CP, double err, double frequency=230e9, double t=0, std::string Station1="", std::string Station2="", std::string Station3="", std::string Source="") | |
Public Attributes | |
const double | CP |
Closure phase in degrees. | |
const double | err |
Closure phase error in degrees. | |
const double | u1 |
u position of station 1, measured in lambda. | |
const double | v1 |
v position of station 1, measured in lambda. | |
const double | u2 |
u position of station 2, measured in lambda. | |
const double | v2 |
v position of station 2, measured in lambda. | |
const double | u3 |
u position of station 3, measured in lambda. | |
const double | v3 |
v position of station 3, measured in lambda. | |
const double | frequency |
Frequency in Hz, defaults to 230 GHz. | |
const double | wavelength |
Wavelength in cm. | |
const double | tJ2000 |
Time since Jan 1, 2000 in s, defaults to 0. | |
const std::string | Station1 |
Station 1 identifier, defaults to "". | |
const std::string | Station2 |
Station 2 identifier, defaults to "". | |
const std::string | Station3 |
Station 3 identifier, defaults to "". | |
const std::string | Source |
Source identifier, defaults to "". | |
Detailed Description
Defines the atomic element of the closure phase data class. This contains the closure phase with various additional accoutrements. This will be passed to all objects that require a closure phase data value (e.g., likelihoods) and therefore can accrete additional elements but cannot rearrange elements internally to ensure backwards compatability. Because data must never change during analysis, all elements are necessarily consts, requiring some minor gymnastics at initialization. Note that here we define the closure phase to be \({\rm arg}(V_{12} V_{23} V_{31})\).
- Warning
- Currently forces u1+u2+u3=0 and v1+v2+v3=0.
- Todo:
- Define a standard for identifying stations and sources.
The documentation for this struct was generated from the following files:
- data/data_closure_phase.h
- data/data_closure_phase.cpp