Solar position

Helios.SolarPositionType
SolarPosition(azimuth, elevation, apparent_elevation)

Represents the position of the Sun relative to an observer.

Fields

  • azimuth::Real: solar azimuth angle (degrees, measured clockwise from north)
  • elevation::Real: solar elevation angle above the horizon (degrees)
  • apparent_elevation::Real: elevation corrected for atmospheric refraction (degrees)
source
Helios.aberration_correctionMethod
aberration_correction(heliocentric_radius)

An adjustment applied to celestial coordinates to account for the apparent displacement caused by Earth’s motion through space.

source
Helios.apparent_sidereal_greenwich_timeMethod
apparent_sidereal_greenwich_time(
    mean_sidereal_greenwich_time,
    nutation_longitude, 
    elliptic_obliquity
)

Greenwich sidereal time corrected for the effects of nutation giving the true rotation angle relative to the apparent equinox.

source
Helios.apparent_sun_longitudeMethod
apparent_sun_longitude(geocentric_longitude, nutation_longitude, aberration_correction)

The Sun’s ecliptic longitude after applying corrections for nutation and aberration.

source
Helios.apparent_zenithMethod
apparent_zenith(solpos::SolarPosition)

The complementary to 90° (degrees) of the Sun's apparent elevation.

source
Helios.ascending_moon_longitudeMethod
ascending_moon_longitude(julian_ephemeris_century)

The ecliptic longitude referenced to the mean equinox of the date, of the point where the Moon’s mean orbit crosses northward through the ecliptic.

source
Helios.delta_TMethod
delta_T(month::Int, year::Int)

Computes the difference between Terrestrial Dynamical Time (TD) and Universal Time (UT).

It is evaluated as a piecewise polynomial, as per NASA, which in turn refer to [2, 3]. Note that $\Delta T$ is unknown for years before -1999 and after 3000. Values could be calculated for such intervals, although they are not intended to be used for these years.

source
Helios.elliptic_obliquityMethod
elliptic_obliquity(mean_elliptic_obliquity, nutation_obliquity)

The angle between Earth’s equator and the mean ecliptic defined as an ideal, unperturbed ellipse.

source
Helios.geocentric_latitudeMethod
geocentric_latitude(heliocentric_latitude)

A celestial object's angular distance north or south of the ecliptic plane as measured from Earth’s center.

source
Helios.geocentric_longitudeMethod
geocentric_longitude(heliocentric_longitude)

A celestial object's ecliptic longitude as measured from Earth’s center, referenced to the ecliptic plane and the vernal equinox.

source
Helios.geocentric_sun_ascensionMethod
geocentric_sun_ascension(
    apparent_sun_longitude,
    elliptic_obliquity,
    geocentric_latitude
)

The angle measured eastward from the geocentric meridian, that locates a direction or point relative to Earth’s ellipsoid rather than its rotational axis.

source
Helios.geocentric_sun_declinationMethod
geocentric_sun_declination(
    apparent_sun_longitude,
    elliptic_obliquity,
    geocentric_latitude
)

The Sun’s angular distance, north or south of Earth’s equatorial plane as measured from Earth’s center.

source
Helios.heliocentric_latitudeMethod
heliocentric_latitude(julian_ephemeris_millenium)

A celestial object's angular position around the Sun measured in the ecliptic plane from a defined reference direction.

source
Helios.heliocentric_longitudeMethod
heliocentric_longitude(julian_ephemeris_millenium)

A celestial object's angular distance north or south of the ecliptic plane as measured from the Sun.

source
Helios.heliocentric_polynomialMethod
heliocentric_polynomial(julian_ephemeris_millenium, coefficients)

Polynomial approximation for the heliocentric longitude, latitude, radius.

source
Helios.heliocentric_radiusMethod
heliocentric_radius(julian_ephemeris_millenium)

The distance from the Sun to the celestial object in a chosen heliocentric coordinate system. In this case, it corresponds to the Earth-Sun distance.

source
Helios.julian_centuryMethod
julian_century(julian_day)

A time interval of exactly 36,525 days (365.25 days × 100) used as a standard unit in astronomy.

source
Helios.julian_ephemeris_centuryMethod
julian_ephemeris_century(julian_ephemeris_day)

A 36,525-day interval measured specifically in Ephemeris Time (or its modern dynamical time scales) for high-precision astronomical modeling.

source
Helios.julian_ephemeris_milleniumMethod
julian_ephemeris_millenium(julian_ephemeris_century)

A 1,000-year interval equal to 365,250 ephemeris days, defined within Ephemeris Time for long-term astronomical calculations.

source
Helios.mean_elliptic_obliquityMethod
mean_elliptic_obliquity(julian_ephemeris_millenium)

The angle between Earth’s equator and the mean (long-term averaged) ecliptic defined by an unperturbed elliptical Earth orbit.

source
Helios.mean_moon_anomalyMethod
mean_moon_anomaly(julian_ephemeris_century)

The uniformly increasing angular position of the Moon in its elliptical orbit measured from perigee.

source
Helios.mean_sidereal_greenwich_timeMethod
mean_sidereal_greenwich_time(julian_day, julian_century)

