|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object nom.tam.fits.BasicHDU nom.tam.fits.UndefinedHDU
public class UndefinedHDU
Holder for unknown data types.
Field Summary |
---|
Fields inherited from class nom.tam.fits.BasicHDU |
---|
BITPIX_BYTE, BITPIX_DOUBLE, BITPIX_FLOAT, BITPIX_INT, BITPIX_LONG, BITPIX_SHORT, isPrimary, myData, myHeader |
Constructor Summary | |
---|---|
UndefinedHDU(Header h,
Data d)
Build an image HDU using the supplied data. |
Method Summary | |
---|---|
static Data |
encapsulate(java.lang.Object o)
Encapsulate an object as an ImageHDU. |
void |
info()
Print out some information about this HDU. |
static boolean |
isData(java.lang.Object o)
Check if we can use the following object as in an Undefined FITS block. |
static boolean |
isHeader(Header hdr)
|
Data |
manufactureData()
Create a Data object to correspond to the header description. |
static Data |
manufactureData(Header hdr)
|
static Header |
manufactureHeader(Data d)
Create a header that describes the given image data. |
Methods inherited from class nom.tam.fits.BasicHDU |
---|
addValue, addValue, addValue, addValue, getAuthor, getAxes, getBitPix, getBlankValue, getBScale, getBUnit, getBZero, getCreationDate, getData, getDummyHDU, getEpoch, getEquinox, getFileOffset, getGroupCount, getHeader, getInstrument, getKernel, getMaximumValue, getMinimumValue, getObject, getObservationDate, getObserver, getOrigin, getParameterCount, getReference, getSize, getTelescope, getTrimmedString, read, readData, rewrite, rewriteable, skipData, skipData, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UndefinedHDU(Header h, Data d) 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 hdr)
public static boolean isData(java.lang.Object o)
o
- The Object being tested.public Data manufactureData() throws FitsException
FitsException
- if the image extension could not be created.public static Data manufactureData(Header hdr) throws FitsException
FitsException
public static Header manufactureHeader(Data d) throws FitsException
o
- The image to be described.
FitsException
- if the object does not contain
valid image data.public static Data encapsulate(java.lang.Object o) throws FitsException
FitsException
public void info()
info
in class BasicHDU
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |