- healpy.fitsfunc.write_cl(filename, cl, dtype=None, overwrite=False)¶
Writes Cl into a healpix file, as IDL cl2fits.
the fits file name
the cl array to write to file
- dtypenp.dtype (optional)
The datatype in which the columns will be stored. If not supplied, the dtype of the input cl will be used. This changed in healpy 1.15.0, in previous versions, cl by default were saved in float64.
- overwritebool, optional
If True, existing file is silently overwritten. Otherwise trying to write an existing file raises an OSError.