healpy.fitsfunc.write_cl

healpy.fitsfunc.write_cl(filename, cl, dtype=<class 'numpy.float64'>, overwrite=False)

Writes Cl into a healpix file, as IDL cl2fits.

Parameters
filenamestr

the fits file name

clarray

the cl array to write to file

overwritebool, optional

If True, existing file is silently overwritten. Otherwise trying to write an existing file raises an OSError (IOError for Python 2).