vec2ang: vectors [x, y, z] -> theta[rad], phi[rad]
vectors : float, array-like
the vector(s) to convert, shape is (3,) or (N, 3)
theta, phi : float, tuple of two arrays
the colatitude and longitude in radians
See also
ang2vec, rotator.vec2dir, rotator.dir2vec
Full-text doc search.
healpy.pixelfunc.vec2pix
healpy.pixelfunc.ang2vec
Enter search terms or a module, class or function name.