|
vec2ang
Routine to convert the 3D position vector (x,y,z) of point into its position
angles on the sphere with
,
, .
Location in HEALPix directory tree:
src/f90/mod/pix_tools.f90
FORMAT call vec2ang(
vector, theta, phi
)
ARGUMENTS
name&dimensionality |
kind |
in/out |
description |
|
|
|
|
vector(3) |
DP |
IN |
three dimensional cartesian position vector
(x,y,z). The north pole is (0,0,1) |
theta |
DP |
OUT |
colatitude in radians measured southward from north pole (in
[0, ]). |
phi |
DP |
OUT |
longitude in radians measured eastward (in [0, ]). |
RELATED ROUTINESThis section lists the routines related to vec2ang
-
ang2vec
- converts the position angles of a point on the sphere
into its 3D position vector.
Eric Hivon
2010-06-18
|
|