pint.solar_system_ephemerides.objPosVel

pint.solar_system_ephemerides.objPosVel(obj1, obj2, t, ephem, path=None, link=None)[source]

Compute the position and velocity for solar system obj2 referenced at obj1.

This function uses astropy solar system Ephemerides module.

Parameters:
  • obj1 (str) – The name of reference solar system object

  • obj2 (str) – The name of target solar system object

  • tdb (Astropy.time.Time object) – TDB time in Astropy.time.Time object format

  • ephem (str) – The ephem to for computing solar system object position and velocity

  • path (str, optional) – Local path to the ephemeris file.

  • link (str, optional) – Location of path on the internet.

Returns:

solar system obj1’s position and velocity with respect to obj2 in the J2000 cartesian coordinate.

Return type:

PosVel object.