healpy
stable
  • 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 c6a2f3ca. Last updated on Jan 10, 2023.

Built with Sphinx using a theme provided by Read the Docs.
Read the Docs v: stable
Versions
latest
stable
1.16.2
1.16.1
1.16.0
1.15.2
1.15.1
1.15.0
1.14.0
1.13.0
1.12.10
1.12.9
1.12.8
1.12.7
1.12.6
1.12.5
1.12.4
1.12.2
1.12.1
1.12.0
1.11.0
1.10.3
1.10.2
1.10.1
1.9.1
v1.9.0
1.8.6
1.6.3
1.6.2
1.6.1
1.5.0
1.4.1
1.2
1.1
testreadthedocs
Downloads
On Read the Docs
Project Home
Builds