healpy
1.16.1
  • 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
      • 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
    • Helper
      • healpy.fitsfunc.getformat
  • Pixel querying routines
  • rotator – Rotation and geometry functions
  • projector – Spherical projections
  • zoomtool – Interactive visualisation
  • Line integral convolution
  • Licenses
healpy
  • »
  • 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 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.

Previous Next

© Copyright CC/BY/4.0/International. Revision d58c12f4. Last updated on Jul 23, 2022.

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