datum_closure_amplitude Struct Reference

Defines a struct containing individual closure amplitudes and ancillary information. More...

#include "data/data_closure_amplitude.h"

Public Member Functions

 datum_closure_amplitude (double u1, double v1, double u2, double v2, double u3, double v3, double CA, double err, double frequency=230e9, double t=0, std::string Station1="", std::string Station2="", std::string Station3="", std::string Station4="", std::string Source="")
 

Public Attributes

const double CA
 Closure amplitude value.
 
const double err
 Closure amplitude error.
 
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 u4
 u position of station 4, measured in lambda.
 
const double v4
 v position of station 4, 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 Station4
 Station 4 identifier, defaults to "".
 
const std::string Source
 Source identifier, defaults to "".
 

Detailed Description

Defines the atomic element of the closure amplitude data class. This contains the closure amplitude with various additional accoutrements. This will be passed to all objects that require a closure amplitude 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 amplitude is defined as \((|V_{12}| |V_{34}|) / (|V_{13}| |V_{24}|) \).

Warning
Currently forces u1+u2+u3+u4=0 and v1+v2+v3+v4=0.
Todo:
Define a standard for identifying stations and sources.

The documentation for this struct was generated from the following files: