rvObsToRaDecRate

ssapy.compute.rvObsToRaDecRate(r, v, obsPos=None, obsVel=None)[source][source]

Convert object and observer position and velocity to angles.

This only does the geometric part; it ignores light travel time, which may be applied to the object location before input. Assumes that r, v, obsPos, and obsVel all have common shape.

Parameters:
  • r (array_like (..., 3)) – object position in meters

  • v (array_like (..., 3)) – object velocity in meters per second

  • obsPos (array_like (..., 3)) – observer position in meters

  • obsVel (array_like (..., 3), optional) – observer velocity in meters per second

Returns:

  • ra (array_like (…)) – right ascension in radians

  • dec (array_link (…)) – declination in radians

  • slantRange (array_like (…)) – Range in meters

  • raRate (array_like (…)) – Rate of change of right ascension*cos(dec) in radians per second.

  • decRate (array_like (…)) – Rate of change of declination in radians per second.

  • slantRangeRate (array_like (…)) – Slant range rate in meters per second.