mirror of
https://github.com/cosinekitty/astronomy.git
synced 2026-02-03 04:01:50 -05:00
I found that there were a bunch of lingering 'jvm' tags in the generated markdown documentation. Got rid of them with another change to format_kotlin_doc.py.
765 B
765 B
//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. |