Subsections

Using the HEALPix Fortran 90 facilities


Default file names and directories

For some applications, the HEALPix facilities require some precalculated input files describing the pixel window function and ring-based or pixel-based quadrature weights (shipped as Healpix/data/pixel_window_n????.fits, Healpix/data/weight_ring_n?????.fits and Healpix/data/weight_pixel_n?????.fits respectively).

By default, files with the very same name (generated by functions such as get_healpix_pixel_window_file) will be looked for into a list of directories (generated by get_healpix_data_dir) containing the current directory (.), the parent directory (..), ./data, ../data, $HEALPIX and $HEALPIX/data where $HEALPIX is a system variable defined as the full path to the HEALPix package (see the installation documentation).
However, the user has the possibility to change both the name of those files and their location (with options like windowfile, winfiledir, w8file, or w8filedir)


Double/Single precision mode

Several facilities offer the option of switching at run time the precision of the internal variables and arrays and of the I/O data from single to double precision floating point reals. The following points should be noted:


Beam window function files

Several F90 and IDL applications (eg, alteralm, sky_ng_sim, smoothing, synfast, ialteralm, ismoothing, isynfast) accept, generally with the argument beam_file a circular (possibly non-gaussian) beam or smoothing window, which is described under the form of its real (polarized) Legendre window functions (see IDL's beam2bl) read from an external file.The file is either In any case, the multipole $\ell$ must take all integer values in $\{0,\ldots,\ell_{\mathrm{max}}\}$, with the assumption that the window functions vanish outside that range. bT is the 'temperature' or intensity window function, while the optional bE and bB are respectively the electric (or gradient) and magnetic (or curl) components of polarization. If not provided, $b_B(\ell)$ takes the value of $b_E(\ell)$ which itself defaults to $b_T(\ell)$. With these window functions, the (polarized) map spherical harmonics coefficients and its power spectra are transformed according to
$\displaystyle a^{X}_{\ell m}$   $\displaystyle \longrightarrow a^{X}_{\ell m} b_{X}(\ell),$ (1)
$\displaystyle C^{XY}_{\ell m}$   $\displaystyle \longrightarrow C^{XY}_{\ell m} b_{X}(\ell)b_{Y}(\ell),$ (2)

with $X,Y \in \{T,E,B\}$.

Version 3.82, 2022-07-28