|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.func.Tilings
public class Tilings
Pixel tiling functions for the celestial sphere.
Method Summary | |
---|---|
static int |
healpixK(double pixelsize)
Gives the HEALPix resolution parameter suitable for a given pixel size. |
static long |
healpixNestIndex(int k,
double ra,
double dec)
Gives the pixel index for a given sky position in the HEALPix NEST scheme. |
static double |
healpixResolution(int k)
Gives the approximate resolution in degrees for a given HEALPix resolution parameter k
This k value is the logarithm to base 2 of the
Nside parameter. |
static long |
healpixRingIndex(int k,
double ra,
double dec)
Gives the pixel index for a given sky position in the HEALPix RING scheme. |
static long |
htmIndex(int level,
double ra,
double dec)
Gives the HTM (Hierachical Triangular Mesh) pixel index for a given sky position. |
static int |
htmLevel(double pixelsize)
Gives the HTM level parameter suitable for a given
pixel size. |
static double |
htmResolution(int level)
Gives the approximate resolution in degrees for a given HTM depth level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static long htmIndex(int level, double ra, double dec)
level
- HTM levelra
- right ascension in degreesdec
- declination in degrees
public static long healpixNestIndex(int k, double ra, double dec)
k
- resolution parameter - log to base 2 of nsidera
- right ascension in degreesdec
- declination in degrees
public static long healpixRingIndex(int k, double ra, double dec)
k
- resolution parameter - log to base 2 of nsidera
- right ascension in degreesdec
- declination in degrees
public static int healpixK(double pixelsize)
k
value is the logarithm to base 2 of the
Nside parameter.
pixelsize
- pixel size in degrees
k
public static double healpixResolution(int k)
k
This k
value is the logarithm to base 2 of the
Nside parameter.
k
- HEALPix resolution parameter k
public static int htmLevel(double pixelsize)
level
parameter suitable for a given
pixel size.
pixelsize
- required resolution in degrees
public static double htmResolution(int level)
level
- HTM depth
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |