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 FITS 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)

Reads Cl from a healpix file, as IDL fits2cl.

write_cl(filename, cl[, dtype, overwrite])

Writes Cl into a healpix file, as IDL cl2fits.

Helper¶

getformat(t)

Get the FITS convention format string of data type t.

healpy

Navigation

  • healpy tutorial
  • Other tutorials
  • Installation procedure for Healpy
  • pixelfunc – Pixelisation related functions
  • sphtfunc – Spherical harmonic transforms
  • visufunc – Visualisation
  • newvisufunc – Experimental visualisation
  • fitsfunc – FITS file related functions
    • Reading/writing maps
    • Reading/writing alm
    • Reading/writing cl
    • Helper
  • Pixel querying routines
  • rotator – Rotation and geometry functions
  • projector – Spherical projections
  • zoomtool – Interactive visualisation
  • Line integral convolution
  • Other functions
  • Licenses

Related Topics

  • Documentation overview
    • Previous: healpy.newvisufunc.newprojplot
    • Next: healpy.fitsfunc.read_map
©CC/BY/4.0/International. | Powered by Sphinx 8.1.3 & Alabaster 1.0.0 | Page source