healpy
1.11.0
  • Healpy tutorial
  • Installation procedure for Healpy
  • pixelfunc – Pixelisation related functions
  • sphtfunc – Spherical harmonic transforms
  • visufunc – Visualisation
  • fitsfunc – FITS file related functions
    • Reading/writing maps
      • healpy.fitsfunc.read_map
      • healpy.fitsfunc.write_map
    • Reading/writing alm
      • healpy.fitsfunc.read_alm
      • healpy.fitsfunc.write_alm
    • Reading/writing cl
      • healpy.fitsfunc.read_cl
      • healpy.fitsfunc.write_cl
    • Reading/writing column in fits file
      • healpy.fitsfunc.mrdfits
      • healpy.fitsfunc.mwrfits
    • Helper
      • healpy.fitsfunc.getformat
  • Pixel querying routines
  • rotator – Rotation and geometry functions
  • projector – Spherical projections
  • zoomtool – Interactive visualisation
  • Licenses
healpy
  • Docs »
  • fitsfunc – FITS file related functions
  • Edit on GitHub

fitsfunc – FITS file related functions¶

Reading/writing maps¶

read_map(filename[, field, dtype, nest, ...]) Read a healpix map from a fits file.
write_map(filename, m[, nest, dtype, ...]) Writes a healpix map into a healpix file.

Reading/writing alm¶

read_alm(filename[, hdu, return_mmax]) Read alm from a fits file.
write_alm(filename, alms[, out_dtype, lmax, ...]) Write alms to a fits file.

Reading/writing cl¶

read_cl(filename[, dtype, h]) Reads Cl from a healpix file, as IDL fits2cl.
write_cl(filename, cl[, dtype, overwrite]) Writes Cl into a healpix file, as IDL cl2fits.

Reading/writing column in fits file¶

mrdfits(filename[, hdu]) Read a table in a fits file.
mwrfits(filename, data[, hdu, colnames, keys]) Write columns to a fits file in a table extension.

Helper¶

getformat(t) Get the FITS convention format string of data type t.
Next Previous

© Copyright CC/BY/4.0/International. Revision 38420e8f.

Built with Sphinx using a theme provided by Read the Docs.