This paper introduces Tomographer, an end-to-end clustering redshift estimation framework designed for large-scale structure survey scenarios. By using precomputed activation maps, it reduces the computational complexity of traditional pair counting from O(N log N) to O(1), enabling redshift distribution estimation from source catalogs or diffuse intensity maps using position information alone, with a typical single-sample run time of only a few minutes.
Clustering redshift estimation is one of the core steps in calibrating astronomical survey data. The typical task input can be a catalog of celestial coordinates of astronomical sources, or a survey intensity map in HEALPix format, and the final output is the bias-weighted redshift distribution b(dN/dz) or b(dI/dz) in fine redshift bins over the range 0 < z ≲ 4. Such tasks require research-grade accuracy in the output while lowering the barrier to use for non-expert users.
Currently publicly available clustering redshift tools include The-wiZZ, BallTreeXcorrZ, and yet_another_wizz. These tools implement the same underlying statistical logic and have supported rigorous redshift calibration in survey projects such as DES and KiDS. However, these solutions generally have a high barrier to use: users must prepare their own bias-characterized reference samples, manually perform per-point pair counting operations, and a single task can take several CPU-hours to run; moreover, most tools only support source catalog inputs and do not provide an end-to-end analysis framework covering the entire workflow.
To eliminate the usability barriers of traditional clustering redshift estimation schemes, the paper proposes Tomographer, an end-to-end clustering redshift estimation framework. The core design feature of this framework is a set of precomputed "activation maps" encoding the spatial pairing information of 3 million SDSS spectroscopic galaxies and quasars covering 10,000 square degrees and redshifts up to z~4. This design completely removes user-side pair counting operations, reducing the computational complexity from O(N log N) to a map-multiplication operation requiring only O(1). You can use the figure below to fully understand the entire workflow of the framework, from inputting the test sample, reference sample, and theoretical terms to the final output of the bias-weighted redshift distribution.
The large-scale SDSS spectroscopic reference sample built into Tomographer currently covers a sky area of 10,440 square degrees with an effective redshift range of 0<z<4.2. Unlike most clustering redshift methods, Tomographer can directly recover the absolute normalization of b(dN/dz) within this reference coverage, but any source population falling outside the reference sample's coverage will be missed by the framework, so the final redshift distribution should be understood as truncated to the available reference interval.
Tomographer reformulates the traditional point-by-point pair-based cross-correlation computation as dot-product operations with precomputed, redshift-sliced activation maps, directly reducing the original complexity that scales with the number of sources to . The computational cost of the correlation measurement depends only on the desired angular and redshift resolution, being completely independent of the total number of input sources.
During actual execution, these inner-product operations are implemented via highly optimized vectorized NumPy operations, and the whole algorithm essentially achieves a "pair-free" correlation computation. A complete end-to-end clustering redshift analysis covering 160 redshift bins on a single workstation typically takes only a few minutes or even seconds. The overall run time is dominated by activation map I/O, optional foreground mitigation processing, and resampling steps for error estimation, with the correlation computation itself accounting for a very small share of the cost.
The core goal of clustering redshift estimation is to recover the redshift distribution of an extragalactic projected field tracing large-scale structure. The general projected observable S(ϕ) defined by Tomographer can be either a continuous surface density field built from galaxies or source catalogs, or an intensity map of the extragalactic background light, and can even be generalized to any type of extragalactic projected field. Tomographer can accommodate any dataset tracing large-scale structure, unrestricted by wavelength or source type; the signal can come from either resolved sources or diffuse emission. You can refer to the figure that follows.
The correlation estimator adopted by Tomographer does not follow the design of the traditional Landy–Szalay and Davis–Peebles estimators; it does not normalize against the corresponding RR or DR pair counts, preserving the unnormalized definition and physical units of cross-pair weights. The framework relies on reusable precomputed data products and built-in technical analysis to achieve end-to-end processing; users only need to provide the test sample serving as the general observable S along with its random catalog or survey mask, and select optional analysis parameters to automatically complete the full computation.
The current released version of Tomographer ships with a built-in reference sample composed of 9 legacy SDSS spectroscopic large-scale structure subsamples, containing a total of 3,074,940 spectroscopically confirmed galaxies and quasars, with an effective sky coverage of 10,440 square degrees, providing continuous redshift coverage over the range .
The cross-correlation data alone cannot measure the bias evolution of the test sample; any correction applied to this bias would introduce additional model assumptions into the otherwise fully data-driven estimation pipeline.