The hour angle of the mean vernal equinox at the Greenwich meridian reflecting Earth’s rotation relative to the fixed stars without nutation effects.

source
Helios.mean_sun_anomalyMethod
mean_sun_anomaly(julian_ephemeris_century)

The angular position of the Sun in its elliptical orbit, measured from perihelion and increasing uniformly in time.

source
Helios.mean_sun_longitudeMethod
mean_sun_longitude(julian_ephemeris_millenium)

The Sun’s ecliptic longitude calculated from a uniformly moving fictitious Sun on the ecliptic.

source
Helios.moon_latitude_argumentMethod
moon_latitude_argument(julian_ephemeris_century)

The angle from the Moon’s ascending node to its position measured along its orbit, using mean (unperturbed) orbital elements.

source
Helios.nutation_longitudeMethod
nutation_longitude(julian_ephemeris_century, nutation_coefficients)

The small periodic variation in Earth’s ecliptic longitude caused by gravitational torques from the Moon and Sun.

source
Helios.nutation_obliquityMethod
nutation_obliquity(julian_ephemeris_century, nutation_coefficients)

The small periodic variation in Earth’s axial tilt (obliquity) resulting from gravitational perturbations.

source
Helios.observer_local_hourMethod
observer_local_hour(
    observer_longitude, 
    apparent_sidereal_greenwich_time, 
    geocentric_sun_ascension
)

The angle between the observer’s local meridian and a celestial object measured westward on the celestial sphere.

source
Helios.radial_distance_equatorial_planeMethod
radial_distance_equatorial_plane(
    observer_latitude,
    observer_altitude,
    reduced_observer_latitude
)

The perpendicular distance of a point from Earth’s equatorial plane.

source
Helios.reduced_observer_latitudeMethod
reduced_observer_latitude(observer_latitude)

The angle whose tangent equals the tangent of the geodetic latitude scaled by Earth’s polar-to-equatorial radius ratio, representing the point’s projection onto the surface of the reference ellipsoid.

source
Helios.spaMethod
spa(location::Location, datetime::DateTime)

Computes the solar position in terms of Solar azimuth, elevation, and apparent elevation, following the solar position algorithm [4].

source
Helios.sun_ascension_parallaxMethod
sun_ascension_parallax(
    radial_distance_equatorial_plane, 
    sun_equatorial_horizontal_parallax, 
    geocentric_sun_declination, 
    observer_local_hour
)

The correction to the Sun’s right ascension due to the difference between geocentric and topocentric perspectives.

source
Helios.sun_equatorial_horizontal_parallaxMethod
sun_equatorial_horizontal_parallax(heliocentric_radius)

The angle between the Sun’s direction as seen from Earth’s center and from a point on the equator at sea level when the Sun is on the horizon.

source
Helios.sunrayMethod
sunray(solpos::SolarPosition)

The unit vector defining the direction of the Sun's rays, with respect to an observer on the Earth's surface. Conventionally, it points from the observer towards the Sun [5].

source
Helios.topocentric_apparent_elevationMethod
topocentric_apparent_elevation(
    observer_latitude,
    topocentric_sun_declination,
    topocentric_local_hour
)

Topocentric elevation angle without atmospheric refraction correction.

source
Helios.topocentric_astronomical_azimuthMethod
topocentric_astronomical_azimuth(
    observer_latitude, 
    topocentric_sun_declination, 
    topocentric_local_hour
)

The Sun’s azimuth measured from true north eastward as seen from the observer’s location, based on astronomical (not navigational) convention.

source
Helios.topocentric_azimuthMethod
topocentric_azimuth(topocentric_astronomical_azimuth)

The Sun’s azimuth from the observer’s location relative to a defined reference direction, typically true north, on the horizon.

source
Helios.topocentric_elevationMethod
topocentric_elevation(topocentric_apparent_elevation, topocentric_elevation_correction)

The angle between the Sun and the observer’s local horizon, measured at the observer’s location.

source
Helios.topocentric_elevation_correctionMethod
topocentric_elevation_correction(
    temperature,
    pressure,
    topocentric_apparent_elevation
)

The adjustment applied to an object’s observed altitude to account for the bending of its light as it passes through Earth’s atmosphere.

source
Helios.topocentric_local_hourMethod
topocentric_local_hour(observer_local_hour, sun_ascension_parallax)

The hour angle of a celestial object as seen from the observer’s exact location on Earth’s surface rather than its center.

source
Helios.topocentric_sun_ascensionMethod
topocentric_sun_ascension(geocentric_sun_ascension, sun_ascension_parallax)

The Sun’s right ascension as viewed from the observer’s actual location on Earth’s surface.

source
Helios.topocentric_sun_declinationMethod
topocentric_sun_declination(
    radial_distance_equatorial_plane, 
    radial_distance_rotational_axis, 
    sun_equatorial_horizontal_parallax, 
    geocentric_sun_declination, 
    observer_local_hour, 
    sun_ascension_parallax
)

The Sun’s declination as viewed from the observer’s actual location on Earth’s surface.

source
Helios.zenithMethod
zenith(solpos::SolarPosition)

The complementary to 90° (degrees) of the Sun's elevation.

source