Skip to content

Documentation / @interstellar-tools/types / EpochInterface

Interface: EpochInterface ​

Defined in: observations.ts:114

A moment as a Julian date on a named time scale, as catalogues give osculating epochs and transit times.

Example ​

ts
// J2000, as JPL gives element epochs
const epoch: EpochInterface = { jd: 2451545, timeScale: 'TDB' };

Properties ​

jd ​

ts
jd: number;

Defined in: observations.ts:116

The Julian date.


timeScale ​

ts
timeScale: TimeScaleType;

Defined in: observations.ts:118

The time scale it counts in, 'TDB' for JPL's elements.