Skip to main content

validate_declination

Function validate_declination 

Source
pub fn validate_declination(
    angle: Angle,
    beyond_pole: bool,
) -> Result<Angle, AstroError>
Expand description

Validates declination angle.

  • beyond_pole = false: standard range [-90°, +90°]
  • beyond_pole = true: extended range [-180°, +180°] for GEM pier-flipped observations

The extended range supports the TPOINT beyond-the-pole convention where German Equatorial Mounts use Dec values from 90° to 180° for pier-flipped observations.