Celestine API Documentation - v0.9.0
    Preparing search index...

    Interface EphemerisOptions

    Options for ephemeris calculations.

    Default options provide arcminute-level accuracy sufficient for astrology. Enable additional corrections for higher precision requirements.

    interface EphemerisOptions {
        includeSpeed?: boolean;
        includeNutation?: boolean;
        includeAberration?: boolean;
        includeLightTime?: boolean;
    }
    Index
    includeSpeed?: boolean

    Calculate and include daily motion (speed).

    true
    

    When true, evaluates the position at JD ± 0.001 day (centered derivative; the position is their midpoint). false evaluates once: getAllPositions is about 36% faster (97 → 62 µs, Node 20) and longitudes differ by under 0.001″; longitudeSpeed is then 0 and isRetrograde false. This is the longitude-only fast path: latitude and distance are inputs to the geocentric longitude, so skipping them would not save time without losing accuracy.

    includeNutation?: boolean

    Apply nutation correction to longitude.

    false
    

    Nutation is a small periodic oscillation in Earth's axis (~±17"). With this option longitudes are referred to the true equinox of date instead of the mean equinox. Celestine uses the 13 largest IAU 2000B terms (nutationInLongitude, within 0.05″ of IAU 2000A for 1800–2200). It applies to every body, including the lunar nodes and Lilith, and is the frame celestine/events uses for its own includeNutation: true. For arcminute precision: not needed (error < 0.3') For arcsecond precision: required

    includeAberration?: boolean

    Apply aberration correction.

    false (except Sun where it's always applied)
    

    Aberration is the apparent shift due to Earth's orbital velocity combined with the finite speed of light. Effect up to ~20".

    For Sun: always included as it's significant (~20") For planets: optional, typically < 1"

    includeLightTime?: boolean

    Apply light-time correction.

    false
    

    We see planets where they were, not where they are, due to the time light takes to travel from planet to Earth.

    For inner planets: effect < 1" For outer planets: can be several arcseconds