FitsQuantizationOptions#
- pydantic model lsst.images.fits.FitsQuantizationOptions#
Quantization options for FITS compression.
- Parameters:
data (
Any)- Fields:
- field dither: FitsDitherAlgorithm [Required]#
How to add random noise during quantization to reduce biases.
- field level: float [Required]#
Quantization level.
When positive, this is the fraction of the measured standard deviation that corresponds to an integer step. When negative, it is
-ZSCALE, the scaling to apply directly to the original pixels before quantization.
- field seed: int | None = None#
Random number seed to use for dithering.
Values between 1 and 10000 (inclusive) are used directly.
0will generate a value from the current time, and-1will generate a value from the checksum of the image.If
None, thecompression_seedparameter must be passed toFitsOutputArchive.openif any quantized compression is configured.