datum_visibility_amplitude Struct Reference

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

#include "data/data_visibility_amplitude.h"

Public Member Functions

 datum_visibility_amplitude (double u, double v, double V, double err, double frequency=230e9, double t=0, std::string Station1="", std::string Station2="", std::string Source="")
 

Public Attributes

const double V
 Visibility amplitude value in Jy.
 
const double err
 Visibility amplitude error in Jy.
 
const double u
 u position measured in lambda.
 
const double v
 v position measured in lambda.
 
const double frequency
 Frequency in Hz, defaults to 230e9.
 
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 Source
 Source identifier, defaults to "".
 

Detailed Description

Defines the atomic element of the visibility amplitude data class. This contains the visibility amplitude with various additional accoutrements. This will be passed to all objects that require a visibility 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.

Within the datum_visibility_amplitude class, station codes are arbitrary, but elsewhere may be assumed to correspond to either the one- or two-letter station codes identified in https://eventhorizontelescope.teamwork.com/#notebooks/97662:

eht_station_codes.png
List of one- and two-letter EHT station codes.

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