CARMA C++
carma::interferometry::DelayInfo Class Reference

#include <carma/interferometry/DelayInfo.h>

Public Types

enum  pntStateEnum { RADEC, AZEL }
 Used to identify whether an antenna had its pointing position set as RA,Dec or Az,El. More...
 
typedef enum
carma::interferometry::DelayInfo::pntStateEnum 
pntStateType
 Used to identify whether an antenna had its pointing position set as RA,Dec or Az,El. More...
 

Public Member Functions

void copy (unsigned short antid, DelayInfo &from)
 Copy the values from one DelayInfo to this one. More...
 
 DelayInfo ()
 no-arg constructor More...
 
void reset ()
 Zero out this object (all antennas). More...
 
void reset (unsigned short antid)
 Zero the values for the given antenna, set its discontinuity parameter to true. More...
 
virtual ~DelayInfo ()
 destructor More...
 

Static Public Member Functions

static unsigned short numAntennas ()
 Number of antennas. More...
 

Public Attributes

double airTemp
 Air temperature, Kelvin. More...
 
std::vector< double > altitude
 Antenna station altitude, meters. More...
 
double atmPressure
 Atmospheric pressure, mbar. More...
 
std::vector< double > axisDelay
 Array containing axis misalignment delay for each antenna. More...
 
std::vector< double > axisMis
 Antenna axis misalignment, meters. More...
 
std::vector< double > calculatedAt
 The time when the delays were calculated, MJD units. More...
 
std::vector< double > geometricDelay
 Array containing geometric delay (including axis misalignment delay) for each antenna. More...
 
std::vector< double > heightDelay
 Array containing additional refractive height delay for each antenna. More...
 
std::vector< double > ionosphericDelay
 Array containing ionospheric delay for each antenna. More...
 
std::vector< double > latitude
 Antenna station geocentric latitude, radians. More...
 
std::vector< double > longitude
 Antenna station geocentric longitude, radians. More...
 
std::string name
 identifying name for this object More...
 
std::vector< double > pathlength
 Array containing tropospheric pathlength for each antenna (meters) More...
 
std::vector< double > phsAz
 Phase center azimuth, radians. More...
 
std::vector< double > phsDec
 Phase center declination, radians. More...
 
std::vector< double > phsEl
 Phase center elevation, radians. More...
 
std::vector< double > phsRa
 Phase center right ascension, radians. More...
 
std::vector< double > pntAz
 Pointing center azimuth, radians. More...
 
std::vector< double > pntDec
 Pointing center declination, radians. More...
 
std::vector< double > pntEl
 Pointing center elevation, radians. More...
 
std::vector< double > pntRa
 Following are the parameters of the source towards which the antenna is pointing The constructor will set all these values to zero. More...
 
std::vector< pntStateTypepntState
 Pointing center state: AZEL or RADEC. More...
 
std::vector< double > refractivity
 Array containing zeinith refractivity for each antenna (dimensionless) More...
 
double relHumid
 Relative humidity, percent. More...
 
std::vector< std::string > source
 Following are the parameters related to antenna locations (X,Y,Z,latitude,longitude, axisMis). More...
 
std::vector< double > thermalDelay
 Array containing thermal delay for each antenna. More...
 
std::vector< double > timestamp
 Time for which these delays were calculated, MJD units. More...
 
std::vector< double > totalDelay
 Array containing the total calculated delay for each antenna The constructor will set this to zero. More...
 
std::vector< double > totalDelayPol1
 Total calculated delay per antenna for polarization state 1. More...
 
std::vector< double > totalDelayPol2
 Total calculated delay per antenna for polarization state 2. More...
 
std::vector< double > totalFixedDelay
 Array containing the total calculated fixed delay for each antenna The constructor will set this to zero. More...
 
std::vector< double > troposphericDelay
 Array containing tropospheric delay for each antenna. More...
 
std::vector< double > U
 Source U position in equinox of date (not J2000), meters. More...
 
std::vector< double > V
 Source V position in equinox of date (not J2000), meters. More...
 
std::vector< double > validUntil
 The time when the delays validity expires, MJD units. More...
 
std::vector< double > W
 Soruce W position in equinox of date (not J2000), meters. More...
 
std::vector< double > X
 Antenna X ground position, meters. More...
 
std::vector< double > Y
 Antenna Y ground position, meters. More...
 
std::vector< double > Z
 Antenna Z ground position, meters. More...
 

Detailed Description

This class keeps a self-consistent values for delay parameters. It contains parameters related to antenna locations, source coordinates, weather information, delay values, and delay usage indicators (turn on/off certain delays). The boolean arrays use... indicate whether or not the Delay Engine should include certain delays in the total delay calculation (per antenna). The constructor will set all these to true.

The Delay Engine can safely use one of an instance of this class to calculate delays.

Definition at line 41 of file DelayInfo.h.

Member Typedef Documentation

Used to identify whether an antenna had its pointing position set as RA,Dec or Az,El.

Member Enumeration Documentation

Used to identify whether an antenna had its pointing position set as RA,Dec or Az,El.

Definition at line 140 of file DelayInfo.h.

Constructor & Destructor Documentation

carma::interferometry::DelayInfo::DelayInfo ( )

no-arg constructor

virtual carma::interferometry::DelayInfo::~DelayInfo ( )
virtual

destructor

Member Function Documentation

