Next: step, Previous: starpm, Up: Internal Routines [Contents][Index]

`starpv(`

`ra`, `dec`, `pmr`, `pmd`, `px`,
`rv`)

[SOFA] Converts star catalog coordinates to a position-velocity
matrix. The input parameters are right ascension

(radians), declination `ra`

(radians), right ascension
proper motion `dec`

(rad/a), declination proper motion
`pmr`

(rad/a), parallax `pmd`

(arcsec), and
radial velocity `px`

(km/s receding). All input parameters
must have the same dimensions. The result gets those same dimension
with extra dimensions equal to 2 and 3 prefixed. If the results are
`rv``pv`

, then `pv(0,*,/all)`

is the position in AU, and
`pv(1, *, /all)`

is the velocity in AU/day.

See also: Astronomical Coordinate Calculations