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()
SkyTiling
getPixelCount
in interface SkyTiling
public ValueInfo getIndexInfo()
SkyTiling
getIndexInfo
in interface SkyTiling
public long getPositionTile(double ra, double dec)
SkyTiling
getPositionTile
in interface SkyTiling
ra
- right ascension in degreesdec
- declination in degreespublic 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 degreesCopyright © 2024 Central Laboratory of the Research Councils. All Rights Reserved.