s2pv

erfa.s2pv(theta, phi, r, td, pd, rd)[source]

Convert position/velocity from spherical to Cartesian coordinates.

Parameters
thetadouble array
phidouble array
rdouble array
tddouble array
pddouble array
rddouble array
Returns
pvdouble array

Notes

Wraps ERFA function eraS2pv. The ERFA documentation is:

- - - - - - - -
 e r a S 2 p v
- - - - - - - -

Convert position/velocity from spherical to Cartesian coordinates.

Given:
   theta    double          longitude angle (radians)
   phi      double          latitude angle (radians)
   r        double          radial distance
   td       double          rate of change of theta
   pd       double          rate of change of phi
   rd       double          rate of change of r

Returned:
   pv       double[2][3]    pv-vector

This revision:  2021 May 11

Copyright (C) 2013-2021, NumFOCUS Foundation.
Derived, with permission, from the SOFA library.  See notes at end of file.