Package gov.fnal.eag.healpix

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


    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 3, nring, 1e-10);
    System.out.println(" test RingNum is done");
    nside = 4;
    int pix = 3;
    Vector3d v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 1, nring, 1e-10);
    pix = 11;
    v = pt.pix2vect_ring(nside, pix);
View Full Code Here


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

    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 2, nring, 1e-10);
    pix = 23;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 3, nring, 1e-10);
    pix = 39;
    v = pt.pix2vect_ring(nside, pix);
View Full Code Here

    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 3, nring, 1e-10);
    pix = 39;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 4, nring, 1e-10);
    pix = 55;
    v = pt.pix2vect_ring(nside, pix);
View Full Code Here

    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 4, nring, 1e-10);
    pix = 55;
    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    nring = (int) pt.RingNum(nside, z);
    assertEquals("z=" + z, 5, nring, 1e-10);
    pix = 71;
    v = pt.pix2vect_ring(nside, pix);
View Full Code Here

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

    v = pt.pix2vect_ring(nside, pix);
    z = v.z;
    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);
View Full Code Here

    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);
    assertEquals("z=" + z, 8, nring, 1e-10);
    pix = 119;
    v = pt.pix2vect_ring(nside, pix);
View Full Code Here

    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);
    assertEquals("z=" + z, 9, nring, 1e-10);
    pix = 135;
    v = pt.pix2vect_ring(nside, pix);
View Full Code Here

    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);
    assertEquals("z=" + z, 10, nring, 1e-10);
    pix = 151;
    v = pt.pix2vect_ring(nside, pix);
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.