HLCC Documentation 2.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
hlcc::eltpk::AmbientData Class Reference

#include <ambientData.hpp>

Public Member Functions

 AmbientData (std::shared_ptr< OldbInterface > oldb)
 
virtual ~AmbientData ()
 
void RefreshAsm ()
 
void RefreshAsmAsync ()
 
double GetTemperature ()
 
double GetPressure ()
 
double GetHumidity ()
 
double GetObservingWavelength () const
 
void SetObservingWavelength (double observing_wavelength)
 
ptk::Dut1 GetDut1 () const
 
void SetDut1 (ptk::Dut1 dut1)
 
const ptk::Radians GetXp ()
 
const ptk::Radians GetYp ()
 

Constructor & Destructor Documentation

◆ AmbientData()

hlcc::eltpk::AmbientData::AmbientData ( std::shared_ptr< OldbInterface > oldb)

Ctor.

◆ ~AmbientData()

hlcc::eltpk::AmbientData::~AmbientData ( )
virtual

Member Function Documentation

◆ GetDut1()

ptk::Dut1 hlcc::eltpk::AmbientData::GetDut1 ( ) const

Gets DUT1 (UT1 − UTC), a measure of Earth's actual rotational velocity.

◆ GetHumidity()

double hlcc::eltpk::AmbientData::GetHumidity ( )

Air humidity as a fraction, averaged over ~1 min by the ASM. It gets used for ApparentToObserved.

◆ GetObservingWavelength()

double hlcc::eltpk::AmbientData::GetObservingWavelength ( ) const

Gets the observing wavelength (in m) to be used for refraction in astrometric transformations. If SetObservingWavelength was called, that value will be returned. Otherwise the hardcoded default value of 650 nm is used.

◆ GetPressure()

double hlcc::eltpk::AmbientData::GetPressure ( )

Ambient pressure in Pa, averaged over ~1 min by the ASM. It gets used for ApparentToObserved.

◆ GetTemperature()

double hlcc::eltpk::AmbientData::GetTemperature ( )

Ambient temperature in K, averaged over ~1 min by the ASM. It gets used for ApparentToObserved.

◆ GetXp()

const ptk::Radians hlcc::eltpk::AmbientData::GetXp ( )

Gets Polar motion coefficient (x).

◆ GetYp()

const ptk::Radians hlcc::eltpk::AmbientData::GetYp ( )

Gets Polar motion coefficient (y).

◆ RefreshAsm()

void hlcc::eltpk::AmbientData::RefreshAsm ( )

Refresh the ASM data supplied in GetTemperature, GetPressure, GetPressure.

Access to the external ASM (OLDB) is done in the same thread.

◆ RefreshAsmAsync()

void hlcc::eltpk::AmbientData::RefreshAsmAsync ( )

Calls RefreshAsm in a background thread and returns immediately. For performance-critical tasks, this method should be used.

◆ SetDut1()

void hlcc::eltpk::AmbientData::SetDut1 ( ptk::Dut1 dut1)

Sets DUT1, as obtained from TRS or otherwise through the operator.

◆ SetObservingWavelength()

void hlcc::eltpk::AmbientData::SetObservingWavelength ( double observing_wavelength)

Sets the observing wavelength (in m) to be used for refraction in astrometric transformations.


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