CppEphem
Namespaces | Functions | Variables
CppEphem Namespace Reference

Namespaces

 StrOpt
 

Functions

double c ()
 speed of light (meters/second) More...
 
double c_au_per_day ()
 speed of light (astronomical units)/day More...
 
void CorrectionsInterp (bool set_interp)
 Set the corrections object to use interpolation. More...
 
double deps (const double &mjd)
 Earth obliquity correction for a given modified julian date (radians) More...
 
double dpsi (const double &mjd)
 Earth longitude correction for a given modified julian date (radians) More...
 
double dut1 (const double &mjd)
 Return dut1 based on a given modified julian date (seconds) More...
 
double dut1Calc (const double &mjd)
 Set the time from a vector representing Greenwich Apparent Sidereal Time. More...
 
double dut1Error (const double &mjd=51544.5)
 
double EstimateAltitude_m (double pressure_hPa)
 Method for estimating altitude (in meters) from atmospheric pressure (in hPa) More...
 
double EstimatePressure_hPa (double elevation_m)
 Method for estimating atmospheric pressure (in hPa) from altitude (in meters) More...
 
double julian_date_J2000 ()
 Julian Date corresponding to J2000. More...
 
double m_per_au ()
 meters per astronomical unit More...
 
std::string NutationFile (void)
 Return the name of the file used for defining the corrections. More...
 
double SeaLevelTemp_C ()
 
double SeaLevelTemp_F ()
 
double SeaLevelTemp_K ()
 
double sec_per_day ()
 Seconds per day. More...
 
void SetNutationFile (const std::string &filename)
 Set the name of the file to use for defining the nutation corrections. More...
 
void SetTtUt1HistFile (const std::string &filename)
 Set the name of the file to use for defining the historic TT-UT1 corrections. More...
 
void SetTtUt1PredFile (const std::string &filename)
 Set the name of the file to use for defining the predicted TT-UT1 corrections. More...
 
double Temp_C2F (const double &temp_C)
 
double Temp_C2K (const double &temp_C)
 
double Temp_F2C (const double &temp_F)
 
double Temp_F2K (const double &temp_F)
 
double Temp_K2C (const double &temp_K)
 
double Temp_K2F (const double &temp_K)
 
double ttut1 (const double &mjd)
 TT-UT1 correction for a given MJD (seconds) More...
 
std::string TtUt1HistFile (void)
 Return the name of the file used for defining the corrections. More...
 
std::string TtUt1PredFile (void)
 Return the name of the file used for defining the corrections. More...
 
double xp (const double &mjd)
 Polar motion (x) for a given modified julian date (radians) More...
 
double yp (const double &mjd)
 Polar motion (x) for a given modified julian date (radians) More...
 

Variables

static CECorrections corrections
 

Function Documentation

◆ c()

double CppEphem::c ( )
inline

speed of light (meters/second)

Definition at line 68 of file CENamespace.h.

◆ c_au_per_day()

double CppEphem::c_au_per_day ( )
inline

speed of light (astronomical units)/day

Definition at line 69 of file CENamespace.h.

◆ CorrectionsInterp()

void CppEphem::CorrectionsInterp ( bool  set_interp)

Set the corrections object to use interpolation.

Parameters
[in]set_interpSpecifiy whether or not to use interpolation

Definition at line 99 of file CENamespace.cpp.

◆ deps()

double CppEphem::deps ( const double &  mjd)

Earth obliquity correction for a given modified julian date (radians)

Parameters
[in]mjdModified Julian Date (MJD)
Returns
Earth obliquity correction for a given MJD (radians)

Definition at line 172 of file CENamespace.cpp.

◆ dpsi()

double CppEphem::dpsi ( const double &  mjd)

Earth longitude correction for a given modified julian date (radians)

Parameters
[in]mjdModified Julian Date (MJD)
Returns
Earth longitude correction for a given MJD (radians)

Definition at line 184 of file CENamespace.cpp.

◆ dut1()

double CppEphem::dut1 ( const double &  mjd)

Return dut1 based on a given modified julian date (seconds)

Parameters
[in]mjdModified Julian Date (MJD)
Returns
UT1-UTC correction for a given MJD (seconds)

Definition at line 111 of file CENamespace.cpp.

◆ dut1Calc()

double CppEphem::dut1Calc ( const double &  mjd)

Set the time from a vector representing Greenwich Apparent Sidereal Time.

The elements are as follows: [0]=hours, [1]=minutes, [2]=whole seconds, [3]=fractional seconds

Definition at line 133 of file CENamespace.cpp.

◆ dut1Error()

double CppEphem::dut1Error ( const double &  mjd = 51544.5)

Definition at line 123 of file CENamespace.cpp.

◆ EstimateAltitude_m()

