Uses of Class
nom.tam.fits.FitsException
Packages that use FitsException
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 FitsException in nom.tam.fitsSubclasses of FitsException in nom.tam.fitsModifier and TypeClassDescriptionclassFailed checksum verification.classException that is generated when a header record is in violation of the standard, or encounters some other header card specific issue.classThe keyword is a HIERARCH-style long FITS keyword but the library does not have the hierarch support enabled at present.classThe string value does not fit into a signle 80-character wide FITS header record, and the library does not have long string support enabled at present.classThe value cannot fit into the available header space, as requested.classThis exception is thrown if padding is missing between the end of a FITS data segment and the end-of-file.classWhen an EOF is encountered in the middle of an HDU.classA header value with an unclosed single quote.classInvalid value type used for a standard header keyword.Methods in nom.tam.fits that throw FitsExceptionModifier and TypeMethodDescriptionintBinaryTable.addBitsColumn(Object o) Adds a column of bits.intintAdds an ASCII table column with the specified ASCII text width for storing its elements.intintAdds a new column with the specified data array, with some default mappings.intintAdd a column to the table, without updating the header of an encompassing HDU.intAdd a column to the table without any associated header information.intBinaryTable.addComplexColumn(Object o, Class<?> decimalType) Adds a column of complex values stored as the specified decimal type of components in the FITS.intBinaryTable.addFlattenedColumn(Object o, int... dims) Deprecated.(for internal use) No longer used, will be removed in the futurevoidAdd an HDU to the Fits object.intBeware that adding rows to ASCII tables may be very inefficient.intAdds a row to the table.intAdd a row at the end of the table without updating the header of an encompassing HDU.intAdd a row to the end of the table.default intTableData.addRowEntries(Object... entries) LikeTableData.addRow(Object[]), but with a vararg list of row entries.intBinaryTable.addStringColumn(String[] o) Adds a column of string values (one per row), optimized for storage size.intBinaryTable.addVariableSizeColumn(Object o) Adds a new variable-length data column, populating it with the specified data object.longBasicHDU.calcChecksum()Deprecated.UseBasicHDU.verifyIntegrity()instead when appropriate.longData.calcChecksum()Computes and returns the FITS checksum for this data, for example to compare against the storedDATASUMin the FITS header (e.g. viaBasicHDU.getStoredDatasum()).longFits.calcChecksum(int hduIndex) Deprecated.UseBasicHDU.verifyIntegrity()instead when appropriate.longFits.calcDatasum(int hduIndex) Calculates the data checksum for a given HDU in the Fits.Converts this image HDU to another image HDU of a different type, possibly using a qunatizer for the integer-decimal conversion of the data elements.final booleanBinaryTableHDU.convertToBits(int col) Converts a column from FITS logical values to bits.BinaryTable.copy()Returns an independent copy of the binary table.static voidBinaryTable.createColumnDataFor(BinaryTable table) Deprecated.(for internal use) It may become a private method in the future.static BinaryTable.ColumnDescBinaryTable.ColumnDesc.createForDelimitedStringArrays(byte delim) Creates a new column descriptor for variable-length arrays of delimited string entries.static BinaryTable.ColumnDescBinaryTable.ColumnDesc.createForFixedArrays(Class<?> type, int... dim) Creates a new column descriptor for fixed-shape non-string arrays.static BinaryTable.ColumnDescBinaryTable.ColumnDesc.createForScalars(Class<?> type) Creates a new column descriptor for a non-string based scalar column.static BinaryTable.ColumnDescBinaryTable.ColumnDesc.createForStrings(int len) Creates a new column descriptor for single string entries of fixed maximum length.static BinaryTable.ColumnDescBinaryTable.ColumnDesc.createForStrings(int len, int... outerDims) Creates a new column descriptor for arrays of string entries of fixed maximum length.static BinaryTable.ColumnDescBinaryTable.ColumnDesc.createForVariableSize(Class<?> type) Creates a new column descriptor for variable length 1D arrays or strings.static BinaryTable.ColumnDescBinaryTable.ColumnDesc.createForVariableStringArrays(int len) Creates a new column descriptor for variable-length arrays of fixed-length string entries.static RandomGroupsHDURandomGroupsHDU.createFrom(Object[][] data) Creates a random groups HDU from anObject[nGroups][2]array.static DataFitsFactory.dataFactory(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurelongBinaryTable.defragment()Defragments the heap area of this table, compacting the heap area, and returning the number of bytes by which the heap size has been reduced.voidAsciiTable.deleteColumns(int start, int len) voidBinaryTable.deleteColumns(int start, int len) voidTableData.deleteColumns(int col, int len) Removes a set of consecutive columns from this table, without updating assocu=iated the header information for the columns that were removed.voidTableHDU.deleteColumnsIndexOne(int column, int len) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to useTableData.deleteColumns(int, int)to edit tables before wrapping them in an HDU and editing the header as necessary to incorporate custom entries.voidTableHDU.deleteColumnsIndexOne(int column, int len, String[] fields) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to useTableData.deleteColumns(int, int)to edit tables before wrapping them in an HDU and editing the header as necessary to incorporate custom entries.voidTableHDU.deleteColumnsIndexZero(int column, int len) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to useTableData.deleteColumns(int, int)to edit tables before wrapping them in an HDU and editing the header as necessary to incorporate custom entries.voidTableHDU.deleteColumnsIndexZero(int column, int len, IFitsHeader[] fields) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to useTableData.deleteColumns(int, int)to edit tables before wrapping them in an HDU and editing the header as necessary to incorporate custom entries.voidFits.deleteHDU(int n) Delete an HDU from the HDU list.voidAsciiTable.deleteRows(int start, int len) Beware that repeatedly deleting rows from ASCII tables may be very inefficient.voidBinaryTable.deleteRows(int row, int len) voidTableData.deleteRows(int row, int len) Removes a set of consecutive rows from this table without updating any associated header information for an encompassing HDU.voidTableHDU.deleteRows(int row) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to useTableData.deleteRows(int, int)to edit tables before wrapping them in an HDU and editing the header as necessary to incorporate custom entries.voidTableHDU.deleteRows(int firstRow, int nRow) Deprecated.It is not entirely foolproof for keeping the header in sync -- it is better to useTableData.deleteRows(int, int)to edit tables before wrapping them in an HDU and editing the header as necessary to incorporate custom entries.voidData.detach()Detaches this data object from the input (if any), such as a file or stream, but not before loading data from the previously assigned input into memory.static AsciiTableAsciiTableHDU.encapsulate(Object o) Deprecated.(for internal use) UseAsciiTable.fromColumnMajor(Object[])instead.static BinaryTableBinaryTableHDU.encapsulate(Object o) Deprecated.(for internal use) UseBinaryTable.fromColumnMajor(Object[])orBinaryTable.fromRowMajor(Object[][])instead.static ImageDataImageHDU.encapsulate(Object o) Deprecated.(for internal use) UseImageData.from(Object)instead.static RandomGroupsDataRandomGroupsHDU.encapsulate(Object o) Deprecated.(for internal use) Will reduce visibility in the futurestatic UndefinedDataUndefinedHDU.encapsulate(Object o) Deprecated.(for internal use) Will reduce visibility in the futurevoidBinaryTable.fillHeader(Header h) Deprecated.(for internal use) Visibility should be reduced to protected.static AsciiTableAsciiTable.fromColumnMajor(Object[] columns) Creates an ASCII table from existing data in column-major format order.static BinaryTableBinaryTable.fromColumnMajor(Object[] columns) Creates a binary table from existing data in column-major format order.static BinaryTableBinaryTable.fromRowMajor(Object[][] table) Creates a binary table from existing table data in row-major format.BinaryTable.get(int row, int col) Returns a table element using the usual Java boxing for primitive scalar (singleton) entries, or packaging complex values asComplexValue, or as appropriate primitive or object arrays.int[]BasicHDU.getAxes()In FITS files the index represented by NAXIS1 is the index that changes most rapidly.BasicHDU.getBitpix()Return the Bitpix enum type for this HDU.final intBasicHDU.getBitPix()Deprecated.(for internal use) Will reduce visibility or remove entirely in the future.longBasicHDU.getBlankValue()Deprecated.This is only applicable toImageHDUorRandomGroupsHDUwith integer type data and not for other HDU or data types.longImageHDU.getBlankValue()Returns the integer value that signifies blank (missing ornull) data in an integer image.longRandomGroupsHDU.getBlankValue()Returns the integer value that signifies blank (missing ornull) data in an integer image.AsciiTable.getColumn(int col) Returns the data for a particular column in as a flattened 1D array of elements.BinaryTable.getColumn(int col) Returns the data for a particular column in as an array of elements.TableData.getColumn(int col) Returns the data for a particular column in as an array of elements.TableHDU.getColumn(int col) Returns the data for a particular column in as an array of elements.Returns the data for a particular column in as an array of elements.TableHDU.getColumnFormat(int index) Get the FITS type of a column in the table.Object[]TableHDU.getColumns()Returns the data for all columns in as an array.Fits.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.Object[]AsciiTable.getData()ColumnTable<?> BinaryTable.getData()Data.getData()Returns the underlying Java representation of the data contained in this HDU's data segment.voidGets data for a Java array from the heap.Object[][]RandomGroupsData.getData()byte[]UndefinedData.getData()static BinaryTable.ColumnDescBinaryTable.getDescriptor(Header header, int col) Extracts a column descriptor from the FITS header for a given column indexfinal doubleBinaryTable.getDouble(int row, int col) Returns the decimal value, if possible, of a scalar table entry.AsciiTable.getElement(int row, int col) BinaryTable.getElement(int row, int col) Returns a table element as a Java array.TableData.getElement(int row, int col) Returns the data element in this table.TableHDU.getElement(int row, int col) Returns a specific element from this tableObject[]BinaryTable.getFlatColumns()Deprecated.(for internal use) It may be private in the future.BinaryTable.getFlattenedColumn(int col) Deprecated.(for internal use) It may be reduced to private visibility in the future.BasicHDU<?> Fits.getHDU(int n) Returns the n'th HDU.BasicHDU<?> Returns the HDU by the given extension name (defined byEXTNAMEheader keyword).BasicHDU<?> Returns the HDU by the given extension name and version (defined byEXTNAMEandEXTVERkeywords).RandomGroupsData.getImage(int group) Returns the image component stored in the specified group.final ObjectData.getKernel()Same asData.getData().final BooleanBinaryTable.getLogical(int row, int col) Returns the boolean value, if possible, for scalar elements.final longBinaryTable.getLong(int row, int col) Returns a 64-bit integer value, if possible, of a scalar table entry.final NumberBinaryTable.getNumber(int row, int col) Returns the numerical value, if possible, for scalar elements.doubleRandomGroupsHDU.getParameter(String name, int group) Returns the value for a given group parameter.Fits.getPrimaryHeader()Returns the primary header of this FITS file, that is the header of the primary HDU in this Fits object.BinaryTable.getRawElement(int row, int col) Deprecated.(for internal use) Will reduce visibility in the future.Object[]AsciiTable.getRow(int row) Object[]BinaryTable.getRow(int row) Object[]TableData.getRow(int row) Returns an array of elements in a particualr table row.Object[]TableHDU.getRow(int row) Returns a specific row from this tablelongBasicHDU.getStoredChecksum()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.longBasicHDU.getStoredDatasum()Returns the FITS checksum for the HDU's data that is stored in the header of this HDU under theDATASUMkeyword.final StringBinaryTable.getString(int row, int col) Returns the string value, if possible, for scalar elements.static BasicHDU<?> FitsFactory.hduFactory(Object o) Deprecated.UseFits.makeHDU(Object)instead (this method may either be migrated toFitsentirely or else have visibility reduced to the package level).FitsFactory.hduFactory(Header hdr, DataClass d) Deprecated.(for internal use)/ Will reduce visibility in the futurestatic BasicHDU<?> FitsFactory.HDUFactory(Object o) Deprecated.UseFits.makeHDU(Object)instead (will removed in the future.FitsFactory.HDUFactory(Header hdr, DataClass d) Deprecated.(duplicate method for internal use) Same asFitsFactory.hduFactory(Header, Data), and will be removed in the future.abstract voidBasicHDU.info(PrintStream stream) Print out some information about this HDU.voidInsert a FITS object into the list of HDUs.Header.makeData()Deprecated.(for internal use) Normally we either want to write a Java object to FITS (in which case we have the dataand want to make a header for it), or we read some data from a FITS input.Fits.makeHDU(DataClass data) Creates a new empty HDU for the given data type.static BasicHDU<?> Creates an HDU that wraps around the specified data object.static BasicHDU<?> Creates a new empty HDU based on the header description of the datastatic AsciiTableAsciiTableHDU.manufactureData(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurestatic BinaryTableBinaryTableHDU.manufactureData(Header header) Deprecated.(for internal use) Will reduce visibility in the futurestatic ImageDataImageHDU.manufactureData(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurestatic RandomGroupsDataRandomGroupsHDU.manufactureData(Header header) Deprecated.(for internal use) Will reduce visibility in the futurestatic UndefinedDataUndefinedHDU.manufactureData(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurestatic HeaderAsciiTableHDU.manufactureHeader(Data d) Deprecated.(for internal use) Will reduce visibility in the futurestatic HeaderBinaryTableHDU.manufactureHeader(Data data) Deprecated.(for internal use) Will reduce visibility in the futurestatic HeaderImageHDU.manufactureHeader(Data d) Deprecated.(for internal use) Will reduce visibility in the futurestatic HeaderUndefinedHDU.manufactureHeader(Data d) Deprecated.(for internal use) Will reduce visibility in the futurestatic voidImageData.overrideHeaderAxes(Header header, int... sizes) (for expert users) Overrides the image size description in the header to the specified Java array dimensions.static voidFitsUtil.pad(ArrayDataOutput stream, long size) Deprecated.(for internal use) Visibility may be reduced to package level in the futurestatic voidFitsUtil.pad(ArrayDataOutput stream, long size, byte fill) Deprecated.(for internal use) Visibility may be reduced to private in the futurevoidHeader.pointToData(Data o) Deprecated.Use the appropriateHeaderconstructor instead.voidAsciiTable.read(ArrayDataInput in) voidBasicHDU.read(ArrayDataInput stream) voidBinaryTable.read(ArrayDataInput in) voidData.read(ArrayDataInput in) Reads the data or skips over it for reading later, depending on whether reading from a stream or a random acessible input, respectively.BasicHDU<?>[]Fits.read()Return all HDUs for the Fits object.voidFits.read(InputStream is) Deprecated.UseFits(InputStream)constructor instead.voidFitsElement.read(ArrayDataInput in) Read a FITS element from the input, starting at the current position.voidFitsHeap.read(ArrayDataInput str) voidImageData.read(ArrayDataInput in) BasicHDU<?> Fits.readHDU()Read the next HDU on the default input stream.static voidFitsUtil.reposition(FitsIO o, long offset) Deprecated.This method wraps anIOExceptioninto aFitsExceptionfor no good reason really.voidBasicHDU.rewrite()voidData.rewrite()voidFits.rewrite()Re-writes all HDUs that have been loaded (and possibly modified) to the disk, if possible -- or else does nothing.voidFitsElement.rewrite()Rewrite the contents of the element in place.voidFitsHeap.rewrite()voidHeader.rewrite()voidThe Swiss-army knife of setting table entries, including Java boxing, and with some support for automatic type conversions.voidBasicHDU.setChecksum()Computes the checksums for this HDU and stores theCHECKSUMandDATASUMvalues in the header.voidFits.setChecksum()Add or modify the CHECKSUM keyword in all headers.voidFits.setChecksum(int hduIndex) Computes theCHECKSUMandDATASUMvalues for the specified HDU index and stores them in the HUS's header.static voidFits.setChecksum(BasicHDU<?> hdu) Deprecated.voidvoidvoidSets new data for a table column.voidUpdate a column within a table.voidUpdate a column within a table.booleanBinaryTable.setComplexColumn(int index) Convert a column from float/double to float complex/double complex.booleanBinaryTableHDU.setComplexColumn(int index) Convert a column in the table to complex.voidAsciiTable.setElement(int row, int col, Object newData) voidBinaryTable.setElement(int row, int col, Object o) Consider using the more Java-friendlyBinaryTable.set(int, int, Object)with implicit scalar type conversions.voidTableData.setElement(int row, int col, Object element) Sets new data element in this table.voidTableHDU.setElement(int row, int col, Object element) Update a single element within the table.voidBinaryTable.setFlattenedColumn(int col, Object data) Deprecated.(for internal use) It may be reduced to private visibility in the future.voidvoidvoidSets new data for a table row.voidUpdate a row within a table.default voidTableData.setRowEntries(int row, Object... entries) LikeTableData.setRow(int, Object[])but with vararg list of entries.intFits.size()Deprecated.The meaning of size of ambiguous.voidFits.skipHDU()Skip the next HDU on the default input stream.voidFits.skipHDU(int n) Skip HDUs on the associate input stream.BinaryTable.toHDU()abstract BasicHDU<?> Data.toHDU()Returns an approprotae HDU object that encapsulates this FITS data, and contains the minimal mandatory header description for that data.ImageData.toHDU()RandomGroupsData.toHDU()voidAsciiTable.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.voidBinaryTable.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.voidTableData.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.voidHeader.validate(boolean asPrimary) Validates this header by making it a proper primary or extension header.booleanBasicHDU.verifyDataIntegrity()Checks that the HDUs data checksum is correct.booleanBasicHDU.verifyIntegrity()Checks the HDU's integrity, using the recorded CHECKSUM and/or DATASUM keywords if present.voidFits.verifyIntegrity()Checks the integrity of all HDUs.static BinaryTableHDUBinaryTableHDU.wrap(BinaryTable tab) Wraps the specified table in an HDU, creating a header for it with the essential table description.voidAsciiTable.write(ArrayDataOutput str) voidBasicHDU.write(ArrayDataOutput stream) voidBinaryTable.write(ArrayDataOutput os) voidBinaryTableHDU.write(ArrayDataOutput out) abstract voidData.write(ArrayDataOutput o) voidFits.write(DataOutput os) Deprecated.This method is poorly conceived as we cannot really write FITS to just anyDataOutputbut only to specificArrayDataOutput, which utilizeFitsEncoderto convert Java types to FITS binary format, such asFitsOutputStreamorFitsFile(or else a wrappedDataOutputStream).voidWrites the contents to a new file.voidWrites the contents to the specified file.voidWrites the contents to a designated FITS file.voidFits.write(FitsOutputStream out) Writes the contents to a designated FITS output stream.voidFitsElement.write(ArrayDataOutput out) Writes the contents of the element to a data sink, adding padding as necessary if the element (such as a header or data segment) is expected to complete the FITS block of 2880 bytes.voidFitsHeap.write(ArrayDataOutput str) voidHeader.write(ArrayDataOutput out) voidImageData.write(ArrayDataOutput o) voidRandomGroupsData.write(ArrayDataOutput str) voidRandomGroupsHDU.write(ArrayDataOutput stream) voidUndefinedData.write(ArrayDataOutput o) voidHeader.writeUnchecked(ArrayDataOutput out) (for internal use) Similar toHeader.write(ArrayDataOutput), but writes the header as is, without ensuring that mandatory keys are present, and in the correct order, or that checksums are updated.Constructors in nom.tam.fits that throw FitsExceptionModifierConstructorDescriptionAsciiTable(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.BinaryTable(Object[] columns) Deprecated.The constructor is ambiguous, useBinaryTable.fromColumnMajor(Object[])instead.BinaryTable(Object[][] rowColTable) Deprecated.The constructor is ambiguous, useBinaryTable.fromRowMajor(Object[][])instead.BinaryTable(Header header) Deprecated.(for internal use) This constructor should only be called from aFitsobject reading an input; visibility may be reduced to the package level in the future.BinaryTable(ColumnTable<?> tab) Deprecated.DO NOT USE -- it will be removed in the future.ColumnDesc(Class<?> base, int... dim) Creates a new column descriptor for the specified boxed Java type, and fixed array shape.Creates a new (empty) FITS container associated with a file input.Deprecated.UseFits(File)instead (compression is auto detected).Fits(InputStream str) Creates a new (empty) FITS container associated with the given input stream.Fits(InputStream str, boolean compressed) Deprecated.UseFits(InputStream)instead (compression is auto detected).Creates a new (empty) FITS container with a file or URL as its input.Deprecated.UseFits(String)instead (compression is auto detected).Creates a new (empty) FITS container with a given URL as its input.Deprecated.UseFits(URL)instead (compression is auto detected).Creates a new (empty) FITS container associated withFitsFileinput.Fits(RandomAccessFileIO src) Creates a new (empty) FITS container associated with an input that supports generalized random access.Convert a FITS date string to a JavaDateobject.Create a header which points to the given data object.(for internal use) Create an array from a header description.Deprecated.(for internal use).
- 
Uses of FitsException in nom.tam.fits.headerMethods in nom.tam.fits.header that throw FitsExceptionModifier and TypeMethodDescriptionvoidStokes.Parameters.fillImageHeader(Header header, int coordinateIndex) Adds WCS description for the coordinate axis containing Stokes parameters.voidStokes.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 BitpixBitpix.forArrayID(char id) Returns the standard BITPIX object for the given Java array ID.static BitpixBitpix.forNumberType(Class<? extends Number> dataType) Returns the standard BITPIX object for a number type.static BitpixBitpix.forPrimitiveType(Class<?> dataType) Returns the standard BITPIX object for a primitive type.static BitpixBitpix.forValue(int ival) Returns the standard BITPIX enum value for a given integer value, such as 8, 16, 32, 64, -32, or -64.static BitpixBitpix.forValue(int ival, boolean allowRepair) Returns the standard BITPIX enum value for a given integer value, such as 8, 16, 32, 64, -32, or -64.static BitpixBitpix.fromHeader(Header h) Returns the standard BITPIX object based on the value assigned to the BITPIX keyword in the headerstatic BitpixBitpix.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 FitsException in nom.tam.fits.utilitiesMethods in nom.tam.fits.utilities that throw FitsExceptionModifier and TypeMethodDescriptionstatic longDeprecated.UseBasicHDU.verifyIntegrity()instead to verify checksums.static longDeprecated.UseBasicHDU.verifyIntegrity()instead.static longDeprecated.UseBasicHDU.verifyIntegrity()instead.static longFitsCheckSum.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 longFitsCheckSum.getStoredDatasum(Header header) Returns the DATASUM value stored in a FITS header.static voidFitsCheckSum.setChecksum(BasicHDU<?> hdu) Computes and sets the DATASUM and CHECKSUM keywords for a given HDU.static voidFitsCheckSum.setDatasum(Header header, long datasum) Sets theDATASUMandCHECKSUMkeywords in a FITS header, based on the provided checksum of the data (calculated elsewhere) and the checksum calculated afresh for the header.
- 
Uses of FitsException in nom.tam.imageMethods in nom.tam.image that throw FitsExceptionConstructors in nom.tam.image that throw FitsExceptionModifierConstructorDescriptionStreamingTileImageData(Header header, ImageTiler tiler, int[] corners, int[] lengths, int[] steps) Constructor for a tile image data object.
- 
Uses of FitsException in nom.tam.image.compression.hduMethods in nom.tam.image.compression.hdu that throw FitsExceptionModifier and TypeMethodDescriptionCompressedTableHDU.asBinaryTableHDU()Restores the original binary table HDU by decompressing the data contained in this compresed table HDU.final BinaryTableHDUCompressedTableHDU.asBinaryTableHDU(int tile) Restores a section of the original binary table HDU by decompressing a single compressed table tile.CompressedTableHDU.asBinaryTableHDU(int fromTile, int toTile) Restores a section of the original binary table HDU by decompressing a selected range of compressed table tiles.CompressedImageHDU.asImageHDU()Restores the original image HDU by decompressing the data contained in this compresed image HDU.voidCompressedImageHDU.compress()Performs the actual compression with the selected algorithm(s) and options.void(for internal use) This should only be called byCompressedTableHDU, and should have reduced visibility accordingly.CompressedTableHDU.compress()Performs the actual compression with the selected algorithm(s) and options.longCompressedTableData.defragment()voidCompressedImageData.fillHeader(Header h) voidCompressedTableData.fillHeader(Header h) static CompressedTableHDUCompressedTableHDU.fromBinaryTableHDU(BinaryTableHDU binaryTableHDU, int tileRows, String... columnCompressionAlgorithms) Prepare a compressed binary table HDU for the specified binary table.static CompressedImageHDUCompressedImageHDU.fromImageHDU(ImageHDU imageHDU, int... tileAxis) Prepare a compressed image hdu for the specified image. the tile axis that are specified with -1 default to tiling by rows.CompressedTableHDU.getColumnData(int col) Returns a particular section of a decompressed data column.CompressedTableHDU.getColumnData(int col, int fromTile, int toTile) Returns a particular section of a decompressed data column.int[]CompressedImageHDU.getImageAxes()Given this compressed HDU, get the original (decompressed) axes.CompressedImageHDU.getTileHDU(int[] corners, int[] lengths) Returns anImageHDU, with the specified decompressed image area.intCompressedTableHDU.getTileRows()Returns the number of table rows that are compressed in each table tile.CompressedImageHDU.getUncompressedData()Deprecated.(for internal use) There is no reason why this should be exposed to users.static CompressedImageDataCompressedImageHDU.manufactureData(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurestatic CompressedTableDataCompressedTableHDU.manufactureData(Header hdr) Deprecated.(for internal use) Will reduce visibility in the futurevoidCompressedTableData.prepareUncompressedData(ColumnTable<?> data) Deprecated.(for internal use) This should only be called byCompressedTableHDU, and its visibility will be reduced accordingly in the future, not to mention that it should take a BinaryTable as its argument.CompressedImageHDU.setCompressAlgorithm(String compressAlgorithm) Sets the compression algorithm to use, by its standard FITS name.CompressedImageHDU.setQuantAlgorithm(String quantAlgorithm) Sets the quantization algorithm to use, by its standard FITS name.Constructors in nom.tam.image.compression.hdu that throw FitsExceptionModifierConstructorDescriptionCompressedTableData(Header header) Creates a new compressed table data based on the prescription of the supplied header.
- 
Uses of FitsException in nom.tam.utilSubclasses of FitsException in nom.tam.utilModifier and TypeClassDescriptionclassFor when attempting to do something illegal or invalid with FITS tables.