ShapePipe is a galaxy shape measurement pipeline developed within the CosmoStat lab at CEA Paris-Saclay. It runs the full chain from raw survey images to calibrated shear catalogues — object detection, PSF modelling, and shape measurement — and produced the first UNIONS cosmic-shear release.
ShapePipe ships as a container image, so you can run the bundled example pipeline — a single CFIS tile through the full chain — without installing anything:
# Apptainer (HPC, no root needed):
apptainer exec docker://ghcr.io/cosmostat/shapepipe:develop-runtime shapepipe_run_example
# ...or Docker:
docker run --rm ghcr.io/cosmostat/shapepipe:develop-runtime shapepipe_run_exampleThe image is published on every push to the GitHub Container Registry:
:develop tracks the integration branch, release tags (e.g. :v1.1.0) a
stable cut, and the -runtime suffix selects the slim batch image over the
full interactive one.
Full documentation lives at https://cosmostat.github.io/shapepipe. Good places to start:
- Installation — getting ShapePipe onto your machine or cluster.
- Basic execution and configuration — running
shapepipe_runand writing pipeline configs. - Container workflow — the two image targets and the
pyproject.toml/uv.lock/Dockerfilelayers. - Running on a cluster — pulling the image and submitting jobs, with worked candide (SLURM) and CANFAR examples.
If you use ShapePipe in academic work, please cite Guinot et al. (2022) and Farrens et al. (2022).