public class UndefinedHDU extends BasicHDU<UndefinedData>
BITPIX_BYTE, BITPIX_DOUBLE, BITPIX_FLOAT, BITPIX_INT, BITPIX_LONG, BITPIX_SHORT, isPrimary, myData, myHeader
Constructor and Description |
---|
UndefinedHDU(Header h,
UndefinedData d)
Build an image HDU using the supplied data.
|
Modifier and Type | Method and Description |
---|---|
static UndefinedData |
encapsulate(java.lang.Object o) |
void |
info(java.io.PrintStream stream)
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)
Check if we can find the length of the data for this header.
|
static Data |
manufactureData(Header hdr) |
static Header |
manufactureHeader(Data d) |
addValue, addValue, addValue, addValue, addValue, addValue, addValue, addValue, card, 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, getTrimmedString, read, reset, rewrite, rewriteable, saveReplaceCard, write
public UndefinedHDU(Header h, UndefinedData d) throws FitsException
h
- the header for this HDUd
- the data used to build the image.FitsException
- if there was a problem with the data.public static UndefinedData encapsulate(java.lang.Object o) throws FitsException
o
- the object to encapsulateFitsException
- if the operation failedpublic static boolean isData(java.lang.Object o)
o
- The Object being tested.public static boolean isHeader(Header hdr)
hdr
- header to check.true
if this HDU has a valid header.public static Data manufactureData(Header hdr) throws FitsException
FitsException
public static Header manufactureHeader(Data d) throws FitsException
d
- The image to be described.FitsException
- if the object does not contain valid image data.public void info(java.io.PrintStream stream)
BasicHDU
info
in class BasicHDU<UndefinedData>
stream
- the printstream to write the info on