My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::antenna::control::Refraction Class Reference

#include <Refraction.h>

Public Types

enum  Mode { OPTICAL, RADIO }
 

Public Member Functions

 Refraction ()
 
void reset ()
 
bool isUsable ()
 
bool setUsable (bool usable)
 
void setA (double a)
 
double getA ()
 
void setB (double b)
 
double getB ()
 
double apply (PointingCorrections *f)
 
void pack (signed *s_elements)
 

Detailed Description

Class to encapsulate refraction corrections

The standard approximation for atmospheric refraction is:

vac = obs - (A.cot(obs) + B.cot(obs)^3)

where vac is the elevation of the source as would be seen if there were no atmosphere, and obs is the elevation after refraction. Updates of the A and B terms are periodically received from the weather-station and recorded in an object of the following type.

Member Enumeration Documentation

Enumerate valid refraction models

Constructor & Destructor Documentation

Refraction::Refraction ( )

Constructor

....................................................................... Constructor just calls initialization method

Member Function Documentation

double Refraction::apply ( PointingCorrections f)

Apply the refraction correction to the pointing corrections

double gcp::antenna::control::Refraction::getA ( )
inline

Return the A coefficient of the above equation

double gcp::antenna::control::Refraction::getB ( )
inline

Return the B coefficient of the above equation

bool gcp::antenna::control::Refraction::isUsable ( )
inline

Method to query if this refraction correction is usable

void Refraction::pack ( signed *  s_elements)

Method to pack our refraction coefficients in a format suitable for writing to the register database

....................................................................... Record the refraction parameters in micro-arcseconds.

void Refraction::reset ( )

Reset internal data members to something sensible

....................................................................... Reset our data members to something sensible

void gcp::antenna::control::Refraction::setA ( double  a)
inline

Set the A coefficient of the above equation

void gcp::antenna::control::Refraction::setB ( double  b)
inline

Set the B coefficient of the above equation

bool gcp::antenna::control::Refraction::setUsable ( bool  usable)
inline

Method to set the usable status of this correction


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