Class QuantizeParameters
java.lang.Object
nom.tam.fits.compression.provider.param.base.CompressParameters
nom.tam.fits.compression.provider.param.quant.QuantizeParameters
- All Implemented Interfaces:
Cloneable
,ICompressParameters
(for internal use) A set of compression parameters recorded in the FITS that describe the quantization of
floating point data. Quantization is the process of representing floating-point values by integers.
- Author:
- Attila Kovacs
-
Constructor Summary
ConstructorsConstructorDescriptionQuantizeParameters
(QuantizeOption option) Creates a set of compression parameters used for quantization of floating point data. -
Method Summary
Modifier and TypeMethodDescriptionprotected ICompressColumnParameter[]
Retuens the subset of parameters from within, which are recorded in compressed table columns along with the compressed data.copy
(ICompressOption option) create a copy of this parameter for another option (normally a copy of the current option).protected ICompressHeaderParameter[]
Returns the subset of parameters from within, which are recorded in the header of the compressed HDU.void
setTileIndex
(int index) Initialize parameters for the given tile indexMethods inherited from class nom.tam.fits.compression.provider.param.base.CompressParameters
addColumnsToTable, clone, getValuesFromColumn, getValuesFromHeader, initializeColumns, initializeColumns, setValuesInColumn, setValuesInHeader
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface nom.tam.fits.compression.provider.param.api.ICompressParameters
setValueInColumn
-
Constructor Details
-
QuantizeParameters
Creates a set of compression parameters used for quantization of floating point data. Quantization is the process of representing floating-point values by integers.- Parameters:
option
- The compression option that is configured with the particular parameter values of this object.
-
-
Method Details
-
columnParameters
Description copied from class:CompressParameters
Retuens the subset of parameters from within, which are recorded in compressed table columns along with the compressed data.- Overrides:
columnParameters
in classCompressParameters
- Returns:
- the subset of parameters that are recorded in compressed table columns.
- See Also:
-
headerParameters
Description copied from class:CompressParameters
Returns the subset of parameters from within, which are recorded in the header of the compressed HDU.- Specified by:
headerParameters
in classCompressParameters
- Returns:
- the subset of parameters that are recorded in the compressed HDU's header.
- See Also:
-
setTileIndex
public void setTileIndex(int index) Description copied from interface:ICompressParameters
Initialize parameters for the given tile index- Specified by:
setTileIndex
in interfaceICompressParameters
- Overrides:
setTileIndex
in classCompressParameters
- Parameters:
index
- the 0-based tile index
-
copy
Description copied from interface:ICompressParameters
create a copy of this parameter for another option (normally a copy of the current option).- Parameters:
option
- the new option for the copied parameter- Returns:
- this (builder pattern)
-