double CppEphem::EstimateAltitude_m ( double  pressure_hPa)
inline

Method for estimating altitude (in meters) from atmospheric pressure (in hPa)

Definition at line 97 of file CENamespace.h.

◆ EstimatePressure_hPa()

double CppEphem::EstimatePressure_hPa ( double  elevation_m)
inline

Method for estimating atmospheric pressure (in hPa) from altitude (in meters)

Definition at line 100 of file CENamespace.h.

◆ julian_date_J2000()

double CppEphem::julian_date_J2000 ( )
inline

Julian Date corresponding to J2000.

Definition at line 67 of file CENamespace.h.

◆ m_per_au()

double CppEphem::m_per_au ( )
inline

meters per astronomical unit

Definition at line 70 of file CENamespace.h.

◆ NutationFile()

std::string CppEphem::NutationFile ( void  )

Return the name of the file used for defining the corrections.

Returns
Filename of corrections file

Definition at line 33 of file CENamespace.cpp.

◆ SeaLevelTemp_C()

double CppEphem::SeaLevelTemp_C ( )
inline

Definition at line 55 of file CENamespace.h.

◆ SeaLevelTemp_F()

double CppEphem::SeaLevelTemp_F ( )
inline

Definition at line 56 of file CENamespace.h.

◆ SeaLevelTemp_K()

double CppEphem::SeaLevelTemp_K ( )
inline

Definition at line 54 of file CENamespace.h.

◆ sec_per_day()

double CppEphem::sec_per_day ( )
inline

Seconds per day.

Definition at line 71 of file CENamespace.h.

◆ SetNutationFile()

void CppEphem::SetNutationFile ( const std::string &  filename)

Set the name of the file to use for defining the nutation corrections.

Parameters
[in]filenameFilename of corrections file

Definition at line 66 of file CENamespace.cpp.

◆ SetTtUt1HistFile()

void CppEphem::SetTtUt1HistFile ( const std::string &  filename)

Set the name of the file to use for defining the historic TT-UT1 corrections.

Parameters
[in]filenameFilename of corrections file

Definition at line 77 of file CENamespace.cpp.

◆ SetTtUt1PredFile()

void CppEphem::SetTtUt1PredFile ( const std::string &  filename)

Set the name of the file to use for defining the predicted TT-UT1 corrections.

Parameters
[in]filenameFilename of corrections file

Definition at line 88 of file CENamespace.cpp.

◆ Temp_C2F()

double CppEphem::Temp_C2F ( const double &  temp_C)
inline

Definition at line 59 of file CENamespace.h.

◆ Temp_C2K()

double CppEphem::Temp_C2K ( const double &  temp_C)
inline

Definition at line 60 of file CENamespace.h.

◆ Temp_F2C()

double CppEphem::Temp_F2C ( const double &  temp_F)
inline

Definition at line 61 of file CENamespace.h.

◆ Temp_F2K()

double CppEphem::Temp_F2K ( const double &  temp_F)
inline

Definition at line 62 of file CENamespace.h.

◆ Temp_K2C()

double CppEphem::Temp_K2C ( const double &  temp_K)
inline

Definition at line 63 of file CENamespace.h.

◆ Temp_K2F()

double CppEphem::Temp_K2F ( const double &  temp_K)
inline

Definition at line 64 of file CENamespace.h.

◆ ttut1()

double CppEphem::ttut1 ( const double &  mjd)

TT-UT1 correction for a given MJD (seconds)

Parameters
[in]mjdModified Julian Date (MJD)
Returns
TT-UT1 correction for a given MJD (seconds)

Definition at line 196 of file CENamespace.cpp.

◆ TtUt1HistFile()

std::string CppEphem::TtUt1HistFile ( void  )

Return the name of the file used for defining the corrections.

Returns
Filename of corrections file

Definition at line 44 of file CENamespace.cpp.

◆ TtUt1PredFile()

std::string CppEphem::TtUt1PredFile ( void  )

Return the name of the file used for defining the corrections.

Returns
Filename of corrections file

Definition at line 55 of file CENamespace.cpp.

◆ xp()

double CppEphem::xp ( const double &  mjd)

Polar motion (x) for a given modified julian date (radians)

Parameters
[in]mjdModified Julian Date (MJD)
Returns
x-polar motion correction for a given MJD (radians)

Definition at line 148 of file CENamespace.cpp.

◆ yp()

double CppEphem::yp ( const double &  mjd)

Polar motion (x) for a given modified julian date (radians)

Parameters
[in]mjdModified Julian Date (MJD)
Returns
x-polar motion correction for a given MJD (radians)

Definition at line 160 of file CENamespace.cpp.

Variable Documentation

◆ corrections

CECorrections CppEphem::corrections
static

Definition at line 111 of file CENamespace.h.