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.voidsetTileIndex(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, setValuesInHeaderMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:CompressParametersRetuens the subset of parameters from within, which are recorded in compressed table columns along with the compressed data.- Overrides:
columnParametersin classCompressParameters- Returns:
- the subset of parameters that are recorded in compressed table columns.
- See Also:
-
headerParameters
Description copied from class:CompressParametersReturns the subset of parameters from within, which are recorded in the header of the compressed HDU.- Specified by:
headerParametersin 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:ICompressParametersInitialize parameters for the given tile index- Specified by:
setTileIndexin interfaceICompressParameters- Overrides:
setTileIndexin classCompressParameters- Parameters:
index- the 0-based tile index
-
copy
Description copied from interface:ICompressParameterscreate 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)
-