astromodule.io.compress_fits# compress_fits(file: str | Path | BufferedIOBase | RawIOBase | TextIOBase, 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, replace: bool = True)[source]#