void carma::interferometry::DelayInfo::copy ( unsigned short  antid,
DelayInfo from 
)

Copy the values from one DelayInfo to this one.

Parameters
antidAntenna identification, the antenna to copy
fromthe DelayInfo object from which to copy.
static unsigned short carma::interferometry::DelayInfo::numAntennas ( )
static

Number of antennas.

Definition at line 289 of file DelayInfo.h.

void carma::interferometry::DelayInfo::reset ( )

Zero out this object (all antennas).

Set discontinuity parameters to true, reset all member variables, set all vector values to zero.

void carma::interferometry::DelayInfo::reset ( unsigned short  antid)

Zero the values for the given antenna, set its discontinuity parameter to true.

Member variables (e.g. weather) are untouched since they are the same for all antennas.

Parameters
antidAntenna identification

Member Data Documentation

double carma::interferometry::DelayInfo::airTemp

Air temperature, Kelvin.

The constructor will set to Atmosphere.DEFAULT_AIR_TEMP

See Also
carma::environment::Atmosphere

Definition at line 247 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::altitude

Antenna station altitude, meters.

Definition at line 100 of file DelayInfo.h.

double carma::interferometry::DelayInfo::atmPressure

Atmospheric pressure, mbar.

The constructor will set to Atmosphere.DEFAULT_ATM_PRESSURE

See Also
carma::environment::Atmosphere

Definition at line 254 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::axisDelay

Array containing axis misalignment delay for each antenna.

Definition at line 153 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::axisMis

Antenna axis misalignment, meters.

Definition at line 103 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::calculatedAt

The time when the delays were calculated, MJD units.

This is NOT the time for which they were calculated.

Todo:
mpml must change to vecto, too.

Definition at line 226 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::geometricDelay

Array containing geometric delay (including axis misalignment delay) for each antenna.

Definition at line 159 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::heightDelay

Array containing additional refractive height delay for each antenna.

Not this is the difference between this antenna and the array reference point.

Definition at line 167 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::ionosphericDelay

Array containing ionospheric delay for each antenna.

Definition at line 173 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::latitude

Antenna station geocentric latitude, radians.

Definition at line 94 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::longitude

Antenna station geocentric longitude, radians.

Definition at line 97 of file DelayInfo.h.

std::string carma::interferometry::DelayInfo::name

identifying name for this object

Definition at line 55 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::pathlength

Array containing tropospheric pathlength for each antenna (meters)

Definition at line 179 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::phsAz

Phase center azimuth, radians.

Definition at line 130 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::phsDec

Phase center declination, radians.

Definition at line 121 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::phsEl

Phase center elevation, radians.

Definition at line 133 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::phsRa

Phase center right ascension, radians.

Definition at line 118 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::pntAz

Pointing center azimuth, radians.

Definition at line 124 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::pntDec

Pointing center declination, radians.

Definition at line 115 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::pntEl

Pointing center elevation, radians.

Definition at line 127 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::pntRa

Following are the parameters of the source towards which the antenna is pointing The constructor will set all these values to zero.

Pointing center right ascension, radians

Definition at line 112 of file DelayInfo.h.

std::vector<pntStateType> carma::interferometry::DelayInfo::pntState

Pointing center state: AZEL or RADEC.

Definition at line 147 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::refractivity

Array containing zeinith refractivity for each antenna (dimensionless)

Definition at line 185 of file DelayInfo.h.

double carma::interferometry::DelayInfo::relHumid

Relative humidity, percent.

The constructor will set to Atmosphere.DEFAULT_RH;

See Also
carma::environment::Atmosphere

Definition at line 261 of file DelayInfo.h.

std::vector<std::string> carma::interferometry::DelayInfo::source

Following are the parameters related to antenna locations (X,Y,Z,latitude,longitude, axisMis).

The constructor will set all these values to zero. sourcename for which delays are being calculated

Definition at line 71 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::thermalDelay

Array containing thermal delay for each antenna.

Definition at line 191 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::timestamp

Time for which these delays were calculated, MJD units.

See Also
carma::util::Time This vector allows each antenna to have a different timestamp.

Definition at line 240 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::totalDelay

Array containing the total calculated delay for each antenna The constructor will set this to zero.

Definition at line 203 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::totalDelayPol1

Total calculated delay per antenna for polarization state 1.

Definition at line 208 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::totalDelayPol2

Total calculated delay per antenna for polarization state 2.

Definition at line 213 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::totalFixedDelay

Array containing the total calculated fixed delay for each antenna The constructor will set this to zero.

Definition at line 197 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::troposphericDelay

Array containing tropospheric delay for each antenna.

Definition at line 219 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::U

Source U position in equinox of date (not J2000), meters.

Definition at line 83 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::V

Source V position in equinox of date (not J2000), meters.

Definition at line 86 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::validUntil

The time when the delays validity expires, MJD units.

Todo:
mpml must change to vecto, too.

Definition at line 232 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::W

Soruce W position in equinox of date (not J2000), meters.

Definition at line 89 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::X

Antenna X ground position, meters.

Definition at line 74 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::Y

Antenna Y ground position, meters.

Definition at line 77 of file DelayInfo.h.

std::vector<double> carma::interferometry::DelayInfo::Z

Antenna Z ground position, meters.

Definition at line 80 of file DelayInfo.h.


The documentation for this class was generated from the following file: