HEALPix¶
HEALPix is a Hierarchical, Equal Area, and iso-Latitude Pixelation of the sphere designed to support local operations on the pixel set, a hierarchical tree structure for multi-resolution applications, and the global Fast Spherical Harmonic transform.
HEALPix is available as a module on Apocrita.
Usage¶
To run the default installed version of HEALPix, simply load the
healpix
module:
module load healpix
To visualise results in Jupyter Notebook and OnDemand,
firstly prepare a virtual environment
with the healpy
and ipykernel
packages installed then run command
python -m ipykernel install --user --name healpix
to use this environment
inside OnDemand. A full worked example is available as a
tutorial
on our blog site.
Example jobs¶
Serial jobs¶
Here is an example job running on 1 core and 1GB of memory:
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe smp 1
#$ -l h_rt=1:0:0
#$ -l h_vmem=1G
module load healpix
alice3 [arguments]
map2gif [arguments]
median_filter [arguments]
smoothing_cxx [arguments]
Replace [arguments]
with the required arguments for the chosen HEALPix
program. In addition to those shown above, there are several other HEALPix
programs available after loading the healpix
module.
Here is another example job running on 1 core and 1GB of memory:
#!/bin/bash
#$ -cwd
#$ -j y
#$ -pe smp 1
#$ -l h_rt=1:0:0
#$ -l h_vmem=1G
module load healpix
python healpix_code.py