|
CelestialCalendar 1.0.0 · unreleased development @ 67a7c4c79a4a4a6aa7e703c9e6f0039ae34bee82
|
Functions | |
| auto | apply_tp_correction (const toolbox::AngleDeg &r_native, const Params ¶ms) -> toolbox::AngleDeg |
| Apply the standard temperature/pressure correction to a native refraction value. | |
| auto | validate_params (const Params ¶ms) -> void |
| Validate refraction parameters are finite and above the numerical pole at −273°C. | |
|
inlinenodiscard |
Apply the standard temperature/pressure correction to a native refraction value.
| r_native | The refraction at 10°C/1010 hPa, in degrees. |
| params | The actual atmospheric conditions. |
|
inline |
Validate refraction parameters are finite and above the numerical pole at −273°C.
| std::invalid_argument | If temperature is not finite or ≤ −273°C, or pressure is not finite or non-positive. |