Package cds.healpix

Class Tile2HPX


  • public final class Tile2HPX
    extends java.lang.Object
    Author:
    F.-X. Pineau
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Tile2HPX.WCSFrame  
    • 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
      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.
      static void main​(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)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 center
        xyResult - 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