API Reference / syntheticEphemeris · function

Function: syntheticEphemeris()

function syntheticEphemeris(sys): BodyPositionSource;

A BodyPositionSource over an authored system: the world-frame view as a reusable object, with longitude speed and a retrograde flag so it satisfies the same contract real ephemeris bodies do. Carries the system's validateSyntheticSystem diagnosis (impossible/problems) — the honesty pattern — and still serves the bodies that are individually valid.

Parameters

ParameterTypeDescription
sysSyntheticSystemThe authored system.

Returns

BodyPositionSource

A position source: bodies(), longitude(id, t), position(id, t), plus impossible/problems.

Start building

Quickstart →