datum_visibility Struct Reference

Defines a struct containing individual visibilities and ancillary information. More...

#include "data/data_visibility.h"

Public Member Functions

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

Public Attributes

const std::complex< double > V
 Visibility value in Jy.
 
const std::complex< double > err
 Visibility 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 data class. This contains the visibility with various additional accoutrements. This will be passed to all objects that require a visibility 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 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: