Class HealpixProc

  • All Implemented Interfaces:
    java.io.Serializable

    public abstract class HealpixProc
    extends HealpixBase
    Procedural interface to the HealpixBase functionality. This class is intended for users who prefer a procedural (instead of object-oriented) interface to the HEALPix functionality. It should make transition from packages like PixTools easier.
    See Also:
    Serialized Form
    • Method Detail

      • maxPixrad

        public static double maxPixrad​(int order)
      • ang2pixNest

        public static long ang2pixNest​(int order,
                                       Pointing ptg)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • ang2pixRing

        public static long ang2pixRing​(int order,
                                       Pointing ptg)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • pix2angNest

        public static Pointing pix2angNest​(int order,
                                           long pix)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • pix2angRing

        public static Pointing pix2angRing​(int order,
                                           long pix)
                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • vec2pixNest

        public static long vec2pixNest​(int order,
                                       Vec3 vec)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • vec2pixRing

        public static long vec2pixRing​(int order,
                                       Vec3 vec)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • pix2vecNest

        public static Vec3 pix2vecNest​(int order,
                                       long pix)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • pix2vecRing

        public static Vec3 pix2vecRing​(int order,
                                       long pix)
                                throws java.lang.Exception
        Throws:
        java.lang.Exception
      • ring2nest

        public static long ring2nest​(int order,
                                     long pix)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • nest2ring

        public static long nest2ring​(int order,
                                     long pix)
                              throws java.lang.Exception
        Throws:
        java.lang.Exception
      • neighboursNest

        public static long[] neighboursNest​(int order,
                                            long pix)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • neighboursRing

        public static long[] neighboursRing​(int order,
                                            long pix)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • boundariesNest

        public static Vec3[] boundariesNest​(int order,
                                            long pix,
                                            int step)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • boundariesRing

        public static Vec3[] boundariesRing​(int order,
                                            long pix,
                                            int step)
                                     throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryDiscNest

        public static RangeSet queryDiscNest​(int order,
                                             Pointing ptg,
                                             double radius)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryDiscRing

        public static RangeSet queryDiscRing​(int order,
                                             Pointing ptg,
                                             double radius)
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryDiscInclusiveNest

        public static RangeSet queryDiscInclusiveNest​(int order,
                                                      Pointing ptg,
                                                      double radius,
                                                      int fact)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryDiscInclusiveRing

        public static RangeSet queryDiscInclusiveRing​(int order,
                                                      Pointing ptg,
                                                      double radius,
                                                      int fact)
                                               throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryPolygonNest

        public static RangeSet queryPolygonNest​(int order,
                                                Pointing[] vertex)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryPolygonRing

        public static RangeSet queryPolygonRing​(int order,
                                                Pointing[] vertex)
                                         throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryPolygonInclusiveNest

        public static RangeSet queryPolygonInclusiveNest​(int order,
                                                         Pointing[] vertex,
                                                         int fact)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryPolygonInclusiveRing

        public static RangeSet queryPolygonInclusiveRing​(int order,
                                                         Pointing[] vertex,
                                                         int fact)
                                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryStripNest

        public static RangeSet queryStripNest​(int order,
                                              double theta1,
                                              double theta2,
                                              boolean inclusive)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • queryStripRing

        public static RangeSet queryStripRing​(int order,
                                              double theta1,
                                              double theta2,
                                              boolean inclusive)
                                       throws java.lang.Exception
        Throws:
        java.lang.Exception