cds.moc.HealpixImplpublic class PixtoolsHealpix
extends java.lang.Object
implements cds.moc.HealpixImpl
getInstance() to obtain the singleton instance of this class.| Modifier and Type | Method | Description |
|---|---|---|
long |
ang2pix(int order,
double lonDeg,
double latDeg) |
|
static PixtoolsHealpix |
getInstance() |
Returns the sole instance of this singleton class.
|
static int |
nsideToOrder(long nside) |
Turns the HEALPix Nside parameter into the MOC "order" parameter.
|
static long |
orderToNside(int order) |
Turns the MOC "order" parameter into the HEALPix Nside parameter.
|
double[] |
pix2ang(int order,
long ipix) |
|
long[] |
queryDisc(int order,
double lonDeg,
double latDeg,
double radiusDeg) |
|
int |
sizeToNside(double sizeDeg) |
Returns an Nside value corresponding to a given angular size.
|
public long ang2pix(int order,
double lonDeg,
double latDeg)
ang2pix in interface cds.moc.HealpixImplpublic double[] pix2ang(int order,
long ipix)
pix2ang in interface cds.moc.HealpixImplpublic long[] queryDisc(int order,
double lonDeg,
double latDeg,
double radiusDeg)
queryDisc in interface cds.moc.HealpixImplpublic int sizeToNside(double sizeDeg)
sizeDeg - size in degreespublic static long orderToNside(int order)
order - public static int nsideToOrder(long nside)
nside - Nsidejava.lang.IllegalArgumentException - if nside is not suitablepublic static PixtoolsHealpix getInstance()
Copyright © 2018 Central Laboratory of the Research Councils. All Rights Reserved.