mergernet.core.utils.compress_fits#

mergernet.core.utils.compress_fits(file: str | Path | BinaryIO, compress_type: str = 'HCOMPRESS_1', hcomp_scale: int = 3, quantize_level: int = 10, quantize_method: int = -1, ext: int = 0, save_path: str | Path | None = None, replace: bool = True)[source]#