Package gov.fnal.eag.healpix

Examples of gov.fnal.eag.healpix.PixTools.RingNum()


    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 6, nring, 1e-10);
    pix = 87;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 7, nring, 1e-10);
    pix = 103;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
View Full Code Here


    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 7, nring, 1e-10);
    pix = 103;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 8, nring, 1e-10);
    pix = 119;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
View Full Code Here

    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 8, nring, 1e-10);
    pix = 119;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 9, nring, 1e-10);
    pix = 135;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
View Full Code Here

    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 9, nring, 1e-10);
    pix = 135;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 10, nring, 1e-10);
    pix = 151;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
View Full Code Here

    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 10, nring, 1e-10);
    pix = 151;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 11, nring, 1e-10);
    pix = 167;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
View Full Code Here

    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 11, nring, 1e-10);
    pix = 167;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 12, nring, 1e-10);
    pix = 169;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
View Full Code Here

    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 12, nring, 1e-10);
    pix = 169;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 13, nring, 1e-10);
    pix = 180;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
View Full Code Here

    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 13, nring, 1e-10);
    pix = 180;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 14, nring, 1e-10);
    System.out.println("End test RingNum");
  }

  public void testNest2Ring() throws Exception {
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.