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
Fields inherited from class nom.tam.fits.Data
dataSize, fileOffset, input
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BinaryTable
asBinaryTable
(BinaryTable dataToFill, Header compressedHeader, Header targetHeader) void
void
fillHeader
(Header h) Update a FITS header to reflect the current state of the data.protected int
void
protected void
setColumnCompressionAlgorithms
(String[] columnCompressionAlgorithms) protected CompressedTableData
setRowsPerTile
(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, write
Methods inherited from class nom.tam.fits.Data
getFileOffset, getKernel, getSize, reset, rewrite, rewriteable, setFileOffset
-
Constructor Details
-
CompressedTableData
public CompressedTableData() -
CompressedTableData
- Throws:
FitsException
-
-
Method Details
-
compress
- Throws:
FitsException
-
fillHeader
Description copied from class:BinaryTable
Update a FITS header to reflect the current state of the data. * @throws FitsException if the operation failed- Overrides:
fillHeader
in classBinaryTable
- Throws:
FitsException
-
prepareUncompressedData
- Throws:
FitsException
-
asBinaryTable
protected BinaryTable asBinaryTable(BinaryTable dataToFill, Header compressedHeader, Header targetHeader) throws FitsException - Throws:
FitsException
-
getRowsPerTile
protected int getRowsPerTile() -
setColumnCompressionAlgorithms
-
setRowsPerTile
-