Package cds.healpix
Class Tile2HPX
- java.lang.Object
-
- cds.healpix.Tile2HPX
-
public final class Tile2HPX extends java.lang.Object- Author:
- F.-X. Pineau
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTile2HPX.WCSFrame
-
Field Summary
Fields Modifier and Type Field Description FillingCurve2Dfc
-
Constructor Summary
Constructors Constructor Description Tile2HPX(int tileOrder, int inTileNside, Tile2HPX.WCSFrame wcsFrame)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcenter(long hash, double[] xyResult)Returns the coordinates of the center of the cell defined by the given hash in the HEALPix projection plane.static voidmain(java.lang.String[] args)static java.util.Map<java.lang.String,java.lang.String>toFitsHeader(int tileOrder, long tileIpix, int nPixelX, Tile2HPX.WCSFrame frame)java.util.Map<java.lang.String,java.lang.String>toFitsHeader(long tileIpix)
-
-
-
Field Detail
-
fc
public final FillingCurve2D fc
-
-
Constructor Detail
-
Tile2HPX
public Tile2HPX(int tileOrder, int inTileNside, Tile2HPX.WCSFrame wcsFrame)
-
-
Method Detail
-
center
public void center(long hash, double[] xyResult)Returns the coordinates of the center of the cell defined by the given hash in the HEALPix projection plane.- Parameters:
hash- value defining the cell we want the coordinate of the centerxyResult- object used to store the result
-
toFitsHeader
public final java.util.Map<java.lang.String,java.lang.String> toFitsHeader(long tileIpix) throws java.lang.Exception- Throws:
java.lang.Exception
-
toFitsHeader
public static final java.util.Map<java.lang.String,java.lang.String> toFitsHeader(int tileOrder, long tileIpix, int nPixelX, Tile2HPX.WCSFrame frame) throws java.lang.Exception- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args) throws java.lang.Exception- Throws:
java.lang.Exception
-
-