Skip to content

Latest commit

 

History

History
19 lines (11 loc) · 765 Bytes

geo-emb-state.md

File metadata and controls

19 lines (11 loc) · 765 Bytes

//astronomy/io.github.cosinekitty.astronomy/geoEmbState

geoEmbState

fun geoEmbState(time: Time): StateVector

Calculates the geocentric position and velocity of the Earth/Moon barycenter.

Given a time of observation, calculates the geocentric position and velocity vectors of the Earth/Moon barycenter (EMB). The position (x, y, z) components are expressed in AU (astronomical units). The velocity (vx, vy, vz) components are expressed in AU/day.

Return

The EMB's position and velocity vectors in geocentric J2000 equatorial coordinates.

Parameters

time The date and time for which to calculate the EMB vectors.