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(Object o) |
void |
info(PrintStream stream)
Print out some information about this HDU.
|
static boolean |
isData(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, writepublic 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(Object o) throws FitsException
o - the object to encapsulateFitsException - if the operation failedpublic static boolean isData(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
FitsExceptionpublic 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(PrintStream stream)
BasicHDUinfo in class BasicHDU<UndefinedData>stream - the printstream to write the info onCopyright © 1996–2018 nom-tam-fits. All rights reserved.