Package healpix.essentials
Class HealpixProc
- java.lang.Object
-
- healpix.essentials.HealpixTables
-
- healpix.essentials.HealpixBase
-
- healpix.essentials.HealpixProc
-
- All Implemented Interfaces:
java.io.Serializable
public abstract class HealpixProc extends HealpixBase
Procedural interface to theHealpixBase
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class healpix.essentials.HealpixBase
HealpixBase.Xyf
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
ang2pixNest(int order, Pointing ptg)
static long
ang2pixRing(int order, Pointing ptg)
static Vec3[]
boundariesNest(int order, long pix, int step)
static Vec3[]
boundariesRing(int order, long pix, int step)
static double
maxPixrad(int order)
static long[]
neighboursNest(int order, long pix)
static long[]
neighboursRing(int order, long pix)
static long
nest2ring(int order, long pix)
static Pointing
pix2angNest(int order, long pix)
static Pointing
pix2angRing(int order, long pix)
static Vec3
pix2vecNest(int order, long pix)
static Vec3
pix2vecRing(int order, long pix)
static RangeSet
queryDiscInclusiveNest(int order, Pointing ptg, double radius, int fact)
static RangeSet
queryDiscInclusiveRing(int order, Pointing ptg, double radius, int fact)
static RangeSet
queryDiscNest(int order, Pointing ptg, double radius)
static RangeSet
queryDiscRing(int order, Pointing ptg, double radius)
static RangeSet
queryPolygonInclusiveNest(int order, Pointing[] vertex, int fact)
static RangeSet
queryPolygonInclusiveRing(int order, Pointing[] vertex, int fact)
static RangeSet
queryPolygonNest(int order, Pointing[] vertex)
static RangeSet
queryPolygonRing(int order, Pointing[] vertex)
static RangeSet
queryStripNest(int order, double theta1, double theta2, boolean inclusive)
static RangeSet
queryStripRing(int order, double theta1, double theta2, boolean inclusive)
static long
ring2nest(int order, long pix)
static long
vec2pixNest(int order, Vec3 vec)
static long
vec2pixRing(int order, Vec3 vec)
-
Methods inherited from class healpix.essentials.HealpixBase
ang2pix, boundaries, getNpix, getNside, getOrder, getScheme, loc2pix, maxPixrad, neighbours, nest2ring, npix2Nside, nside2Npix, nside2order, order2Npix, pix2ang, pix2loc, pix2ring, pix2vec, pix2xyf, pix2zphi, queryDisc, queryDiscInclusive, queryPolygon, queryPolygonInclusive, queryStrip, ring2nest, ring2theta, ring2xyf, ring2z, setNside, setNsideAndScheme, setScheme, vec2pix, xyf2pix, xyf2pix, zphi2pix
-
-
-
-
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
-
-