Next: pvdpv, Previous: push, Up: Internal Routines [Contents][Index]

`pv2s, `

`pv`, `theta`, `phi`, `r`, `td`,
`pd`, `rd`

[SOFA] Converts position/velocity vector

(which has 2
elements in its first dimension and 3 elements in its second
dimension) from Cartesian to spherical coordinates. The output
parameters are: `pv`

= longitude in radians,
`theta`

= latitude in radians, `phi`

= radial
distance, `r`

= rate of change of theta, `td`

=
rate of change of `pd`

, `phi`

= rate of change
of `rd`

. The output variables get the same dimensions as
`r`

except that the first two dimensions (equal to 2 and
3) are omitted.
`pv`