healpy.fitsfunc.write_cl¶
-
healpy.fitsfunc.
write_cl
(filename, cl, dtype=None, 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
- dtypenp.dtype (optional)
The datatype in which the columns will be stored. If not supplied, np.float64 will be assumed. (WARNING: in some future version, the type of cl will be used instead.)
- overwritebool, optional
If True, existing file is silently overwritten. Otherwise trying to write an existing file raises an OSError (IOError for Python 2).