Package nom.tam.image.compression.hdu
Class CompressedTableData
java.lang.Object
nom.tam.fits.Data
nom.tam.fits.AbstractTableData
nom.tam.fits.BinaryTable
nom.tam.image.compression.hdu.CompressedTableData
- All Implemented Interfaces:
FitsElement,TableData
-
Nested Class Summary
Nested classes/interfaces inherited from class nom.tam.fits.BinaryTable
BinaryTable.ColumnDesc, BinaryTable.SaveState -
Field Summary
FieldsFields inherited from class nom.tam.fits.Data
dataSize, fileOffset, input -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BinaryTableasBinaryTable(BinaryTable dataToFill, Header compressedHeader, Header targetHeader) voidvoidfillHeader(Header h) Update a FITS header to reflect the current state of the data.protected intvoidprotected voidsetColumnCompressionAlgorithms(String[] columnCompressionAlgorithms) protected CompressedTableDatasetRowsPerTile(int value) Methods inherited from class nom.tam.fits.BinaryTable
addByteVaryingColumn, addColumn, addFlattenedColumn, addRow, createColumnDataFor, createColumnTable, deleteColumns, deleteRows, getBases, getColumn, getData, getDimens, getElement, getFlatColumns, getFlattenedColumn, getHeapOffset, getHeapSize, getModelRow, getNCols, getNRows, getRawElement, getRow, getSizes, getTDims, getTrueSize, getTypes, read, readHeap, readTrueData, setColumn, setElement, setFlattenedColumn, setRow, updateAfterDelete, validColumn, validRow, writeMethods inherited from class nom.tam.fits.Data
getFileOffset, getKernel, getSize, reset, rewrite, rewriteable, setFileOffset
-
Field Details
-
rowsPerTile
private int rowsPerTile -
tiles
-
columnCompressionAlgorithms
-
-
Constructor Details
-
CompressedTableData
public CompressedTableData() -
CompressedTableData
- Throws:
FitsException
-
-
Method Details
-
compress
- Throws:
FitsException
-
fillHeader
Description copied from class:BinaryTableUpdate a FITS header to reflect the current state of the data. * @throws FitsException if the operation failed- Overrides:
fillHeaderin classBinaryTable- Parameters:
h- header to fill with the data from the current data object- Throws:
FitsException- if the operation fails
-
prepareUncompressedData
- Throws:
FitsException
-
asBinaryTable
protected BinaryTable asBinaryTable(BinaryTable dataToFill, Header compressedHeader, Header targetHeader) throws FitsException - Throws:
FitsException
-
getRowsPerTile
protected int getRowsPerTile() -
setColumnCompressionAlgorithms
-
setRowsPerTile
-