public class CompressedTableHDU extends BinaryTableHDU
BITPIX_BYTE, BITPIX_DOUBLE, BITPIX_FLOAT, BITPIX_INT, BITPIX_LONG, BITPIX_SHORT, isPrimary, myData, myHeader
Constructor and Description |
---|
CompressedTableHDU(Header hdr,
CompressedTableData datum) |
Modifier and Type | Method and Description |
---|---|
BinaryTableHDU |
asBinaryTableHDU() |
CompressedTableHDU |
compress() |
static CompressedTableHDU |
fromBinaryTableHDU(BinaryTableHDU binaryTableHDU,
int tileRows,
String... columnCompressionAlgorithms)
Prepare a compressed binary table HDU for the specified binary table.
|
CompressedTableData |
getData() |
static boolean |
isHeader(Header hdr)
Check that this HDU has a valid header for this type.
|
static CompressedTableData |
manufactureData(Header hdr) |
addColumn, binaryTableColumnKeyStems, columnKeyStems, encapsulate, info, isData, isHeader, manufactureHeader, setComplexColumn, write
addRow, deleteColumnsIndexOne, deleteColumnsIndexOne, deleteColumnsIndexZero, deleteColumnsIndexZero, deleteRows, deleteRows, findColumn, getColumn, getColumn, getColumnFormat, getColumnMeta, getColumnName, getColumns, getElement, getNCols, getNRows, getRow, setColumn, setColumn, setColumnMeta, setColumnMeta, setColumnMeta, setColumnMeta, setColumnMeta, setColumnMeta, setColumnMeta, setColumnName, setCurrentColumn, setCurrentColumn, setElement, setRow
addValue, addValue, addValue, addValue, addValue, addValue, addValue, addValue, card, getAuthor, getAxes, getBitPix, getBlankValue, getBScale, getBUnit, getBZero, getCreationDate, getDummyHDU, getEpoch, getEquinox, getFileOffset, getGroupCount, getHeader, getInstrument, getKernel, getMaximumValue, getMinimumValue, getObject, getObservationDate, getObserver, getOrigin, getParameterCount, getReference, getSize, getTelescope, getTrimmedString, getTrimmedString, read, reset, rewrite, rewriteable, saveReplaceCard
public CompressedTableHDU(Header hdr, CompressedTableData datum)
public static CompressedTableHDU fromBinaryTableHDU(BinaryTableHDU binaryTableHDU, int tileRows, String... columnCompressionAlgorithms) throws FitsException
binaryTableHDU
- the binary table to compresstileRows
- the number of rows that should be compressed per tile.columnCompressionAlgorithms
- the compression algorithms to use for the columns (optional
default compression will be used if a column has no
compression specified)FitsException
- if the binary table could not be used to create a compressed
binary table.public static boolean isHeader(Header hdr)
hdr
- header to checktrue
if this HDU has a valid header.public static CompressedTableData manufactureData(Header hdr) throws FitsException
FitsException
public BinaryTableHDU asBinaryTableHDU() throws FitsException
FitsException
public CompressedTableHDU compress() throws FitsException
FitsException
public CompressedTableData getData()
getData
in class BasicHDU<BinaryTable>
Copyright © 1996–2019 nom-tam-fits. All rights reserved.