//astronomy/io.github.cosinekitty.astronomy/inverseRefractionAngle
fun inverseRefractionAngle(refraction: Refraction, bentAltitude: Double): Double
Calculates the inverse of an atmospheric refraction angle.
Given an observed altitude angle that includes atmospheric refraction, calculates the negative angular correction to obtain the unrefracted altitude. This is useful for cases where observed horizontal coordinates are to be converted to another orientation system, but refraction first must be removed from the observed position.
The angular adjustment in degrees to be added to the altitude angle to remove atmospheric lensing. This will be less than or equal to zero.
refraction | The option selecting which refraction correction to use. |
bentAltitude | The apparent altitude that includes atmospheric refraction. |