Usage
glactc_pm(ra, dec, mu_ra, mu_dec, year, gl, gb, mu_gl, mu_gb, j, degree=FALSE,
fk4 = FALSE, supergalactic = FALSE, mustar=FALSE)
Arguments
ra
Right Ascension, in decimal hours (or decimal degrees if degree is set), scalar or vector
dec
declination, in decimal degrees, scalar or vector
mu_ra
Right Ascension proper motion, in any proper motion unit (angle/time), scalar or vector
mu_dec
declination proper motion, in any proper motion unit (angle/time), scalar or vector
year
equinox of ra and dec, scalar
gl
Galactic longitude, decimal degrees, scalar or vector
gb
Galactic latitude, decimal degrees, scalar or vector
mu_gl
Galactic longitude proper motion, in any proper motion unit (angle/time), scalar or vector
mu_gb
Galactic latitude proper motion, in any proper motion unit (angle/time), scalar or vector
j
integer indicator, direction of conversion
1: ra,dec,mu_ra,mu_dec --> gl,gb,mu_gl,mu_gb
2: gl,gb,mu_gl,mu_gb --> ra,dec,mu_ra,mu_dec
degree
if set, then the RA parameter (both input and output) is given in degrees rather than hours (default=FALSE)
fk4
if set, then the celestial (RA, Dec) coordinates are assumed to be input/output in the FK4 system. By default, coordinates are assumed to be in the FK5 system. (default=FALSE)
supergalactic
if set, the function returns SuperGalactic coordinates (see details). (default=FALSE)
mustar
see details (default=FALSE)