datum_crosshand_visibilities Struct Reference

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

#include "data/data_crosshand_visibilities.h"

Public Member Functions

 datum_crosshand_visibilities (double u, double v, double phi1, double phi2, std::complex< double > RR, std::complex< double > RRerr, std::complex< double > LL, std::complex< double > LLerr, std::complex< double > RL, std::complex< double > RLerr, std::complex< double > LR, std::complex< double > LRerr, double frequency=230e9, double t=0, std::string Station1="", std::string Station2="", std::string Source="")
 

Public Attributes

const std::complex< double > RR
 
const std::complex< double > LL
 
const std::complex< double > RL
 
const std::complex< double > LR
 Visibility value in Jy.
 
const std::complex< double > RRerr
 
const std::complex< double > LLerr
 
const std::complex< double > RLerr
 
const std::complex< double > LRerr
 Visibility error in Jy.
 
const double u
 u position measured in lambda.
 
const double v
 v position measured in lambda.
 
const double phi1
 field rotation angle at station1 measured in radians.
 
const double phi2
 field rotation angle at station1 measured in radians.
 
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 RR, LL, RL, and LR visibilities 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 visibilities are pre-rotated by the the field rotation angle, and thus this must be folded into subsequent D-term calibration.


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