|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnom.tam.fits.BasicHDU
nom.tam.fits.ExtensionHDU
nom.tam.fits.ImageHDU
public class ImageHDU
FITS image header/data unit
Field Summary |
---|
Fields inherited from class nom.tam.fits.BasicHDU |
---|
BITPIX_BYTE, BITPIX_DOUBLE, BITPIX_FLOAT, BITPIX_INT, BITPIX_LONG, BITPIX_SHORT |
Constructor Summary | |
---|---|
ImageHDU(Header header)
Create an image header/data unit. |
|
ImageHDU(java.lang.Object obj)
Build an image HDU using the supplied data. |
|
ImageHDU(PrimaryHDU primary)
Build an image HDU from a RandomGroupsHDU. |
Method Summary | |
---|---|
void |
info()
Print out some information about this HDU. |
boolean |
isHeader()
Check that this HDU has a valid header. |
static boolean |
isHeader(Header header)
Check that this is a valid image extension header. |
Data |
manufactureData()
Create a Data object to correspond to the header description. |
Methods inherited from class nom.tam.fits.ExtensionHDU |
---|
getExtensionLevel, getExtensionName, getExtensionType, getExtensionVersion |
Methods inherited from class nom.tam.fits.BasicHDU |
---|
getAuthor, getAxes, getBitPix, getBlankValue, getBScale, getBUnit, getBZero, getCreationDate, getData, getEpoch, getEquinox, getGroupCount, getHeader, getInstrument, getMaximumValue, getMinimumValue, getObject, getObservationDate, getObserver, getOrigin, getParameterCount, getReference, getSize, getTelescope, getTrimmedString, readData, skipData, skipData, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ImageHDU(Header header) throws FitsException
header
- the template specifying the image.
FitsException
- if there was a problem with the header.public ImageHDU(PrimaryHDU primary) throws FitsException
primary
- the RandomGroupsHDU containing the image data.
FitsException
- if there was a problem with the data.public ImageHDU(java.lang.Object obj) throws FitsException
obj
- the data used to build the image.
FitsException
- if there was a problem with the data.Method Detail |
---|
public static boolean isHeader(Header header)
header
- to validate.
true
if this is an image extension header.public boolean isHeader()
true
if this HDU has a valid header.public Data manufactureData() throws FitsException
FitsException
- if the image extension could not be created.public void info()
info
in class BasicHDU
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |