Skip to main content

Crate jyotish

Crate jyotish 

Source
Expand description

§Jyotish

Jyotish (ज्योतिष — Sanskrit for “science of light”, the traditional term for Vedic astrology and astronomical computation) — astronomical computation engine for the AGNOS ecosystem.

Provides planetary position computation, calendar system conversions, celestial event prediction, zodiac/constellation mapping, house systems, aspect computation, and transit tracking.

§Optional features

  • orbital — high-fidelity orbital mechanics integration via falak.
  • logging — tracing-subscriber initialization via JYOTISH_LOG env var.

Re-exports§

pub use apparent::PositionType;
pub use apparent::TypedPosition;
pub use apparent::apparent_moon;
pub use apparent::apparent_position;
pub use apparent::apparent_sun;
pub use apparent::geometric_position;
pub use calendar::DAYS_PER_JULIAN_CENTURY;
pub use calendar::J2000_0;
pub use calendar::JD_UNIX_EPOCH;
pub use calendar::day_of_week;
pub use calendar::gmst_degrees;
pub use calendar::gmst_degrees_tt;
pub use calendar::gmst_hours;
pub use calendar::gregorian_to_jd;
pub use calendar::gregorian_to_jdn;
pub use calendar::is_gregorian_leap_year;
pub use calendar::is_julian_leap_year;
pub use calendar::jd_to_gregorian;
pub use calendar::jd_to_unix;
pub use calendar::jdn_to_gregorian;
pub use calendar::jdn_to_julian;
pub use calendar::julian_centuries;
pub use calendar::julian_to_jdn;
pub use calendar::local_sidereal_time;
pub use calendar::local_sidereal_time_tt;
pub use calendar::unix_to_jd;
pub use error::JyotishError;
pub use error::Result;
pub use planet::Planet;
pub use planet::PlanetaryPosition;

Modules§

aberration
Annual aberration and light-time correction. Annual aberration and light-time correction.
apparent
Apparent position pipeline (geometric → aberration → nutation → apparent). Apparent position pipeline.
aspect
Planetary aspects — conjunction, opposition, trine, square, sextile, orbs. Planetary aspects — conjunction, opposition, trine, square, sextile, orbs.
calendar
Calendar systems — Julian, Gregorian, sidereal time, Julian Day Number conversions. Calendar systems — Julian, Gregorian, sidereal time, Julian Day Number conversions.
coords
Coordinate systems and transformations. Coordinate systems and transformations.
delta_t
Delta T (TT − UT1) computation and time scale conversions. Delta T (TT − UT1) computation.
eclipse
Eclipse prediction — solar and lunar eclipse detection and classification. Eclipse prediction — solar and lunar eclipse detection.
elp2000
ELP2000-82 lunar theory — high-precision geocentric lunar coordinates. ELP2000-82 lunar theory (Chapront-Touzé & Chapront 1988).
error
Error types for jyotish computations.
event
Celestial events — eclipses, conjunctions, oppositions, transits, equinoxes, solstices. Celestial events — eclipses, conjunctions, oppositions, equinoxes, solstices.
house
House systems — Placidus, Koch, Equal, Whole Sign, Porphyry. House systems — Placidus, Koch, Equal, Whole Sign, Porphyry.
moon
Lunar position computation. Lunar position computation.
num
Numerical utilities (compensated summation, etc.). Numerical utilities for high-precision astronomical computation.
nutation
Nutation and precession corrections. Nutation and precession corrections.
parallax
Parallax correction for topocentric positions. Parallax correction for lunar and planetary positions.
phase
Lunar phase computation — New Moon, First Quarter, Full Moon, Last Quarter. Lunar phase computation.
phenomena
Planetary phenomena — elongation, opposition, conjunction, station detection. Planetary phenomena — elongation, opposition, conjunction, station detection.
physical
Physical ephemerides — apparent diameter, phase angle, illumination, elongation. Physical ephemerides — apparent diameter, phase angle, illumination, elongation.
planet
Planetary bodies and position data. Planetary bodies and position data.
planetary
Planetary position computation (Mercury through Pluto). Planetary position computation for Mercury through Pluto.
refraction
Atmospheric refraction corrections. Atmospheric refraction corrections.
riseset
Rise, set, and meridian transit times. Rise, set, and meridian transit times for celestial bodies.
star
Fixed star catalog — navigational stars with proper motion. Fixed star catalog — navigational stars with proper motion.
sun
Solar position computation. Solar position computation.
transit
Planetary transits — ingress, retrograde, station, direct motion. Planetary transits — ingress, retrograde, station, direct motion.
vsop87
VSOP87D planetary theory — heliocentric ecliptic coordinates (J2000.0). VSOP87D heliocentric ecliptic coordinates (J2000.0 ecliptic and equinox).
zodiac
Zodiac signs and constellations — tropical, sidereal, bounds, cusps. Zodiac signs and constellations — tropical, sidereal, bounds, cusps.