public class HipsImage extends Image
Constructor and Description |
---|
HipsImage(java.lang.String directory)
Create a image associated with a HiPS
|
Modifier and Type | Method and Description |
---|---|
double |
getAllSkyPixel(long npix) |
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 image
|
int |
getHeight()
Get the height of the image
|
int |
getWidth()
Get the width of the image
|
void |
initialize(double scale) |
void |
setData(long npix,
double val)
Support changing the data! Probably won't use this...
|
void |
setOrder(double scale)
Determine which order to sample at given the limits in the HiPS and
the user requested scale.
|
double |
tiledPixel(long npix) |
clearData, getBaseImage, getCenter, getCorners, getDescription, getName, getTransformer, getWCS, initialize, isTiled, setAccumulate, setDataArray, setName, valid, validate
public HipsImage(java.lang.String directory)
directory
- The base directory for the HiPSpublic void initialize(double scale) throws TransformationException, java.lang.IllegalArgumentException, java.io.IOException
TransformationException
java.lang.IllegalArgumentException
java.io.IOException
public void setOrder(double scale)
scale
- Scale of desired pixels in radians.public int getWidth()
Image
public int getHeight()
Image
public int getDepth()
Image
public double getData(long ipix)
public double getAllSkyPixel(long npix)
public double tiledPixel(long npix)
public double[] getDataArray()
getDataArray
in class Image