|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcds.aladin.Plan
cds.aladin.PlanImage
cds.aladin.PlanBG
cds.aladin.PlanHealpix
public class PlanHealpix
Plan gérant une image au format Healpix
Field Summary | |
---|---|
static int |
DIRSIZE
|
Constructor Summary | |
---|---|
PlanHealpix(Aladin aladin,
java.lang.String file,
MyInputStream in)
|
Method Summary | |
---|---|
void |
createAllSky(java.lang.String path,
java.lang.String survey,
int order,
int outLosangeWidth)
Création des fichiers Allsky FITS 8 bits et JPEG pour tout un niveau Healpix |
static long |
getFather(long npix)
Retourne le numéro du pixel père (pour l'order précédent) |
static java.lang.String |
getFilePath(java.lang.String survey,
int order,
long npix)
|
static long |
getHealpixMin(int n1,
long n,
int n2,
boolean nside)
|
int |
hpx2xy(int xyOffset)
Retourne l'indice XY en fonction d'un indice Healpix => nécessité d'initialiser au préalable avec createHealpixOrdre(int) |
static long |
log2(long x)
|
boolean |
switchToField(int idxField)
Switch display to field #idxField |
int |
xy2hpx(int hpxOffset)
Retourne l'indice XY en fonction d'un indice Healpix => nécessité d'initialiser au préalable avec createHealpixOrdre(int) |
Methods inherited from class cds.aladin.Plan |
---|
getOpacityLevel, run, setOpacityLevel, stop, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int DIRSIZE
Constructor Detail |
---|
public PlanHealpix(Aladin aladin, java.lang.String file, MyInputStream in)
Method Detail |
---|
public boolean switchToField(int idxField)
idxField
-
public static long getHealpixMin(int n1, long n, int n2, boolean nside)
public static long log2(long x)
public static long getFather(long npix)
public final int xy2hpx(int hpxOffset)
public final int hpx2xy(int xyOffset)
public static java.lang.String getFilePath(java.lang.String survey, int order, long npix)
public void createAllSky(java.lang.String path, java.lang.String survey, int order, int outLosangeWidth) throws java.lang.Exception
path
- Emplacement de la basesurvey
- nom du surveyorder
- order HealpixoutLosangeWidth
- largeur des losanges pour le Allsky (typiquement 64 ou 128 pixels)
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |