pix = pt.ang2pix_ring(nside,theta, phi);
} catch (Exception e) {
e.printStackTrace();
}
Vector3d v = pt.Ang2Vec(theta,phi);
long pix1 = pt.vect2pix_ring(nside,v);
assertEquals("pix=" + pix, pix1, pix, 1e-10);
assertEquals("pix=" + pix, 76, pix, 1e-10);
long pix2 = pt.ang2pix_nest(nside,theta,phi);
long pix3 = pt.vect2pix_nest(nside,v);