| Modifier and Type | Field and Description |
|---|---|
static int |
MAX_LEVEL
Maximum healpix level permitted by CDS Healpix implementation (29).
|
| Constructor and Description |
|---|
HealpixTiling(int k,
boolean nest)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getHealpixK()
Returns the HEALpix level.
|
ValueInfo |
getIndexInfo()
Returns a metadata item suitable for describing the pixel index
used by this tiling.
|
long |
getPixelCount()
Returns the total number of tiles in this tiling.
|
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.
|
boolean |
isNest()
Indicates HEALPix ordering scheme.
|
public static final int MAX_LEVEL
public HealpixTiling(int k,
boolean nest)
k - Healpix levelnest - true for nesting scheme, false for ring schemepublic int getHealpixK()
public boolean isNest()
public long getPixelCount()
SkyTilinggetPixelCount in interface SkyTilingpublic ValueInfo getIndexInfo()
SkyTilinggetIndexInfo in interface SkyTilingpublic long getPositionTile(double ra,
double dec)
SkyTilinggetPositionTile in interface SkyTilingra - right ascension in degreesdec - declination in degreespublic long[] getTileRange(double ra,
double dec,
double radius)
SkyTilingnull may be returned.getTileRange in interface SkyTilingra - right ascension in degreesdec - declination in degreesradius - radius in degreesCopyright © 2025 Central Laboratory of the Research Councils. All Rights Reserved.