|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.starlink.ttools.cone.HealpixTiling
public class HealpixTiling
Tiling implementation based on the HEALPix scheme.
Constructor Summary | |
---|---|
HealpixTiling(int k,
boolean nest)
Constructor. |
Method Summary | |
---|---|
long |
getPositionTile(double ra,
double dec)
Returns the index of the tile in which a given sky position falls. |
long[] |
getTileRange(double ra,
double dec,
double radius)
Returns the bounds of a range of pixels which is known to cover a given cone on the sky. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public HealpixTiling(int k, boolean nest)
k
- log to base 2 of HEALPix Nside parameternest
- true for nesting scheme, false for ring schemeMethod Detail |
---|
public long getPositionTile(double ra, double dec)
SkyTiling
getPositionTile
in interface SkyTiling
ra
- right ascension in degreesdec
- declination in degrees
public long[] getTileRange(double ra, double dec, double radius)
SkyTiling
null
may be returned.
getTileRange
in interface SkyTiling
ra
- right ascension in degreesdec
- declination in degreesradius
- radius in degrees
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |