4 from .fits
import (Fits, ImageWriteOptions, ImageCompressionOptions, ImageScalingOptions,
5 compressionAlgorithmToString, scalingAlgorithmToString)
13 def __exit__(self, cls, exc, traceback):
20 return f
"{self.__class__.__name__}(compression={self.compression!r}, scaling={self.scaling!r})"
26 return (f
"{self.__class__.__name__}(algorithm={compressionAlgorithmToString(self.algorithm)!r}, "
27 f
"tiles={self.tiles.tolist()!r}, quantizeLevel={self.quantizeLevel:f})")
33 return (f
"{self.__class__.__name__}(algorithm={scalingAlgorithmToString(self.algorithm)!r}, "
34 f
"bitpix={self.bitpix}, maskPlanes={self.maskPlanes}, seed={self.seed} "
35 f
"quantizeLevel={self.quantizeLevel}, quantizePad={self.quantizePad}, "
36 f
"fuzz={self.fuzz}, bscale={self.bscale}, bzero={self.bzero})")