Package skyview.survey
Class HealPixImage
- java.lang.Object
-
- skyview.survey.Image
-
- skyview.survey.HealPixImage
-
- All Implemented Interfaces:
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
-
-
Constructor Summary
Constructors Constructor Description HealPixImage(String file)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getData(long ipix)
Defer reading the data until it is asked for.double[]
getDataArray()
Probably should happen, but just in case we support the get array function.int
getDepth()
Get the number of planes in the imageint
getHeight()
Get the height of the imageint
getWidth()
Get the width of the imagevoid
setData(long npix, double val)
Support changing the data! Probably won't use this...-
Methods inherited from class skyview.survey.Image
clearData, getBaseImage, getCenter, getCorners, getDescription, getName, getTransformer, getWCS, initialize, isTiled, setAccumulate, setDataArray, setName, valid, validate
-
-
-
-
Constructor Detail
-
HealPixImage
public HealPixImage(String file) throws SurveyException
- Throws:
SurveyException
-
-
Method Detail
-
getWidth
public int getWidth()
Description copied from class:Image
Get the width of the image
-
getHeight
public int getHeight()
Description copied from class:Image
Get the height of the image
-
getDepth
public int getDepth()
Description copied from class:Image
Get the number of planes in the image
-
getData
public double getData(long ipix)
Defer reading the data until it is asked for.
-
getDataArray
public double[] getDataArray()
Probably should happen, but just in case we support the get array function.- Overrides:
getDataArray
in classImage
-
-