rema
Red-sequence matched-filter galaxy cluster finding in JAX, for the Legacy Surveys DR11.
rema finds galaxy clusters in a multi-band photometric galaxy catalogue and returns their
richness λ, redshift z_λ, centre candidates and members.
It reimplements redMaPPer (Rykoff et al., 2014; Rykoff et al., 2016): the red-sequence model, zred, λ, z_λ,
brightest cluster galaxy (BCG) and wcen centring, percolation, and redshift scans at given
positions (zscan).
It adds the velocity clipping of Clerc et al. (2016).
The kernels are batched JAX functions that run on a CPU or a GPU, λ has exact derivatives, and the
package installs with pip.
We ran rema on the south part of the Legacy Surveys Data Release 11 (DR11 south).
The catalogue holds 3 481 608 clusters with λ ≥ 3 (145 133 with λ ≥ 20) over 18 500 deg² and is
on the data system of the IN2P3 computing centre (CC-IN2P3, DR11 south catalogue at CC-IN2P3).
We validated it against the figures of the redMaPPer papers (redMaPPer blind mode on DR11).
At the 1.64 M clusters of nine public Sunyaev–Zel’dovich, X-ray and optical catalogues, we
measured λ, z_λ and the spectroscopic redshift (Public cluster catalogues in DR11).
The pages assume that the reader knows redMaPPer, and we ran every command and code block in them. They cover:
Installation, including the notebooks at CC-IN2P3 on the Jupyter platform https://notebook.cc.in2p3.fr;
Tour on mock data: two minutes on a laptop, without data;
DR11 chain on three sweeps: the chain on three DR11 sweeps, step by step;
the notebooks: a set of sweeps as one region, the same sweeps through the high-performance computing (HPC) pipeline, one cluster in scan mode, and the figures of the production catalogue;
Production on an HPC and DR11 south catalogue at CC-IN2P3: production runs on an HPC system, and the DR11 catalogue at CC-IN2P3;
rema design notes: the algorithm, the deviations from redMaPPer and the validation.
Differences from redMaPPer
redMaPPer v0.7.7 |
rema |
|
|---|---|---|
Colour likelihood |
χ² of the colours in magnitudes |
χ² in asinh magnitudes (Lupton et al., 1999), softened at each band’s 1σ flux error, so that
faint and negative g fluxes stay usable ( |
Selection and depth |
The redMaPPer DR10 input catalogue drops galaxies with a flux ≤ 0 or σ_m > 1 in any band. The local depth enters θ_i and the maskgals. |
An explicit cut at signal-to-noise ratio S/N ≥ 5 in the reference band. Mask and depth enter only the completeness K(r_λ) = 1/SCALEVAL. |
Mask correction |
Monte-Carlo maskgals |
Deterministic quadrature over a footprint map made from the DR11 randoms |
λ solve |
Iterated per cluster |
Batched bracket and Newton steps inside |
Percolation |
Sequential loop |
The same result as the sequential loop, computed in batches over a dependency graph |
Calibration |
Per-node fits, iterated |
Expectation–maximisation: one L-BFGS fit of all red-sequence nodes with a smoothness prior. wcen is fitted as in redMaPPer’s WcenCalibrator. |
Infrastructure |
C extensions, esutil, healsparse |
numpy, scipy, astropy, healpy and JAX, with one process per sky region (SLURM arrays) |
The DR11 south catalogue
Notebooks (DR11)
Reference
- Configuration and products
- Model tables
- Python API
- rema design notes
- 1. Scope
- 2. Galaxy catalogue (
rema/io/legacy.py) - 3. Footprint and depth (
rema/sky/maps.py) - 4. Red-sequence model (
rema/model/redsequence.py) - 5. Photometric likelihood (
rema/model/likelihood.py) - 6. Red-sequence redshift zred (
rema/core/zred.py) - 7. Background (
rema/model/background.py) - 8. Richness (
rema/core/richness.py) - 9. Mask and depth completeness (
rema/core/maskcorr.py) - 10. Cluster redshift z_λ (
rema/core/zlambda.py) - 11. Centring (
rema/core/centering.py) - 12. Run modes
- 13. Calibration (
rema/calib/) - 14. Validation
- 15. Photo-z cluster finding
- 16. Performance
- Literature
- Changelog