Uses of Class
nom.tam.fits.Header
Package
Description
The core classes of nom-tam-fits.
Standardized FITS header keywords.
A collection of useful classes.
Image tiling support.
Compressing and decompressing HDUs, for both images and binary tables.
Various commonly used classes for nom-tam-fits.
-
Uses of Header in nom.tam.fits
Modifier and TypeMethodDescriptionFits.getCompleteHeader
(int n) Returns the 'complete' header of the nth HDU in this FITS file/object.Fits.getCompleteHeader
(String name) Returns the complete header of the first HDU by the specified name in this FITS file/object.Fits.getCompleteHeader
(String name, int version) Returns the complete header of the first HDU by the specified name and version in this FITS file/object.BasicHDU.getHeader()
Returns the FITS header component of this HDUFits.getPrimaryHeader()
Returns the primary header of this FITS file, that is the header of the primary HDU in this Fits object.HeaderCardBuilder.header()
Returns the FITS header object that this builder is used withstatic Header
AsciiTableHDU.manufactureHeader
(Data d) Deprecated.(for internal use) Will reduce visibility in the futurestatic Header
BinaryTableHDU.manufactureHeader
(Data data) Deprecated.(for internal use) Will reduce visibility in the futurestatic Header
ImageHDU.manufactureHeader
(Data d) Deprecated.(for internal use) Will reduce visibility in the futurestatic Header
UndefinedHDU.manufactureHeader
(Data d) Deprecated.(for internal use) Will reduce visibility in the futurestatic Header
Header.readHeader
(ArrayDataInput dis) Create a header by reading the information from the input stream.Modifier and TypeMethodDescriptionstatic Data
FitsFactory.dataFactory
(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurevoid
BinaryTable.fillHeader
(Header h) Deprecated.(for internal use) Visibility should be reduced to protected.static BinaryTable.ColumnDesc
BinaryTable.getDescriptor
(Header header, int col) Extracts a column descriptor from the FITS header for a given column indexFitsFactory.hduFactory
(Header hdr, DataClass d) Deprecated.(for internal use)/ Will reduce visibility in the futureFitsFactory.HDUFactory
(Header hdr, DataClass d) Deprecated.(duplicate method for internal use) Same asFitsFactory.hduFactory(Header, Data)
, and will be removed in the future.static boolean
Deprecated.(for internal use) Will reduce visibility in the futurestatic boolean
Deprecated.(for internal use) Will be removed as it serves no purpose.static boolean
Deprecated.(for internal use) Will reduce visibility in the futurestatic boolean
Deprecated.(for internal use) Will reduce visibility in the futurestatic boolean
Deprecated.(for internal use) Will reduce visibility in the futurestatic boolean
Deprecated.(for internal use) Will reduce visibility in the futurestatic BasicHDU<?>
Creates a new empty HDU based on the header description of the datastatic AsciiTable
AsciiTableHDU.manufactureData
(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurestatic BinaryTable
BinaryTableHDU.manufactureData
(Header header) Deprecated.(for internal use) Will reduce visibility in the futurestatic ImageData
ImageHDU.manufactureData
(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurestatic RandomGroupsData
RandomGroupsHDU.manufactureData
(Header header) Deprecated.(for internal use) Will reduce visibility in the futurestatic UndefinedData
UndefinedHDU.manufactureData
(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurevoid
Header.mergeDistinct
(Header source) Merges copies of all cards from another header, provided they are not readily present in this header.static void
ImageData.overrideHeaderAxes
(Header header, int... sizes) (for expert users) Overrides the image size description in the header to the specified Java array dimensions.void
AsciiTable.updateAfterDelete
(int oldNCol, Header hdr) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to (re)wrap tables in a new HDU and editing the header as necessary to incorporate custom entries.void
BinaryTable.updateAfterDelete
(int oldNcol, Header hdr) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to (re)wrap tables in a new HDU after column deletions, and then edit the new header as necessary to incorporate custom entries.void
TableData.updateAfterDelete
(int oldNcol, Header hdr) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to (re)wrap tables in a new HDU after column deletions, and then edit the new header as necessary to incorporate custom entries.void
Header.updateLines
(Header newHdr) Overwrite the lines in the header.ModifierConstructorDescriptionAsciiTable
(Header hdr) Deprecated.(for internal use) Visibility may be reduced to the package level in the future.AsciiTable
(Header hdr, boolean preferInt) Deprecated.UseAsciiTable.setI10PreferInt(boolean)
instead prior to reading ASCII tables.AsciiTableHDU
(Header h, AsciiTable d) Deprecated.(for internal use) Its visibility should be reduced to package level in the future.BinaryTable
(Header header) Deprecated.(for internal use) This constructor should only be called from aFits
object reading an input; visibility may be reduced to the package level in the future.BinaryTableHDU
(Header hdr, BinaryTable datum) Deprecated.(for internal use) Its visibility should be reduced to package level in the future.(for internal use) Create an array from a header description.Deprecated.(for internal use) Its visibility should be reduced to package level in the future.NullDataHDU
(Header myHeader) Instantiates a new HDU with only the supplied header and no associated data.RandomGroupsHDU
(Header header, RandomGroupsData data) Deprecated.(for internal use) Its visibility should be reduced to package level in the future.Deprecated.(for internal use).UndefinedHDU
(Header h, UndefinedData d) Deprecated.(for internal use) Its visibility should be reduced to package level in the future. -
Uses of Header in nom.tam.fits.header
Modifier and TypeMethodDescriptionvoid
Stokes.Parameters.fillImageHeader
(Header header, int coordinateIndex) Adds WCS description for the coordinate axis containing Stokes parameters.void
Stokes.Parameters.fillTableHeader
(Header header, int column, int coordinateIndex) Adds WCS description for the coordinate axis containing Stokes parameters to a table column containign images.static Bitpix
Bitpix.fromHeader
(Header h) Returns the standard BITPIX object based on the value assigned to the BITPIX keyword in the headerstatic Bitpix
Bitpix.fromHeader
(Header h, boolean allowRepair) Returns the standard BITPIX object based on the value assigned to the BITPIX keyword in the headerstatic Map.Entry<Integer,
Stokes.Parameters> Stokes.fromImageHeader
(Header header) Returns a mapping of a Java array dimension to a set of Stokes parameters, based on the WCS coordinate description in the image header.static Map.Entry<Integer,
Stokes.Parameters> Stokes.fromTableHeader
(Header header, int column) Returns a mapping of a Java array dimension to a set of Stokes parameters, based on the WCS coordinate description in the image header. -
Uses of Header in nom.tam.fits.utilities
Modifier and TypeMethodDescriptionstatic long
Deprecated.UseBasicHDU.verifyIntegrity()
instead.static long
FitsCheckSum.getStoredChecksum
(Header header) Deprecated.Not very useful, since it has no meaning other than ensuring that the checksum of the HDU yields(int) -1
(that is0xffffffff
) after including this value for the CHECKSUM keyword in the header.static long
FitsCheckSum.getStoredDatasum
(Header header) Returns the DATASUM value stored in a FITS header.static void
FitsCheckSum.setDatasum
(Header header, long datasum) Sets theDATASUM
andCHECKSUM
keywords in a FITS header, based on the provided checksum of the data (calculated elsewhere) and the checksum calculated afresh for the header. -
Uses of Header in nom.tam.image
ModifierConstructorDescriptionStreamingTileImageData
(Header header, ImageTiler tiler, int[] corners, int[] lengths, int[] steps) Constructor for a tile image data object. -
Uses of Header in nom.tam.image.compression.hdu
Modifier and TypeMethodDescriptionCompressedImageHDU.getImageHeader()
Obtain a header representative of a decompressed ImageHDU.CompressedTableHDU.getTableHeader()
Obtain a header representative of a decompressed TableHDU.Modifier and TypeMethodDescriptionvoid
(for internal use) This should only be called byCompressedTableHDU
, and should have reduced visibility accordingly.void
CompressedImageData.fillHeader
(Header h) void
CompressedTableData.fillHeader
(Header h) static boolean
Deprecated.(for internal use) Will reduce visibility in the futurestatic boolean
Deprecated.(for internal use) Will reduce visibility in the futurestatic CompressedImageData
CompressedImageHDU.manufactureData
(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurestatic CompressedTableData
CompressedTableHDU.manufactureData
(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futureModifierConstructorDescriptionCompressedImageHDU
(Header hdr, CompressedImageData datum) Creates an new compressed image HDU with the specified header and compressed data.CompressedTableData
(Header header) Creates a new compressed table data based on the prescription of the supplied header.CompressedTableHDU
(Header hdr, CompressedTableData datum) Creates an new compressed table HDU with the specified header and compressed data. -
Uses of Header in nom.tam.util
Modifier and TypeMethodDescriptionvoid
Quantizer.editImageHeader
(Header h) Adds the quantization parameters to an image header,void
Quantizer.editTableHeader
(Header h, int col) Adds the quantization parameters to a binaty table header,static Quantizer
Quantizer.fromImageHeader
(Header h) Returns the quantizer that is described by an image header.static Quantizer
Quantizer.fromTableHeader
(Header h, int col) Returns the quantizer that is described by a binary table header.