|
HLCC Documentation 2.2.0
|
#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 () |
| hlcc::eltpk::AmbientData::AmbientData | ( | std::shared_ptr< OldbInterface > | oldb | ) |
Ctor.
|
virtual |
| ptk::Dut1 hlcc::eltpk::AmbientData::GetDut1 | ( | ) | const |
Gets DUT1 (UT1 − UTC), a measure of Earth's actual rotational velocity.
| double hlcc::eltpk::AmbientData::GetHumidity | ( | ) |
Air humidity as a fraction, averaged over ~1 min by the ASM. It gets used for ApparentToObserved.
| 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.
| double hlcc::eltpk::AmbientData::GetPressure | ( | ) |
Ambient pressure in Pa, averaged over ~1 min by the ASM. It gets used for ApparentToObserved.
| double hlcc::eltpk::AmbientData::GetTemperature | ( | ) |
Ambient temperature in K, averaged over ~1 min by the ASM. It gets used for ApparentToObserved.
| const ptk::Radians hlcc::eltpk::AmbientData::GetXp | ( | ) |
Gets Polar motion coefficient (x).
| const ptk::Radians hlcc::eltpk::AmbientData::GetYp | ( | ) |
Gets Polar motion coefficient (y).
| 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.
| void hlcc::eltpk::AmbientData::RefreshAsmAsync | ( | ) |
Calls RefreshAsm in a background thread and returns immediately. For performance-critical tasks, this method should be used.
| void hlcc::eltpk::AmbientData::SetDut1 | ( | ptk::Dut1 | dut1 | ) |
Sets DUT1, as obtained from TRS or otherwise through the operator.
Sets the observing wavelength (in m) to be used for refraction in astrometric transformations.