mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-03-10 10:38:13 -04:00
Kotlin: Another batch of functions ported.
Converting between radians and degrees. Clamping angles to a desired range of degrees. Converting between vector, spherical, horizontal. Refraction and inverse refraction.
This commit is contained in:
@@ -1618,7 +1618,7 @@ the rings appear edge-on, and are thus nearly invisible from the Earth. The `rin
|
||||
**Calculates the inverse of an atmospheric refraction angle.**
|
||||
|
||||
Given an observed altitude angle that includes atmospheric refraction,
|
||||
calculate the negative angular correction to obtain the unrefracted
|
||||
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.
|
||||
|
||||
@@ -5061,7 +5061,7 @@ def InverseRefractionAngle(refraction, bent_altitude):
|
||||
"""Calculates the inverse of an atmospheric refraction angle.
|
||||
|
||||
Given an observed altitude angle that includes atmospheric refraction,
|
||||
calculate the negative angular correction to obtain the unrefracted
|
||||
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.
|
||||
|
||||
Reference in New Issue
Block a user