Class HealPixImage

  • All Implemented Interfaces:
    java.io.Serializable, Component

    public class HealPixImage
    extends Image
    This class defines an image gotten by reading a HEALPix image where the pixels are in the nested pixel order. This assumes the FITS structures found in the WMAP data but could be adapted to other orders as needed.
    See Also:
    Serialized Form
    • Method Detail

      • getWidth

        public int getWidth()
        Description copied from class: Image
        Get the width of the image
        Overrides:
        getWidth in class Image
      • getHeight

        public int getHeight()
        Description copied from class: Image
        Get the height of the image
        Overrides:
        getHeight in class Image
      • getDepth

        public int getDepth()
        Description copied from class: Image
        Get the number of planes in the image
        Overrides:
        getDepth in class Image
      • getData

        public double getData​(long ipix)
        Defer reading the data until it is asked for.
        Overrides:
        getData in class Image
      • getDataArray

        public double[] getDataArray()
        Probably should happen, but just in case we support the get array function.
        Overrides:
        getDataArray in class Image
      • setData

        public void setData​(long npix,
                            double val)
        Support changing the data! Probably won't use this...
        Overrides:
        setData in class Image