Package nom.tam.fits
Class NullDataHDU
- All Implemented Interfaces:
FitsElement
A class of HDU that contains only a header only with no associated data. Such HDUs are commonly used as the primary
HDU in FITS files where the leading data is not an image, since only images may constitute the primary HDU.
- Since:
- 1.18
- Author:
- Attila Kovacs
- See Also:
-
Field Summary
Fields inherited from class nom.tam.fits.BasicHDU
BITPIX_BYTE, BITPIX_DOUBLE, BITPIX_FLOAT, BITPIX_INT, BITPIX_LONG, BITPIX_SHORT
-
Constructor Summary
ConstructorDescriptionInstantiates a new HDU with a default header and no associated data.NullDataHDU
(Header myHeader) Instantiates a new HDU with only the supplied header and no associated data. -
Method Summary
Modifier and TypeMethodDescriptiongetData()
Returns the data component of this HDU.void
info
(PrintStream stream) Print out some information about this HDU.Methods inherited from class nom.tam.fits.ImageHDU
encapsulate, getBlankValue, getBScale, getBUnit, getBZero, getTiler, isData, isHeader, manufactureData, manufactureHeader
Methods inherited from class nom.tam.fits.BasicHDU
addValue, addValue, addValue, addValue, addValue, addValue, addValue, addValue, calcChecksum, card, getAuthor, getAxes, getBitpix, getBitPix, getCreationDate, getDummyHDU, getEpoch, getEquinox, getFileOffset, getGroupCount, getHeader, getInstrument, getKernel, getMaximumValue, getMinimumValue, getObject, getObservationDate, getObserver, getOrigin, getParameterCount, getReference, getSize, getStoredChecksum, getStoredDatasum, getTelescope, getTrimmedString, getTrimmedString, read, reset, rewrite, rewriteable, setChecksum, verifyDataIntegrity, verifyIntegrity, write
-
Constructor Details
-
NullDataHDU
public NullDataHDU()Instantiates a new HDU with a default header and no associated data. -
NullDataHDU
Instantiates a new HDU with only the supplied header and no associated data.- Parameters:
myHeader
- the FITS header for this HDU
-
-
Method Details