원시데이터 수집 시스템
선정목록으로

<i>Euclid</i>: Photometric redshift calibration performance with the clustering-redshifts technique in the Flagship 2 simulation

관련 필름·전자재료 · (13) 프리즘 필름

기본 정보

저자
  1. W d'Assignies
  2. Marc Manera
  3. C. Padilla Aranda
  4. O. Ilbert
  5. H. Hildebrandt
  6. Linda Reynolds
  7. J. Chaves-Montero
  8. Angus H. Wright
  9. P. Tallada-Crespí
  10. M. Eriksen
  11. J. Carretero
  12. W. Roster
  13. Y. W. Kang
  14. Krishna Naidoo
  15. R. Miquel
  16. B. Altieri
  17. A Amara
  18. S. Andreon
  19. N. Auricchio
  20. C. Baccigalupi
  21. D Bagot
  22. M Baldi
  23. A Balestra
  24. S Bardelli
  25. P Battaglia
  26. A. Biviano
  27. E. Branchini
  28. M. Brescia
  29. S. Camera
  30. V. Capobianco
  31. C. Carbone
  32. V. F. Cardone
  33. S. Casas
  34. F.J Castander
  35. M. Castellano
  36. G. Castignani
  37. S. Cavuoti
  38. K. C. Chambers
  39. A. Cimatti
  40. C. Colodro-Conde
  41. G. Congedo
  42. Christopher J. Conselice
  43. L. Conversi
  44. Y. Copin
  45. F. Courbin
  46. H. M. Courtois
  47. M. Crocce
  48. A. Da Silva
  49. H. Degaudenzi
  50. S. de la Torre
  51. G. De Lucia
  52. M. Douspis
  53. X Dupac
  54. A. Ealet
  55. S. Escoffier
  56. M. Farina
  57. F Faustini
  58. S. Ferriol
  59. F. Finelli⋆
  60. P. Fosalba
  61. S. Fotopoulou
  62. M. Frailis
  63. E. Franceschi
  64. M. Fumana
  65. S. Galeotta
  66. K. George
  67. B. Gillis
  68. C. Giocoli
  69. P. Gómez-Alvarez
  70. J. Gracia-Carpio
  71. A. Grazian
  72. F. Grupp
  73. W. Holmes
  74. I. Hook
  75. A. Hornstrup
  76. K. Jahnkę
  77. M Jhabvala
  78. Benjamin Joachimi
  79. E. Keihänen
  80. S. Kermiche
  81. A. Kiessling
  82. B. Kubik
  83. M. Kümmel
  84. M. Kunz
  85. H. Kurki‐Suonio
  86. O. Lahav
  87. A.M.C Le Brun
  88. S. Ligori
  89. P. B. Lilje
  90. V. Lindholm
  91. I. Lloro
  92. G Mainetti
  93. D. Maino
  94. E. Maiorano
  95. O. Mansutti
  96. S Marcin
  97. O. Marggraf
  98. K. Markovič
  99. M. Martinelli
  100. N. Martinet
  101. F. Marulli
  102. R. Massey
  103. Daniel Masters
  104. E Medinaceli
  105. S Mei
  106. M Melchior
  107. Y. Mellier
  108. M. Meneghetti
  109. E. Merlin
  110. G. Meylan
  111. A. Mora
  112. M. Moresco
  113. L. Moscardini
  114. C. Neissner
  115. S.-M. Niemi
  116. S. Paltani
  117. F. Pasian
  118. K. Pedersen
  119. V. Pettorino
  120. S Pires
  121. G. Polenta
  122. M. Poncet
  123. L. A. Popa
  124. L. Pozzetti
  125. F. Raison
  126. R. Rébolo
  127. A Renzi
  128. J. Rhodes
  129. G. Riccio
  130. E. Romelli
  131. M. Roncarelli
  132. E. Rossetti
  133. R. Saglia
  134. Z. Sakr
  135. D. Sapone
  136. B. Sartoris
  137. J.A Schewtschenko
  138. P. C. Schneider
  139. T. Schrabback
  140. A. Secroun
  141. E. Sefusatti
  142. G. Seidel
  143. M. D. Seiffert
  144. P. Hudelot
  145. C. Valieri
  146. C. Sirignano
  147. G. Sirri
  148. A. Spurio Mancini
  149. L. Stanco
  150. J Steinwagner
  151. D. Tavagnacco
  152. A. N. Taylor
  153. H.I Teplitz
  154. I. Tereno
  155. N Tessore
  156. S Toft
  157. R. Toledo-Moreo
  158. F. Torradeflot
  159. A. Tsyganov
  160. I. Tutusaus
  161. L. Valenziano
  162. J. Väliviita
  163. T. Vassallo
  164. Y. Ascasíbar
  165. Yun Wang
  166. J. Weller
  167. G. Zamorani
  168. E. Zucca
  169. M. Bolzonella
  170. C. Burigana
  171. L. Gabarra
  172. J. Martín-Fleitas
  173. I Risso
  174. V Scottez
  175. M Viel
DOI
10.1051/0004-6361/202555551
저널
Astronomy and Astrophysics
발행년도
2025
발행기관
EDP Sciences
피인용수
2
라이선스
cc-by
논문 유형
–
언어
–
원문 페이지
https://doi.org/10.1051/0004-6361/202555551
토픽
Color Science and Applications
OpenAlex ID
W4413977557

평가 내용

관련도
관련
사업분야
필름·전자재료 · (13) 프리즘 필름
부 분야
–
R&D 측면
–
확신도
–
근거 용어
–
판단 근거
임베딩 유사도 기반 평가로 '필름·전자재료 > 프리즘 필름' 분야에 선정된 논문입니다.
R&D 활용 포인트
–
평가 입력
–

초록

Aims. The precision of cosmological constraints from imaging surveys hinges on an accurately estimated redshift distribution n ( z ) of the tomographic bins, especially their mean redshifts. We assess the effectiveness of the clustering-redshifts technique in constraining Euclid tomographic redshift bins to meet the target uncertainty of σ (⟨ z ⟩) &lt; 0.002(1 + z ). We inferred these mean redshifts from the small-scale angular clustering of Euclid galaxies, which were distributed into bins with spectroscopic samples localised in narrow redshift slices. Methods. We generated spectroscopic mocks from the Flagship2 simulation for the Baryon Oscillation Spectroscopic Survey (BOSS), the Dark Energy Spectroscopic Instrument (DESI), and the Euclid Near-Infrared Spectrometer and Photometer (NISP) spectroscopic survey. We evaluated and optimised the clustering-redshifts pipeline, and we introduced a new method for measuring the photometric galaxy bias (clustering), which is the primary limitation of this technique. Results. We have successfully constrained the means and standard deviations of the redshift distributions for all of the tomographic bins (with a maximum photometric redshift of 1.6). We achieved precision beyond the required thresholds. We have identified the main sources of bias, particularly the impact of the one-halo galaxy distribution, which imposed the minimal separation scale to be larger than 1.5 Mpc for evaluating cross-correlations. These results demonstrate that clustering-redshifts can meet the precision requirements for Euclid , and we highlighted several avenues for future improvements.

본문 173,477자

본문 펼치기
_Astronomy & Astrophysics_ manuscript no. aa55551-25 ©ESO 2026 May 28, 2026 ## Euclid : Photometric redshift calibration performance with the clustering-redshifts technique in the Flagship 2 simulation ⋆ W. d’Assignies <sup>⋆⋆1</sup>, M. Manera <sup>2, 1</sup>, C. Padilla <sup>1</sup>, O. Ilbert <sup>3</sup>, H. Hildebrandt <sup>4</sup>, L. Reynolds <sup>1, 5</sup>, J. Chaves-Montero <sup>1</sup>, A. H. Wright <sup>4</sup>, P. Tallada-Crespí <sup>6, 7</sup>, M. Eriksen <sup>1, 7</sup>, J. Carretero <sup>6, 7</sup>, W. Roster <sup>8</sup>, Y. Kang <sup>9</sup>, K. Naidoo <sup>10</sup>, R. Miquel <sup>1, 11</sup>, B. Altieri <sup>12</sup>, A. Amara <sup>13</sup>, S. Andreon <sup>14</sup>, N. Auricchio <sup>15</sup>, C. Baccigalupi <sup>16, 17, 18, 19</sup>, D. Bagot <sup>20</sup>, M. Baldi <sup>21, 15, 22</sup>, A. Balestra <sup>23</sup>, S. Bardelli <sup>15</sup>, P. Battaglia <sup>15</sup>, A. Biviano <sup>17, 16</sup>, E. Branchini <sup>24, 25, 14</sup>, M. Brescia <sup>26, 27</sup>, S. Camera <sup>28, 29, 30</sup>, V. Capobianco <sup>30</sup>, C. Carbone <sup>31</sup>, V. F. Cardone <sup>32, 33</sup>, S. Casas <sup>34</sup>, F. J. Castander <sup>35, 36</sup>, M. Castellano <sup>32</sup>, G. Castignani <sup>15</sup>, S. Cavuoti <sup>27, 37</sup>, K. C. Chambers <sup>38</sup>, A. Cimatti <sup>39</sup>, C. Colodro-Conde <sup>40</sup>, G. Congedo <sup>41</sup>, C. J. Conselice <sup>42</sup>, L. Conversi <sup>43, 12</sup>, Y. Copin <sup>44</sup>, F. Courbin <sup>45, 11</sup>, H. M. Courtois <sup>46</sup>, M. Crocce <sup>35, 36</sup>, A. Da Silva <sup>47, 48</sup>, H. Degaudenzi <sup>9</sup>, S. de la Torre <sup>3</sup>, G. De Lucia <sup>17</sup>, M. Douspis <sup>49</sup>, X. Dupac <sup>12</sup>, A. Ealet <sup>44</sup>, S. Escoffier <sup>50</sup>, M. Farina <sup>51</sup>, F. Faustini <sup>32, 52</sup>, S. Ferriol <sup>44</sup>, F. Finelli <sup>15, 53</sup>, P. Fosalba <sup>36, 35</sup>, S. Fotopoulou <sup>54</sup>, M. Frailis <sup>17</sup>, E. Franceschi <sup>15</sup>, M. Fumana <sup>31</sup>, S. Galeotta <sup>17</sup>, K. George <sup>55</sup>, B. Gillis <sup>41</sup>, C. Giocoli <sup>15, 22</sup>, P. Gómez-Alvarez <sup>56, 12</sup>, J. Gracia-Carpio <sup>8</sup>, A. Grazian <sup>23</sup>, F. Grupp <sup>8, 55</sup>, W. Holmes <sup>57</sup>, I. M. Hook <sup>58</sup>, A. Hornstrup <sup>59, 60</sup>, K. Jahnke <sup>61</sup>, M. Jhabvala <sup>62</sup>, B. Joachimi <sup>63</sup>, E. Keihänen <sup>64</sup>, S. Kermiche <sup>50</sup>, A. Kiessling <sup>57</sup>, B. Kubik <sup>44</sup>, M. Kümmel <sup>55</sup>, M. Kunz <sup>65</sup>, H. Kurki-Suonio <sup>66, 67</sup>, O. Lahav <sup>63</sup>, A. M. C. Le Brun <sup>68</sup>, S. Ligori <sup>30</sup>, P. B. Lilje <sup>69</sup>, V. Lindholm <sup>66, 67</sup>, I. Lloro <sup>70</sup>, G. Mainetti <sup>71</sup>, D. Maino <sup>72, 31, 73</sup>, E. Maiorano <sup>15</sup>, O. Mansutti <sup>17</sup>, S. Marcin <sup>74</sup>, O. Marggraf <sup>75</sup>, K. Markovic <sup>57</sup>, M. Martinelli <sup>32, 33</sup>, N. Martinet <sup>3</sup>, F. Marulli <sup>76, 15, 22</sup>, R. Massey <sup>77</sup>, D. C. Masters <sup>78</sup>, E. Medinaceli <sup>15</sup>, S. Mei <sup>79, 80</sup>, M. Melchior <sup>81</sup>, Y. Mellier <sup>82, 83</sup>, M. Meneghetti <sup>15, 22</sup>, E. Merlin <sup>32</sup>, G. Meylan <sup>84</sup>, A. Mora <sup>85</sup>, M. Moresco <sup>76, 15</sup>, L. Moscardini <sup>76, 15, 22</sup>, C. Neissner <sup>1, 7</sup>, S.-M. Niemi <sup>86</sup>, S. Paltani <sup>9</sup>, F. Pasian <sup>17</sup>, K. Pedersen <sup>87</sup>, V. Pettorino <sup>86</sup>, S. Pires <sup>88</sup>, G. Polenta <sup>52</sup>, M. Poncet <sup>20</sup>, L. A. Popa <sup>89</sup>, L. Pozzetti <sup>15</sup>, F. Raison <sup>8</sup>, R. Rebolo <sup>40, 90, 91</sup>, A. Renzi <sup>92, 93</sup>, J. Rhodes <sup>57</sup>, G. Riccio <sup>27</sup>, E. Romelli <sup>17</sup>, M. Roncarelli <sup>15</sup>, E. Rossetti <sup>21</sup>, R. Saglia <sup>55, 8</sup>, Z. Sakr <sup>94, 95, 96</sup>, D. Sapone <sup>97</sup>, B. Sartoris <sup>55, 17</sup>, J. A. Schewtschenko <sup>41</sup>, P. Schneider <sup>75</sup>, T. Schrabback <sup>98</sup>, A. Secroun <sup>50</sup>, E. Sefusatti <sup>17, 16, 18</sup>, G. Seidel <sup>61</sup>, M. Seiffert <sup>57</sup>, S. Serrano <sup>36, 99, 35</sup>, P. Simon <sup>75</sup>, C. Sirignano <sup>92, 93</sup>, G. Sirri <sup>22</sup>, A. Spurio Mancini <sup>100</sup>, L. Stanco <sup>93</sup>, J. Steinwagner <sup>8</sup>, D. Tavagnacco <sup>17</sup>, A. N. Taylor <sup>41</sup>, H. I. Teplitz <sup>78</sup>, I. Tereno <sup>47, 101</sup>, N. Tessore <sup>63</sup>, S. Toft <sup>102, 103</sup>, R. Toledo-Moreo <sup>104</sup>, F. Torradeflot <sup>7, 6</sup>, A. Tsyganov <sup>105</sup>, I. Tutusaus <sup>95</sup>, L. Valenziano <sup>15, 53</sup>, J. Valiviita <sup>66, 67</sup>, T. Vassallo <sup>55, 17</sup>, G. Verdoes Kleijn <sup>106</sup>, Y. Wang <sup>78</sup>, J. Weller <sup>55, 8</sup>, G. Zamorani <sup>15</sup>, E. Zucca <sup>15</sup>, M. Bolzonella <sup>15</sup>, C. Burigana <sup>107, 53</sup>, L. Gabarra <sup>108</sup>, J. Martín-Fleitas <sup>109</sup>, I. Risso <sup>110</sup>, V. Scottez <sup>82, 111</sup>, and M. Viel <sup>16, 17, 19, 18, 112</sup> _(A_ ffi _liations can be found after the references)_ May 28, 2026 ABSTRACT Aims: The precision of cosmological constraints from imaging surveys hinges on an accurately estimated redshift distribution _n_ ( _z_ ) of the tomographic bins, especially their mean redshifts. We assess the effectiveness of the clustering-redshifts technique in constraining _Euclid_ tomographic redshift bins to meet the target uncertainty of σ(⟨ _z_ ⟩) < 0.002(1 + _z_ ). We inferred these mean redshifts from the small-scale angular clustering of _Euclid_ galaxies, which were distributed into bins with spectroscopic samples localised in narrow redshift slices. Methods: We generated spectroscopic mocks from the Flagship2 simulation for the Baryon Oscillation Spectroscopic Survey (BOSS), the Dark Energy Spectroscopic Instrument (DESI), and the _Euclid_ Near-Infrared Spectrometer and Photometer (NISP) spectroscopic survey. We evaluated and optimised the clustering-redshifts pipeline, and we introduced a new method for measuring the photometric galaxy bias (clustering), which is the primary limitation of this technique. Results: We have successfully constrained the means and standard deviations of the redshift distributions for all of the tomographic bins (with a maximum photometric redshift of 1.6). We achieved precision beyond the required thresholds. We have identified the main sources of bias, particularly the impact of the one-halo galaxy distribution, which imposed the minimal separation scale to be larger than 1.5 Mpc for evaluating cross-correlations. These results demonstrate that clustering-redshifts can meet the precision requirements for _Euclid_, and we highlighted several avenues for future improvements. Key words. Methods: data analysis- statistical, Techniques: photometric-spectroscopic, Cosmology: large-scale structure of Universe 1. Introduction ⋆ This paper is published on behalf of the Euclid Consortium ⋆⋆ e-mail: `wdoumerg@ifae.es` The _Euclid_ space telescope is currently mapping the positions and shapes of billions of galaxies. This provides data that are Article number, page 1 of 31 _A&A proofs:_ manuscript no. aa55551 25 critical to understand the large-scale structure of the Universe, in particular, the mysterious nature of dark matter and dark energy (Euclid Collaboration: Mellier et al. 2025). Through its imaging survey, _Euclid_ measures the flux of galaxies in the visible and near-infrared wavelengths using broadband filters. Additionally, it determines spectroscopic redshifts for a subset of galaxies via slitless spectroscopy, targeting emission-line galaxies (ELGs). These data will enable the precise determination of cosmological parameters and models, primarily through the study of galaxy clustering, galaxy-galaxy lensing, and cosmic shear (Euclid Collaboration: Blanchard et al. 2020), with galaxy samples divided into approximate line-of-sight tomographic bins. It is essential to accurately estimate the redshift distributions of these galaxy samples to interpret cosmological measurements correctly (see e.g. Huterer et al. 2006; Bordoloi et al. 2010; Hildebrandt et al. 2021; Stölzner et al. 2021). The vast amount of forthcoming data means that it is not feasible to obtain spectroscopic redshifts for every individual galaxy because spectroscopy of large samples is time-consuming and costly. Photometric surveys provide redshift estimates for each galaxy based on multi-band photometry of that galaxy, a technique called photometric redshift, or photo- _z_ . A large variety of photo- _z_ methods exists (e.g. Tanaka et al. 2018; Salvato et al. 2019; Euclid Collaboration: Ilbert et al. 2021; Euclid Collaboration: Desprez et al. 2020). The photometric information can also be used to produce redshift estimates using scheme based on a self-organising map (hereafter, SOM), which allows a more general control over all the known potential sources of uncertainties that affect the estimates (Wright et al. 2020a,b; Myles et al. 2021; Giannini et al. 2024; Campos et al. 2024; Wright et al. 2025; Roster et al. 2025). The degeneracies between colours and redshift, however, and unrepresentative spectroscopic samples for training and calibration ultimately limit the performance of photometric methods (Wright et al. 2020a; Hartley et al. 2020). Clustering-based redshift estimation methods offer another alternative to infer redshift distributions (see e.g. Newman 2008; Ménard et al. 2013; McQuinn & White 2013; Morrison et al. 2017; Scottez et al. 2018; Gatti et al. 2018; van den Busch et al. 2020; Hildebrandt et al. 2021; Gatti et al. 2022; Cawthon et al. 2022; Rau et al. 2023; Wright et al. 2025). Unlike photo_z_, clustering-redshifts techniques statistically infer the redshift properties for entire bins instead of individual galaxies. Furthermore, this approach is independent of photometric uncertainties, observations over smaller deep fields, or representative spectroscopic samples. The clustering-redshifts method relies on angular crosscorrelations between spectroscopic samples, with secure redshifts, and photometric samples. Samples that overlap in redshift trace the same underlying dark matter field and are consequently correlated in their position. The amplitude of this angular correlation provides insight into their redshift overlap, which results in the measurement of the redshift distribution of the photometric samples. This amplitude is degenerate with galaxy biases (of both samples), however, which makes the measurement of these biases, and their redshift evolution, a critical step (McQuinn & White 2013; Gatti et al. 2018; Naidoo et al. 2023). While the galaxy bias for the spectroscopic sample can be directly constrained through auto-correlation functions, it is more challenging to estimate the galaxy bias for the photometric sample (van den Busch et al. 2020; Cawthon et al. 2022), and is sometimes evaluated using simulations (Gatti et al. 2022). The precision of the clustering-redshifts method depends on the redshift and sky overlap of the photometric and spectroscopic data, but also on range of the clustering angular scale. To achieve Article number, page 2 of 31 the primary science goal of _Euclid_, the uncertainty on the mean redshift, σ(⟨ _z_ ⟩), for each tomographic bin must remain below 0.002(1 + _z_ ) at 68% confidence (Laureijs et al. 2011). Naidoo et al. (2023) found that clustering-redshifts would be able to reach the statistical uncertainties required by _Euclid_ for a sufficiently large sky overlap, typically several hundreds of deg <sup>2</sup>, when analysing scales from 100 kpc to 1 Mpc, although systematic biases limit the accuracy. In particular, there were some unknown residual biases for high-redshift bins with their methods or simulated data. This paper aims to re-evaluate the potential of photometricspectroscopic cross-correlations as a core component of the redshift calibration for _Euclid_ . Our method may be seen as a continuation, and a substantial improvement from Naidoo et al. (2023). We used 5000 deg <sup>2</sup> of simulated data from the _Eu-_ _clid_ Flagship2 simulation (Euclid Collaboration: Castander et al. 2025). Our goal is to evaluate the uncertainties associated with the clustering-redshifts calibration through a realistic framework, and to determine the limitation of the method. We created spectroscopic mock samples for the Dark Energy Spectroscopic Instruments (DESI), or alternatively, for the 4-metre Multi-Object Spectroscopic Telescope (4MOST), the Baryon Oscillation Spectroscopic Survey (BOSS), and _Euclid_ . We assessed the potential systematic effects on the measurement, introduced a new method to measure photometric galaxy bias, optimised the clustering- _z_ pipeline, and derived methods for inferring the redshift constraints from the amplitude of two-point correlations. We assumed the same flat ΛCDM cosmology as was used for the simulation, with Ωm = 0.319, Ωb = 0.049, ΩΛ = 0.681, _A_ s = 2.1 × 10 <sup>−9</sup>, _n_ s = 0.96, σ8 = 0.813, and _h_ = 0.67. Our code is publicly available. <sup>1</sup> This paper is organised as follows. In Sect. 2 we describe the Flagship2 simulation and the mocks we generated to mimic _Euclid_ and spectroscopic data. In Sect. 3 we give a detailed overview of angular clustering, its application to clustering redshifts, and potential sources of errors. In Sect. 4 we present the different tests we ran to optimise the pipeline and address potential sources of bias. Finally in Sect. 5 we apply the results pipeline to realistic _Euclid_ tomographic bins and compare our results with previous work and the requirements. 2. Simulated data To assess the performance of the _Euclid_ clustering-redshifts method, we constructed simulated datasets that were as similar as possible to the observational datasets. In this section, we describe how these samples can be generated from the Flagship simulation. _2.1._ _The Flagship simulation and survey mocks_ For this study, we used the second edition of the Flagship catalogue (version 2.1.10), which was presented in detail in Euclid Collaboration: Castander et al. (2025). The _Euclid_ Flagship _N_ body dark matter simulation comprises a simulation box measuring 3600 _h_ <sup>−1</sup> Mpc on each side, containing 4 trillion particles. This simulation is the largest _N_ -body simulation performed to date and encompasses a cosmological volume comparable to what the telescope will survey. It enables precise resolution of 16 billion dark matter haloes, which host even the faintest galaxies that _Euclid_ intends to observe. They are identified with the 1 `[https://github.com/wdassignies/Clustering_z.git](https://github.com/wdassignies/Clustering_z.git)` W. d Assignies et al.: _Euclid_ : Clustering redshifts Fig. 1. _Top_ : Simulated true-redshift distribution of each of the first ten tomographic bins ( _z_ photo < 1.6). _Bottom_ : Simulated redshift distribution of the spectroscopic samples from the BOSS, DESI, and _Euclid_ surveys. The lack of spectroscopic samples for _z_ spec - 1.8 imposes the _z_ photo < 1.6 condition for clustering-redshifts calibration. rockstar halo finder (Behroozi et al. 2013). From this dark matter simulation, a synthetic galaxy catalogue was generated with a prescription including the halo occupation distribution (HOD) and abundance matching (AM) techniques, as well as empirical relations between galaxy properties (Euclid Collaboration: Castander et al. 2025). Each galaxy entry in the catalogue is associated with observed fluxes for multiple survey bands, observed spectroscopic redshift ( _z_ spec, including peculiar velocity), photometric redshift estimates ( _z_ p), true redshift ( _z_ true), true and magnified coordinates, lensing convergence κ and shear γ = γ1 + iγ2. Source photometry is provided in terms of fluxes _F_ (in erg s <sup>−1</sup> cm <sup>−2</sup> Hz <sup>−1</sup> ) rather than in magnitude _m_ . We generate magnified fluxes as in Lepori et al. (2025), using the relation _<u>F</u>_ _F_ magn = . (1) (1 − κ) <sup>2</sup> - γ1 <sup>2</sup> <sup>−</sup> <sup>γ</sup> 2 <sup>2</sup> We do not include the Doppler effect, which is usually a very small correction, and note that the effect of magnification is achromatic: that is, it is the same for for the different bands and it cancels for colours. We need mock samples _Euclid_ -like photometric galaxies, _Euclid_ -like Near-Infrared Spectrometer and Photometer Survey (NISP-S) galaxies, and other spectroscopic tracers (Dawson et al. 2013; Adame et al. 2024): BOSS-like low-redshift (LOWZ) and constant mass (CMASS) galaxies; DESI-like bright galaxies (BGs), luminous red galaxies (LRGs), and ELGs. The selection of each sample is described in the following sections. Differences in the redshift distributions or colours of observational and simulated galaxy samples may stem from the incompleteness of the target sample or limitations in the simulation’s ability to replicate accurate colour distributions. As in Naidoo et al. (2023), systematic issues such as variable photometry, variable survey depth, and complex masks are not addressed. We generated one version of these samples with unmagnified fluxes, which will be our default samples, and one version with the same cuts on magnified photometry. We produced numerous fast generations of galaxy catalogues, varying sample definitions and areas, using the web application CosmoHub (Carretero et al. 2017; Tallada et al. 2020). Our photometric and spectroscopic samples are plotted in Fig. 1. _2.2._ _Euclid photometric sample_ The photometric sample was constructed by imposing an upper limit on the _I_ E magnitude (Euclid Collaboration: Cropper et al. 2025), set at 24.5, to emulate the expected performance of _Eu-_ _clid_ (Laureijs et al. 2011). Several algorithms exist for evaluating the photometric redshift. We used the Deep- _z_ estimate which was run for the full catalogue. The Deep- _z_ photo- _z_ method, introduced for the Physics of the Accelerating Universe (PAU) survey in Eriksen et al. (2020), uses a linear neural network with a mixture density network for predicting the redshift distributions. The network has not been pretrained on simulations, avoiding potential problems with over-fitting by using too similar simulations. The network was trained with 20 000 simulated galaxies, magnitude-limited to _i_ LSST < 23 without colour selection. The training used the Legacy Survey of Space and Time (LSST; LSST Science Collaboration et al. 2009) bands plus _Euclid_ nearinfrared (NIR) bands, a batch size of 200 and 1000 epochs with varying learning rates. The photometric noise added to noiseless fluxes corresponds to the depth forecast in the southern hemisphere for the _Euclid_ DR3 time. The limiting magnitudes at 10σ are 24.4, 25.6, 25.7, 25.0, 24.3, 24.3 for the _ugrizy_ bands of Article number, page 3 of 31 _A&A proofs:_ manuscript no. aa55551 25 LSST, and 25.0, 23.5, 23.5, 23.5 for the _I_ E, _Y_ E, _J_ E, _H_ E bands of _Euclid_ (Euclid Collaboration: Cropper et al. 2025; Euclid Collaboration: Jahnke et al. 2025). LSST photometry will not be available over the whole _Euclid_ footprint, and therefore the photometry will be different in the northern region where photometry will be provided by UNIONS (Gwyn et al. 2025). However, for clustering redshifts, we do not depend on photo- _z_ quality except for the tomographic bin definitions and photometric bias correction. Spectroscopy from DESI and BOSS-eBOSS will be available in the north, and 4MOST will provide DESI-like samples in the south. Thus, photometric angular anisotropies will be tested in practice. We selected galaxies with photo- _z_ between 0.2 and 1.6. We did not consider galaxies with a photo- _z_ higher than 1.6 because we do not have large spectroscopic samples at redshifts greater than 1.8. Future studies could test the possibility of using quasar galaxy samples from BOSS, eBOSS, DESI, and 4MOST (Palanque-Delabrouille et al. 2016; Yèche et al. 2020) for high- _z_ calibration. BOSS and eBOSS quasars were used for the clustering-redshifts DES calibration, but as a complement to ELGs and LRGs data sets for _z_ < 1.1 (Gatti et al. 2022; Giannini et al. 2024). The low density of this sample, and clustering properties at high- _z_, require a dedicated study. Nonetheless, eBOSS QSOs will be used for the high- _z_ calibration of the final DES data for 0.8 < _z_ < 2.2 (d’Assignies et al. 2025); thus one expects that DESI QSOs could be used up to _z_ = 3.5 for _Euclid_ . Generating DESI QSO mocks and testing clustering-redshifts with them is left for future work. We produced ten tomographic bins with approximately equal numbers of galaxies, through photo- _z_ cuts. The fiducial _Euclid_ survey at data release 3 plans to use 13 bins instead of ten, and we can assume that three of these bins will contain galaxies with _z_ p - 1.6. The true redshift distributions (that we want to measure) of our simulated tomographic bins are reported in Fig. 1. _2.3._ _Euclid NISP sample_ We defined mock NISP-S samples in Flagship2 by selecting galaxies with H α fluxes greater than 2×10 <sup>−16</sup> erg cm <sup>−2</sup> s <sup>−1</sup> (Laureijs et al. 2011), in the expected redshift range, with `logf_halpha_model3_ext` - −15.7, (2) 0.9 < _z_ spec < 1.8 . (3) We obtained a galaxy density of 1990 deg <sup>−2</sup> . Unlike the other spectroscopic samples, this dataset is expected to suffer from a significant level of contamination by interlopers (Euclid Collaboration: Le Brun et al. 2025; Euclid Collaboration: Risso et al. 2025). These interlopers are galaxies whose true redshifts differ substantially from their estimated values, leading to incorrect associations in redshift space. Although our analysis did not employ realistic mocks that include such contaminants, we adopted the approach of Contarini et al. (2022): we uniformly downsampled the galaxy catalogue, retaining only 60% of the originally selected galaxies. This down-sampled catalogue is then assumed to have 100% purity, effectively removing the impact of interlopers in our modelling. Thus, our fiducial density is 1200 deg <sup>−2</sup> as the sample from Naidoo et al. (2023), which was generated with a brighter cut on the H α flux. This is a pessimistic sample from the precision point of view (i.e. fewer spectra means larger uncertainty on the redshift distribution reconstruction; cf. McQuinn & White 2013), but optimistic in terms of accuracy, because our sample is interloper free (Addison et al. 2019). Interlopers may significantly degrade the performance of clustering Article number, page 4 of 31 redshifts if not taken into consideration, as they are not necessarily distributed randomly in redshift. Indeed, clustering-redshifts might be helpful to quantify the interlopers’ properties such as their fraction and redshift distribution, by cross-correlating them with spectroscopic samples which do not suffer from the same misidentification. We will explore these two aspects in future work. _2.4._ _BOSS LOWZ and CMASS samples_ We replicated the BOSS colour-magnitude selections specified in Dawson et al. (2013) in Flagship, as in Naidoo et al. (2023). We first define _c_ ∥ = 0.7( _g_ - _r_ ) + 1.2 ( _r_ - _i_ - 0.18), (4) _c_ ⊥ = ( _r_ - _i_ ) − ( _g_ - _r_ )/4 − 0.18, (5) _d_ ⊥ = ( _r_ - _i_ ) − ( _g_ - _r_ )/8 . (6) There are two spectroscopic BOSS LRG samples: LOWZ and CMASS. They correspond to adjacent redshift intervals 0.15 ≤ _z_ spec ≤ 0.43 and 0.43 < _z_ spec ≤ 0.7, respectively, with true densities of about 30 deg <sup>−2</sup> and 120 deg <sup>−2</sup>, respectively. The LOWZ sample is defined by | _c_ ⊥| < 0.2, (7) 16 < _r_ < 19.5, (8) _r_ < 13.6 + _c_ ∥/0.3, (9) and the CMASS sample by _d_ ⊥ - 0.55, (10) 17.5 < _i_ < 19.9, (11) _i_ < 19.86 + 1.6 ( _d_ ⊥ - 0.8) . (12) We got LOWZ- and CMASS- like objects, with densities of 48.5 deg <sup>−2</sup> and 164.3 deg <sup>−2</sup> . We then applied sparse sampling to get the desired densities. We refer to the joint LOWZ+CMASS sample as the BOSS sample in our study. _2.5._ _DESI samples_ We generated DESI BG, LRG, and ELG mocks that mimic the sample characteristics reported in Adame et al. (2024). We associated these galaxy samples to the DESI survey, but similar samples are expected to be observed by 4MOST (Verdier et al. 2025). For BGs, and ELGs, we used the same cuts as Naidoo et al. (2023), which were based on DESI Collaboration et al. (2016). For LRGs, we used a different selection to generate a sample covering the entire _z_ < 1.1 redshift range. As we previously mentioned in Sect. 2.1, there is a mismatch in the Flagship2 colour distribution and data expectation, and using the same colour cuts can lead to some significant differences. We find this issue to be particularly problematic for LRGs. Therefore we did not apply the same selection as Adame et al. (2024), but rather we tried to closely reproduce the redshift distribution and galaxy properties with similar but modified cuts. We selected the BG-like galaxies with _r_ < 19.5, (13) _z_ spec < 0.4 . (14) We adopted for LRGs the tailored cuts 18 < _z_ < 21, (15) - 6.5 < _r_ - _z_ - 0.4 _z_ < −5.8, (16) `color_kind` = 0 (i.e. red sequence) . (17) W. d Assignies et al.: _Euclid_ : Clustering redshifts Finally, we selected ELGs with _r_ < 23.4, (18) _r_ - _z_ - 0.3, (19) _g_ - _r_ < 0.7, (20) 0.6 < _z_ spec < 1.6, (21) `color_kind` - 0, (22) `logf_o2_model1_ext` - −16 . (23) These cuts provided BG-, LRG-, and ELG-like objects with densities of 850, 909, and 4158 deg <sup>−2</sup> . We achieved the fiducial densities 700, 550, and 1140 deg <sup>−2</sup> with sparse sampling. 3. Theory and method In this section, we provide a detailed description of the clustering-redshifts method. Our approach begins with an overview of galaxy clustering in Sect. 3.1. In Sect. 3.2 we explain how the clustering equations are simplified for some particular redshift distributions. We then apply this formalism to the clustering-redshifts context in Sect. 3.3. In Sect. 3.4, we explain how clustering-redshifts are evaluated with data in practice. Finally, in Sect. 3.5 we explain our strategy to deduce from the data-vectors constraints on the redshift distribution moments. In particular, in Sect. 3.5.1, we state the _Euclid_ requirements for the _n_ p measurements, which must be fulfilled in order to provide robust constraints on cosmological parameters. _3.1._ _Angular galaxy clustering_ In this section we provide a general introduction to photometric angular clustering, as a basis for the development of our clustering-redshifts method. It draws inspiration from many previous weak-lensing and clustering- _z_ works such as Davis et al. (2018), Krause et al. (2021), Gatti et al. (2018, 2022), Cawthon et al. (2022), and Pandey et al. (2025). 3.1.1. Galaxy density contrast The observed angular galaxy count of a sample _a_ (photometric or spectroscopic) is these quantities are associated with observations, and they depend on survey properties (depth, masks etc.), but for clarity, we drop the “obs” index for the rest of our work, as we do not consider observational systematics. We also do not model relativistic corrections. 3.1.2. Angular two-point correlation function The angular two-point correlation function of samples _a_ and _b_ (with possibly _a_ = _b_ ) from the observed projected density contrast can be written as _w_ <sup>full</sup> _ab_ <sup>full</sup> _ab_ <sup>(θ) = ⟨∆</sup> _a_ <sup>D</sup> _a_ <sup>D∆</sup> _b_ <sup>D</sup> _b_ <sup>D⟩(θ) + ⟨∆</sup> _a_ <sup>RSD</sup> _a_ <sup>RSD</sup> ∆ <sup>D</sup> _b_ <sup>D</sup> _b_ <sup>⟩(θ) + ⟨∆D</sup> _a_ <sup>D</sup> _a_ <sup>∆</sup> _b_ <sup>RSD</sup> ⟩ _b_ <sup>RSD</sup> ⟩(θ) (27) <sup>D</sup> _a_ <sup>∆µ</sup> _b_ + ⟨∆ <sup>D</sup> _a_ <sup>µ</sup> _b_ <sup>⟩(θ) + ⟨∆</sup> _a_ <sup>µ</sup> _a_ <sup>µ∆</sup> _b_ <sup>_D_</sup> _b_ <sup>_D_</sup> <sup>⟩(θ) .</sup> where ⟨. . .⟩ indicates an average over angular scales, and θ is now a scalar. <sup>3</sup> The dominant corrections (RSD×D; µ ×D) are already small with respect to the dominant term (D×D), and we decided to omit even smaller corrections (Krause et al. 2021; Gatti et al. 2022). We will mainly focus on the D×D correlation. Since it corresponds to the leading order, we omit its D index in the rest of the article. The clustering two-point correlation can be expressed as _wab_ (θ) = ⟨∆ <sup>D</sup> _a_ <sup>D</sup> _a_ <sup>∆</sup> _b_ <sup>D⟩</sup> _b_ <sup>D⟩(θ)</sup> (28) = = d _z_ 1 d _z_ 2 _na_ ( _z_ 1) _nb_ ( _z_ 2) ⟨δ _a_ δ _b_ ⟩( _z_ 1, _z_ 2, θ) (29) d _z_ 1 d _z_ 2 _na_ ( _z_ 1) _nb_ ( _z_ 2) ξ _ab_ ( _z_ 1, _z_ 2, θ), (30) _Na_ <sup>obs(θ) =</sup> <sup>_Na_</sup> �1 + ∆ <sup>obs</sup> _a_ <sup>(θ)</sup> -, (24) where _Na_ is the mean (observed) galaxy count, and ∆ <sup>obs</sup> _a_ is the observed projected galaxy density contrast. It can be expressed as (Krause et al. 2021) ∆ <sup>obs</sup> _a_ <sup>obs</sup> _a_ <sup>(θ) ≈</sup> <sup>∆D</sup> _a_ <sup>D</sup> _a_ <sup>(θ) + ∆</sup> _a_ <sup>RSD</sup> _a_ <sup>RSD</sup> (θ) + ∆ <sup>µ</sup> _a_ <sup>µ</sup> _a_ <sup>(θ),</sup> (25) where we have defined the 3D cross-correlation function ξ _ab_ ( _za_, _zb_, θ), and used ⟨δ _x_ ⟩ = 0. While we have introduced the correlations as a function of sky separation θ, we can also express them as functions of the perpendicular comoving separation _r_ p, defined as _r_ p = θ χ( _z_ ), (31) in the flat sky approximation, and small angle limit, where χ is the comoving radial distance (equal to the comoving angulardiameter distance with no spatial curvature). Working with _r_ p instead of θ is relevant when making particular scale choices for evaluating the correlation, but the Python package we use, `TreeCorr` (Jarvis 2015) has angular separation as the default convention. 3.1.3. Moving to matter statistics with galaxy bias For large-scale correlations, the linear galaxy bias provides a relation between the galaxy overdensity and the matter density field δm δg(θ, _z_ ) = _b_ g( _z_ ) δm(θ, _z_ ), (32) 3 Our Universe and its observation is assumed to be isotropic. Although the real isotropy of our Universe seems a reasonable hypothesis, observation may not always support it. For example, closer to the Galactic plane, there is more star contamination, leading to angular anisotropy. The _Euclid_ observation strategy might also induce some angular anisotropy. This could potentially introduce bias on the cosmological parameters, especially for experiments such as _Euclid_ or LSST (Baleato Lizancos & White 2023). Indeed, clustering-redshifts may be a valuable tool to investigate this issue by splitting the samples into independent sky patches. Article number, page 5 of 31 where µ refers to magnification, RSD to redshift space distortion (in the linear regime <sup>2</sup> ), and ∆ <sup>D</sup> _a_ <sup>to the line of sight projection of</sup> the three-dimensional (3D) galaxy density contrast δ _a_ ( _z_, θ) : ∆ <sup>D</sup> _a_ <sup>(θ) =</sup> d _z na_ ( _z_ ) δ _a_ ( _z_, θ), (26) where _na_ ( _z_ ) is the redshift distribution of the observed sample, normalised to unity, and function of the observed redshift. All 2 In the linear regime, RSD contribute to the projected galaxy density contrast through the apparent large-scale flow, of galaxies across the redshift boundaries of the samples. The redshift _z_ we use to parametrise the _D_ and µ terms includes the peculiar velocity, and is referred to as observed redshift. _A&A proofs:_ manuscript no. aa55551 25 where _b_ g is the galaxy sample bias, and δm is the matter density field. Under this approximation, the angular correlation function becomes, _wab_ (θ) = d _z_ 1 d _z_ 2 _ba_ ( _z_ 1) _bb_ ( _z_ 2) _na_ ( _z_ 1) _nb_ ( _z_ 2) ξm( _z_ 1, _z_ 2, θ), (33) where ξm is the 3D matter two-point correlation. Following the literature, we used the linear bias expression of Eq. (32) by default. It is worth noting, however, that the linear bias expression is expected to break at scales around 6 _h_ <sup>−1</sup> Mpc. In addition, the next-order expression would extend this scale range to around 4 _h_ <sup>−1</sup> Mpc (Pandey et al. 2020). Thus, none of the equations (linear or non-linear e.g. App. A) are properly adapted to the standard clustering-redshifts scale ranges, (0.1– 1) _h_ <sup>−1</sup> Mpc, (0.5–1.5) _h_ <sup>−1</sup> Mpc or (1–5) _h_ <sup>−1</sup> Mpc. However, linear bias has been tested to give accurate enough modelling for clustering-redshifts analysis (Gatti et al. 2018, 2022; van den Busch et al. 2020; Cawthon et al. 2022; Naidoo et al. 2023). As a consequence, it is crucial to quantify and address potential deviations introduced in the reconstructed _n_ ( _z_ ). We will pay particular attention to the galaxy bias issue, nonlinear contributions, and the scale range choice. 3.1.4. Magnification In this section, we describe the two magnification terms in Eq. (27), We will reassess the need to incorporate magnification in future work, based on the properties of the data bins. 3.1.5. RSD In the linear regime, RSD contributes to the projected galaxy density contrast through the apparent large-scale flow of galaxies across the redshift boundaries of the bins (Krause et al. 2021). Equivalently, the redshift distribution of galaxies as a function of the observed redshift is slightly different from the distribution as a function of the Hubble redshift. The latter should be used, however, as the modelling assumes isotropy through the correlation function ξ. Since the photometric tomographic bins are quite large, it would mainly affect the spectroscopic sample which is divided into narrow redshift slices; the narrower the slices, the larger the effect is. Therefore, only the term ⟨∆ <sup>RSD</sup> s ∆ <sup>D</sup> p <sup>⟩(θ)</sup> <sup>may</sup> <sup>RSD</sup> s ∆ <sup>D</sup> p larger the effect is. Therefore, only the term ⟨∆ <sup>RSD</sup> s ∆ <sup>D</sup> p <sup>⟩(θ)</sup> <sup>may</sup> contribute to the two-point correlation of Eq. (27). We tested in Sect. 4.7 the bias induced by the use of the spec- _z_ instead of true_z_ for the spectroscopic slicing, in the Flagship simulation, since peculiar velocities are included, cf. Sect. 2.1. <sup>D</sup> _a_ <sup>∆µ</sup> _b_ _Mab_ ( _r_ p) = ⟨∆ <sup>D</sup> _a_ <sup>µ</sup> _b_ <sup>⟩(</sup> <sup>_r_</sup> <sup>p) + ⟨∆</sup> _a_ <sup>µ</sup> _a_ <sup>µ∆</sup> _b_ <sup>_D_</sup> _b_ <sup>_D_</sup> <sup>⟩(</sup> <sup>_r_</sup> <sup>p) .</sup> (34) _3.2._ _Impact of the galaxy redshift distribution and its_ _modelling_ A tomographic bin will be referred to as a sample p, without referring to the tomographic ID, as the latter is always explicit. Different spectroscopic samples are considered in this article from different simulated surveys and tracers, such as DESI ELGs. For a given survey tracer, we will additionally distribute the sample into redshift slices, with spectroscopic redshift cuts. For a given redshift slice, the galaxies will be referred to as s _j_, or {s, _z_ _j_ } with _z j_ the mean of the redshift slice. We explore two cases for the modelling of the distribution and two-point correlations with a sliced spectroscopic sample. 3.2.1. Ideal case of a Dirac galaxy distribution The situation often presented in clustering-redshifts literature (e.g. Gatti et al. 2022; Giannini et al. 2024) is the one of a sample localised in such a small redshift slice that it can be approximated by a Dirac distribution _na_ ( _z_ ) ≈ δD( _z_ - _zi_ ) . (35) The cross-correlation with a second sample is then simplified to Magnification is a lensing effect due to the gravitational bending of distant source light by the matter between those sources and the observer (Krause et al. 2021; Elvin-Poole et al. 2023). It introduces an angular position correlation for galaxies distant in redshift because of the lensing of a high- _z_ galaxy sample by the matter traced by a lower- _z_ sample. <sup>4</sup> Fortunately, this effect, which breaks the naive hypothesis that in clustering-redshifts only galaxies close in redshift are correlated, can be modelled. Magnification impacts the apparent position of galaxies and their density. In regions of positive convergence, <sup>5</sup> the apparent separation between any two points on a source plane is enlarged, leading the telescope to capture a larger apparent solid angle, consequently reducing the apparent galaxy density locally. Another effect of positive convergence is an increase in distant source flux received by the telescope, potentially resulting in a change in the number of galaxies passing through the selection function. Magnification was taken into account for clustering- _z_ in DES, through direct modelling of its effect, and simulationbased estimation of magnification coefficients (Gatti et al. 2022; Cawthon et al. 2022). Complete inclusion of magnification should include position magnification, flux magnification, and its impact on photo- _z_, which can be significant (Legnani et al., in prep.), but we restricted this work to position and flux magnification. We detail how magnification can be modelled in the App. B. Since the tomographic bins are expected to be narrower for _Euclid_ than for DES, the effect of magnification is expected to be smaller, as illustrated by the toy examples in App. B. Therefore, we do not include magnification in our default modelling. 4 The magnification of the two samples by the lower- _z_ matter is negligible as it is a smaller correction (µ × µ cf. Sect. 3.1.2). 5 Positive convergence is induced by galaxy over-density. Correlation with voids would probe the negative convergence regime. Article number, page 6 of 31 _w_ <sup>Dirac</sup> _ab_ (θ) = _ba_ ( _zi_ ) _w_ <sup>Dirac</sup> _ab_ d _z bb_ ( _z_ ) _nb_ ( _z_ ) ξm( _zi_, _z_, θ), (36) ≈ _ba_ ( _zi_ ) _bb_ ( _zi_ ) _nb_ ( _zi_ ) ξm( _zi_, θ), (37) with ξm( _zi_, θ) = d _z_ ξm( _zi_, _z_, θ) . (38) To go from Eq. (36) to Eq. (37), we assume the redshift evolution of the bias and distribution of the second sample is small in the support of ξm (i.e. in a small redshift interval centred in _zi_ ). 3.2.2. Realistic case: Spectroscopic sample into small redshift slices Using the Limber approximation, Eq. (33) reduces to, _w_ <sup>Limber</sup> _ab_ <sup>−full−z</sup> (θ) = d _z ba_ ( _z_ ) _bb_ ( _z_ ) _na_ ( _z_ ) _nb_ ( _z_ ) ξm( _z_, θ), (39) W. d Assignies et al.: _Euclid_ : Clustering redshifts x = Dirac x = Limber-full-z where ξm is the same as in Eq. (38). In the standard scenario of clustering redshifts, the spectroscopic galaxy sample is localised within small redshift slices _zi_ ± ∆ _zi_ /2, so that the distribution can be approximated as uniform Tomographic bin Spectroscopic slices 0.3 0.4 0.5 0.6 0.7 _na_ ( _z_ ) = �1/∆ _zi_ if | _z_ - _zi_ | < ∆ _zi_ /2, (40) 0 else, where ∆ _zi_ is typically between 0.01 and 0.05. This modelling is of course only approximated true in practice, and would lead to some deviations which we will evaluate. In particular, under the assumption of constant galaxy bias across the redshift bin, the spectroscopic auto-correlation ( _b_ = _a_ ) becomes 8 6 4 2 1.02 1.00 0.98 0.96 _<u>a</u>_ <sup>Limber</sup> _aa_ <sup>−1−bin</sup> (θ) ≈ <sup>_<u>b</u>_</sup> <sup>2</sup> - ∆ _zi_ /2 d _z_ ξm( _zi_ + _z_, θ) . (41) −∆ _zi_ /2 _w_ <sup>Limber</sup> _aa_ <sup>−1−bin</sup> _<u>a</u>_ <sup>2(</sup> <sup>_<u>zi</u>_</sup> <sup><u>)</u></sup> ∆ _z_ <sup>2</sup> Thus, given a cosmology, _waa_ provides a straightforward measurement of the spectroscopic galaxy bias. We note that this equation diverges as ∆ _z_ → 0, and that, more generally, both our modelling and the Limber approximation are expected to become less accurate for narrower redshift bins and on larger angular scales (Simon 2007). For _b_ - _a_, when the redshift evolution of the biases _ba_ and _bb_ and the redshift distribution _nb_ is neglected, we obtain x = Limber-1-bin x = 3-bins d _z_ ξm( _zi_ + _z_, θ) . (42) <sup>Limber</sup> _ab_ <sup>−1−bin</sup> (θ) = <sup>_<u>ba</u>_</sup> <sup><u>(</u></sup> <sup>_<u>zi</u>_</sup> <sup><u>)</u></sup> _w_ <sup>Limber</sup> _ab_ <sup>−1−bin</sup> ∆ _zi_ 0.3 0.4 0.5 0.6 0.7 Centre of the spec-z slice Fig. 2. _Top_ : Redshift distribution of sample _b_ in blue, and four out of the ten samples _ai_ in red. _Bottom_ : Deviation of approximated _waib_ with respect to the exact one for the ten cross-correlations. with η0 = 1 and - ∆ _zi_ /2 −∆ _zi_ /2 _bb_ ( _zi_ ) _nb_ ( _zi_ ) The superscript Limber-1-bin refers to the integration of the matter distribution over a redshift bin equal to the spectroscopic slice; we uses the Limber approximation too. If one further neglects the matter correlation variation over ∆ _zi_, one recovers the Dirac approximation Eq. (37); this is the approach of van den Busch et al. (2020), for example. A limitation of Eq. (42) is the assumption that the redshift distribution _nb_ is constant across the bin. In practice, _nb_ could be larger near the bin edges and smaller near the centre (or the opposite), leading to an underestimation (resp. overestimation) of correlations with galaxies localised near _zi_ ±∆ _zi_ . To address these issues without resorting to Eq. (39), we propose a correction by explicitly incorporating contributions from galaxies outside the spectroscopic redshift slice (three-bins): <sup>Dirac</sup> _ab_, _w_ <sup>Limber</sup> _ab_ <sup>Limber</sup> _ab_, _w_ <sup>1</sup> _ab_ <sup>−bin</sup> η±( _zi_, θ) = - ∆ _zi_ /2 −∆ _<u>zi</u>_ <u>/2</u> <sup>d</sup> <sup>_z_</sup> <sup>ξ</sup> m <sup>±∆</sup> <sup>_zi_</sup> ( _zi_ + _z_, θ) <u>�</u> ∆ _zi_ /2 −∆ _zi_ /2 <sup>d</sup> <sup>_z_</sup> <sup>ξ 0m(</sup> <sup>_zi_</sup> <sup>+</sup> <sup>_z_</sup> <sup>,</sup> <sup>θ)</sup> , (46) <sup>1</sup> _ab_ <sup>−bin</sup>, and _w_ <sup>3</sup> _ab_ <sup>−bins</sup> <sup>3</sup> _ab_ <sup>−bins</sup> (θ) = <sup>_<u>ba</u>_</sup> <sup><u>(</u></sup> <sup>_<u>zi</u>_</sup> <sup><u>)</u></sup> _bb_ ( _zi_ + δ _z_ ) _nb_ ( _zi_ + δ _z_ ) (43) δ _z_ ∈{0, −∆ _zi_, ∆ _zi_ } _w_ <sup>3</sup> _ab_ <sup>−bins</sup> ∆ _zi_ × - ∆ _zi_ /2 −∆ _zi_ /2 d _z_ ξm <sup>δ</sup> <sup>_z_</sup> <sup>(</sup> <sup>_zi_</sup> <sup>+</sup> <sup>_z_</sup> <sup>,</sup> <sup>θ),</sup> We introduce the phased correlations ξm <sup>δ</sup> <sup>_z_</sup> <sup>(</sup> <sup>_z_</sup> <sup>,</sup> <sup>θ) =</sup> - ∆ _zi_ /2 −∆ _zi_ /2 d _z_ <sup>′</sup> ξm( _z_, _z_ + _z_ <sup>′</sup> + δ _z_, θ), (44) which account for the correlation of two bins of widths ∆ _zi_, separated by δ _z_ . Here, the three-bins modelling does not uses the Limber approximation. One can write Eq. (43) as where ξm <sup>0,±∆</sup> <sup>_zi_</sup> is defined in Eq. (44). This formulation allows for a linear inference of _n_ from the two-point correlation, which can be implemented in practice, unlike the Limber-full- _z_ case where _n_ p( _z_ ) is integrated over, complicating the process. 3.2.3. Comparison of the correlation modelling In the previous sections, we introduced four different approximations of the two-point correlation function described by Eq. (33): _w_ <sup>Dirac</sup> _ab_, _w_ <sup>Limber</sup> _ab_, _w_ <sup>1</sup> _ab_ <sup>−bin</sup>, and _w_ <sup>3</sup> _ab_ <sup>−bins</sup> . In this section, we inves tigate the differences between them with a toy model. We consider 10 samples _ai_, each with a step- _n_ ( _z_ ) distribution as given by Eq. (40), centred at _zi_ = 0.325 + 0.05 _i_, with _i_ = 0, 1 . . ., 9, and ∆ _zi_ = 0.05. For the redshift distribution of sample _b_ we take a Gaussian (µ, σ) = (0.5, 0.08). This reproduces an idealistic case scenario of clustering- _z_ calibration, with sample _b_ representing the photometric data, and samples _ai_ representing the spectroscopic data. Several of these _n_ ( _z_ )s are plotted in the upper panel of Fig. 2. We assume a constant galaxy bias _ba_ ( _z_ ) = _bb_ ( _z_ ) = 1 for all samples, and evaluate correlation functions for _r_ p = 2 Mpc (a scale standard for clustering- _z_ analysis). We numerically evaluated the functions with the `CCL` library <sup>6</sup> (Chisari et al. 2019). We used the default configuration, which is based on predictions from `CLASS` (Blas et al. 2011) and `halofit` (Takahashi et al. 2012) for the nonlinear power spectrum. We evaluated the functions at scales where we know the predictions are not completely precise because of the galaxy-halo connection, but as will be explicit in Sect. 3.3, this is expected to have little impact on real data. 6 `[https://github.com/LSSTDESC/CCL](https://github.com/LSSTDESC/CCL)` Article number, page 7 of 31 _wab_ (θ) ≈ _ba_ ( _zi_ ) - ∆ _zi_ /2 −∆ _zi_ /2 d _z_ ξm <sup>0(</sup> <sup>_zi_</sup> <sup>+</sup> <sup>_z_</sup> <sup>,</sup> <sup>θ)</sup> (45) × _j_ ∈{−1,0,1} _bb_ ( _zi_ + _j_ ∆ _z_ ) _nb_ ( _zi_ + _j_ ∆ _z_ ) η _j_ ( _zi_, θ), _A&A proofs:_ manuscript no. aa55551 25 In the lower panel of Fig. 2, we show the deviation of the four approximations to the “exact” correlation Eq. (33), for the samples _ai_, _b_ . The level of the deviations depends on the _nb_ ( _z_ ) where the correlation is evaluated: we observe a larger deviation near the peak and for the tails. We evaluated the root mean square (RMS) of the deviation to 1 and got 0.022 (Dirac), 0.021 (Limber-1-bin), 0.013 (3-bins), and 0.002 (Limber-full- _z_ ). We can see that the Dirac and one-bin approximations are very close. Taking into consideration the correlations from bin neighbours with three-bins, we get an improvement of 40%. Finally, the best approximation is the Limber-full- _z_ case [i.e. integrating _n_ <sup>2</sup> ( _z_ ) instead of assuming some effective values], with a deviation of 0.2% for individual points, and an RMS smaller by an order of magnitude to the Dirac and one-bin approximations. In clustering- _z_ studies, however, the redshift distribution _n_ p( _z_ ) is an unknown quantity that we aim to constrain from the measurement of _wab_ . As a result, the Limber-full- _z_ case is challenging to apply in practice, as the unknown _n_ p( _z_ ) is integrated over. In contrast, for the Dirac and one-bin cases, _n_ p( _zi_ ) enters the calculation linearly, making it easier to extract information. The same applies to the three-bins approximation, which provides a better approximation, as we have demonstrated. _3.3._ _Application to clustering redshifts_ In the context of clustering redshifts, a photometric sample has an unknown redshift distribution _n_ p( _z_ ). To reconstruct it, we measure the cross-correlations with spectroscopic samples, distributed into fine redshift slices (usually 0.02 ≤ ∆ _z_ ≤ 0.05). The distribution of these spectroscopic samples is assumed to be constant in each of these smaller slices (see Eq. 40). The amplitude of the photometric distribution at redshift _zi_ can then be inferred linearly from the cross-correlation function between a spectroscopic bin centred in _zi_ and the photometric sample [noted _w_ sp( _zi_, θ) instead of _w_ s _i_ p(θ)], assuming the Dirac modelling Eq. (37): _w_ sp( _zi_, θ) _n_ p( _zi_ ) = _b_ s( _zi_ ) _b_ p( _zi_ ) ξm( _zi_, θ) <sup>.</sup> (47) One can write a similar expression for the one-bin and three-bins modelling, as described in Sect. 3.2.3. The spectroscopic bias can be measured with the spectroscopic auto-correlation, following Eq. (41), – M2: The photometric bias is measured for the whole tomo graphic bin. Hence we do not take into account the redshift evolution within the tomographic bin, but we are increasing the uncertainty on the _n_ p( _zi_ ), and thus we are more conservative. – M3: The photometric bias is measured for relatively large photometric bins (∆ _z_ photo = 0.1), and the redshift evolution is deduced from a polynomial fit. The photo- _z_ spreading of the bin needs to be corrected before the fit (more details in Sect. 3.3.2). – M4: The photometric bias is measured for small photometric bins (∆ _z_ photo = 0.02), and the redshift evolution is deduced from a polynomial fit. The photo- _z_ spreading of the bin needs to be corrected before the fit (cf. Sect. 3.3.2). – M5: Full correction. The two biases are measured using the true redshift (simulation only). Methods 0-1-2-5 were already tested in Naidoo et al. (2023). Methods 3 and 4 are new in that context, but similar to methods from Cawthon et al. (2022) and van den Busch et al. (2020). Ideally, we would like to measure _w_ ss and _w_ pp over the same redshift slices: [ _zi_ ± ∆ _z_ /2[. In doing so, we would get _w_ sp( _zi_, θ) _n_ p( _zi_ ) = ∆ _z_ <sup>~~<u>�</u>~~</sup> _w_ ss( _zi_, θ) _w_ pp( _zi_, θ) . (49) _w_ sp( _zi_, θ) _n_ p( _zi_ ) = <u>�∆</u> _z w_ ss( _zi_, θ) ξm( _zi_, θ) _b_ p( _zi_ ) . (48) We note that we derive this equation with the linear bias assumption. Indeed we show that it remains valid at the next-order of the bias expansion in App. A. This ideal situation corresponds to M5, the photometric sample being distributed into redshift slices with the true redshift variable. This method can only be evaluated via simulation. The aim of methods 3 and 4 is to estimate _w_ pp but with a different binning, and taking into account the photo- _z_ spreading. With M2, we don’t correct for the redshift evolution, but we aim to take into account the variance induced by the photometric galaxy bias (Naidoo et al. 2023). 3.3.2. More details about the M3 and M4 corrections With methods 3 and 4, the photometric sample is divided into bins (denoted _j_ ) based on photo- _z_ cuts. These differ from the spectroscopic distribution described in Eq. (40), therefore requiring correction for the photo- _z_ spreading. In other words, a photometric bin cannot be approximated by a redshift slice. In practice, we measure the _n_ ( _z_ ) of these bins with the clustering-redshifts M1 method (cf. Sect. 3.3.1). This method assumes negligible photometric redshift evolution within each small bin. Then, we want to convert our imperfect-bin measurement to what we would measure for an ideal case with step _n_ ( _z_ ). Using the Limber case (cf. Sect. 3.2.3), we introduce the correction to the two-point auto-correlation function The _n_ p( _z_ ) is still degenerate with the photometric galaxy bias. In the next section, we describe different possibilities for correcting this degeneracy. 3.3.1. Correcting the photometric galaxy bias It is more complicated to measure the photometric bias than the spectroscopic bias since the sample cannot be split into small redshift slices and Eq. (41) cannot be applied. Here we introduce different methods. – M0: No correction at all. We assume there is no _b_ r and _b_ p red shift evolutions and renormalise the measured redshift distribution. – M1: Spectroscopic bias only. We assume there is no _b_ p red shift evolution and renormalise the measured redshift distribution. Article number, page 8 of 31 _w_ <sup>corr</sup> pp <sup>corr</sup> pp <sup>(</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>,</sup> <sup>θ) =</sup> <sup>_w_</sup> <sup>meas</sup> pp <sup>meas</sup> pp <sup>(</sup> <sup>_z j_</sup> <sup>,</sup> <sup>θ)</sup> (∆ _z_ ) <sup>−2 �</sup> <sup>∆</sup> <sup>_z_</sup> <sup>/2</sup> −∆ _<u>z</u>_ <u>/2</u> <sup>d</sup> <sup>_z_</sup> <sup>ξm(</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>+</sup> <sup>_z_</sup> <sup>,</sup> <sup>θ)</sup> <u>�0∞</u> <sup>d</sup> <sup>_z n_</sup> <sup>2p</sup> <sup>_j_</sup> <sup>(</sup> <sup>_z_</sup> <sup>) ξm(</sup> <sup>_z_</sup> <sup>,</sup> <sup>θ)</sup>, (50) where the ∆ _z_ corresponds to the spectroscopic redshift bin of the _w_ sp correlation. We refer to this as the “full” correction, as it accounts for the redshift evolution of the matter correlation function across the bin. We use `CCL` to evaluate ξm at small scales. A simpler approximation has been implemented for the DES redMaGiC and Maglim samples (Cawthon et al. 2022; Giannini et al. 2024). The correction was modelled with _w_ <sup>corr</sup> pp <sup>corr</sup> pp <sup>(</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>,</sup> <sup>θ) =</sup> <sup>_w_</sup> <sup>meas</sup> pp <u>(∆</u> _<u>z</u>_ <u>)</u> <sup>−1</sup> <sup>meas</sup> pp <sup>(</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>,</sup> <sup>θ)</sup> <u>�</u> <u>∞</u> 0 <sup>d</sup> <sup>_z n_</sup> _i_ <sup>2(</sup> <sup>_z_</sup> <sup>)</sup> , (51) W. d Assignies et al.: _Euclid_ : Clustering redshifts where _ni_ ( _z_ ) was estimated for the redMaGiC subsample having a spec- _z_ and a photo- _z_ (Gatti et al. 2022), or with clusteringredshifts (Cawthon et al. 2022). This is referred to as the “partial” correction, as it makes additional simplifying assumptions compared to the “full” correction in Eq. (50). The “width-only” correction applies when using different bin widths for the auto- and cross-correlation functions, while still neglecting the effects of photo- _z_ spreading across the bin. This correction simplifies to Another possibility of weighting is to combine the different _n_ p( _zi_ | _r_ p), with a particular weighting _Wn_ ( _r_ p): - _r_ pmax _<u>n</u>_ p( _zi_ ) = _r_ p <sup>min</sup> d _r_ p _Wn_ ( _r_ p) _n_ p( _zi_ | _r_ p) . (55) _w_ <sup>corr</sup> pp <sup>corr</sup> pp <sup>(</sup> <sup>_z j_</sup> <sup>,</sup> <sup>θ) =</sup> <sup>_w_</sup> <sup>meas</sup> pp <sup>meas</sup> pp <sup>(</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>,</sup> <sup>θ)</sup> <sup><u>(∆</u></sup> <sup>_<u>z</u>_</sup> <sup><u>)meas</u></sup> (∆ _z_ ) _w_ sp In other words, we integrate directly _n_ ( _z_ | _r_ p), which is _w_ sp for M0, _w_ sp/ <sup>√</sup> _<u>w</u>_ ss for M1 or _w_ sp/ <sup>√</sup> _<u>w</u>_ ss _<u>w</u>_ pp for M2-3-4-5. _3.4._ _Estimating the correlations with pair counts_ We evaluated position-position correlations by counting pairs separated by a certain distance divided by the expectation of uncorrelated samples (random) to properly normalise the correlation. We chose the Landy–Szalay (LS) estimator (Landy & Szalay 1993), . (52) In summary, the “full” correction accounts for the redshift evolution of the matter correlation function, the “partial” correction introduces additional approximations by assuming a simplified _n_ ( _z_ ), and the “width-only” correction applies when focusing solely on differences in bin widths while neglecting photo_z_ spreading. We illustrate these methods and apply them to clustering-redshifts in Sect. 4.8. These two methods for correcting photometric galaxy bias share similarities with the method in van den Busch et al. (2020). We do not assume a bias model of the form _B_ p( _z_ ) ∝ (1 + _z_ ) <sup>α</sup>, however. Instead, we directly measure and correct _w_ pp( _z_ ) by constraining the photo- _z_ spreading using clustering- _z_ for smaller bins. Theoretically, the two approaches could be combined, which would eliminate any systematic effects continuous on the redshift, without assuming a particular model. 3.3.3. Data vectors reduced to scalars with some weighting Using Eq. (48), one can extract a measurement of _n_ p for different _r_ p (or equivalently θ). To optimise the sensitivity, it is standard to reduce all the data vectors to scalars with a scale weighting _Ww_ ( _r_ p), - _r_ pmax <sup>data</sup> _ab_ <sup>(</sup> <sup>_r_</sup> <sup>p) =</sup> <sup>D</sup> <sup>_a_</sup> <sup>D</sup> <sup>_b_</sup> <sup>(</sup> <sup>_r_</sup> <sup>p) −</sup> <sup>R</sup> <sup>_a_</sup> <sup>D</sup> <sup>_b_</sup> <sup>(</sup> <sup>_r_</sup> <sup>p) −</sup> <sup>D</sup> <sup>_a_</sup> <sup>R</sup> <sup>_b_</sup> <sup>(</sup> <sup>_r_</sup> <sup>p) + R</sup> <sup>_a_</sup> <sup>R</sup> <sup>_b_</sup> <sup>(</sup> <sup>_r_</sup> <sup>p)</sup> _w_ <sup>data</sup> _ab_ <sup>_r_</sup> <sup>p) −</sup> <sup>D</sup> <sup>_a_</sup> <sup>R</sup> <sup>_b_</sup> <sup>(</sup> <sup>_r_</sup> <sup>p) + R</sup> <sup>_a_</sup> <sup>R</sup> <sup>_b_</sup> <sup>(</sup> <sup>_r_</sup> <sup>p)</sup>, (56) R _a_ R _b_ ( _r_ p) where D _a_ D _b_, D _a_ R _b_, R _a_ D _b_, and R _a_ R _b_ are the standard data-data, data-random, random-data, random-random pair counts of samples _a_ and _b_ . We note that we omitted the galaxy number normalisation factors which correct for the randoms being ten times more numerous than data. Further details are given in App. C. As we were working with a simulation omitting observational systematics and masks, we generated random catalogues homogeneously over the footprint, taking 50 times more randoms than data. 3.4.1. Estimator weighting scheme Given the weighting procedure Eq. (53), it is natural to weight the estimator as _w_ ˜ <sup>(1)</sup> _ab_ <sup>(</sup> <sup>_zi_</sup> <sup>) =</sup> - _r_ pmax _r_ p <sup>min</sup> d _r_ p _W_ ( _r_ p) <sup>(D</sup> <sup>_a_</sup> <sup>−</sup> <sup>R</sup> <sup>_a_</sup> <sup>)(D</sup> <sup>_b_</sup> <sup>−</sup> <sup>R</sup> <sup>_b_</sup> <sup>)(</sup> <sup>_r_</sup> <sup>p)</sup>, (57) R _a_ R _b_ ( _r_ p) _<u>wab</u>_ ( _zi_ ) = where the numerator is a concise notation for the numerator of Eq. (56). In the context of clustering redshifts, this weighted estimator was first introduced by Ménard et al. (2013), and later used by Cawthon et al. (2022). Another weighting scheme was introduced by Schmidt et al. (2013), and was used by Davis et al. (2018), Gatti et al. (2018), van den Busch et al. (2020), and Naidoo et al. (2023). The principle is to scale-average data-data and random-random pair counts: _r_ p <sup>min</sup> d _r_ p _Ww_ ( _r_ p) _wab_ ( _r_ p, _zi_ ) . (53) We introduce the scale-weighted matter correlation - _r_ pmax ξm( _z_ ) = _r_ p <sup>min</sup> d _r_ p _Ww_ ( _r_ p) ξm( _r_ p, _z_ ) . (54) It is easy to show that Eq. (48) or Eq. (49) are still valid with integrated quantities. The scale weighting is usually chosen as a power law _Ww_ ( _r_ p) ∝ _r_ p <sup>γ,</sup> <sup>where</sup> <sup>the</sup> <sup>function</sup> <sup>is</sup> <sup>normalised</sup> <sup>to</sup> unity (e.g. Gatti et al. 2018; van den Busch et al. 2020; Naidoo et al. 2023). Choosing γ < 0 increases the impact of small scales. They are expected to be less noisy but also more sensitive to non-linearities. Inversely, the measurement is not biased at large scales (i.e. the linear bias is a good model), but uncertainties are usually larger. Another reason to use small scales instead of large ones is to keep the calibration independent from the twopoint weak-lensing analysis: using smaller and different scales, one can safely neglect the covariance between calibration and the observables. Nonetheless, these small scales are not used for the cosmological analysis for physically motivated reasons (nonlinearities), which in theory should apply to clustering-redshifts as well (Pandey et al. 2020). Hence, the scale range is an important parameter and we will investigate this scale-weighting procedure in detail in Sect. 4. _w_ ˜ <sup>(2)</sup> _ab_ <sup>(</sup> <sup>_zi_</sup> <sup>) =</sup> - _rr_ p <sup>min</sup> pmax d _r_ p _W_ ( _r_ p) (D _a_ - R _a_ )(D _b_ - R _b_ )( _r_ p) <u>�</u> _rr_ p <sup>min</sup> pmax d _r_ p _W_ ( _r_ p) R _a_ R _b_ ( _r_ p) . (58) Schmidt’s motivation to do so was to assume that the ratio of the averaged quantities would lead to higher signal-to-noise (S/N) than the averaged ratio (which is expected for a constant ratio, which is not the case here). With this second estimator what we have is a re-weighting of the correlation functions with a new effective weighting, as _w_ ˜ <sup>(2)</sup> _ab_ <sup>(</sup> <sup>_zi_</sup> <sup>) =</sup> × d _z_ 1 d _z_ 2 _na_ ( _z_ 1) _nb_ ( _z_ 2) (59) - _rr_ p <sup>min</sup> pmax d _r_ p _W_ ( _r_ p) _r_ p ∆ _r_ p ηmask( _r_ p) ⟨δ _a_ δ _b_ ⟩ _r_ p, _z_ 1, _z_ 2 <u>�</u> _rr_ p <sup>min</sup> pmax d _r_ p _W_ ( _r_ p) _r_ p ∆ _r_ p ηmask( _r_ p) , Article number, page 9 of 31 _A&A proofs:_ manuscript no. aa55551 25 where ηmask( _r_ p) is a geometrical factor due to the masking of some sky area (cf. App. C). In particular, the effective scale weighting is _W_ eff( _r_ p) ∝ _W_ ( _r_ p) _r_ p ∆ _r_ p ηmask( _r_ p) (60) ∝ _W_ ( _r_ p) _r_ p <sup>2</sup> <sup>ηmask</sup> for a logarithmic binning, (61) ∝ _r_ p <sup>γ+2</sup> ηmask for a power law weighting . (62) This effective weighting is still re-normalised to unity as required by the denominator of Eq. (59). The mask incompleteness is not rigorously corrected (cf. App. C), except if ηmask is scaleindependent. <sup>7</sup> By default, we consider the first estimator (Eq. 57), since understanding the weighting is straightforward, and the mask is better corrected, but we will test and compare the two in the results section. <sup>8</sup> 3.4.2. Covariance matrix We used the jackknife covariance matrix as our fiducial covariance. For a measured data vector _w_, the covariance matrix is 7 6 5 4 3 2 1 0 ∆z = 0.001 ∆z = 0.02 ∆z = 0.04 ∆z = 0.05 ∆z = 0.06 ∆z = 0.08 ∆z = 0.1 C _w_ = <sup>_<u>N</u>_</sup> <sup><u>Jkk</u></sup> <sup>−</sup> <sup><u>1</u></sup> _N_ Jkk _N_ Jkk _k_ =1 ( _w_ <sup>_k_</sup> - _w_ ˜ )( _w_ <sup>_k_</sup> - _w_ ˜ ) <sup>⊤</sup>, (64) 0.20 0.25 0.30 0.35 0.40 0.45 0.50 0.55 ztrue Fig. 3. Galaxy distribution observed through different ∆ _z_ averaging as Eq. (70). The redshift convolution modifies the shape of the distribution for larger slicing compared to the real slicing as estimated with a very thin slicing (grey). For this case, all slicings ∆ _z_ ≤ 0.06 produce a good estimate. redshift standard deviation (Reischke 2024) for every bin should be measured with precision σ(⟨ _z_ ⟩ _i_ ) ≤ 0.002 (1 + ⟨ _z_ ⟩ _i_ ), (67) σ(σ _ni_ ) ≤ 0.1 σ _ni_ . (68) 3.5.2. Discretisation of a distribution The last step of a clustering-redshifts pipeline is to derive the _n_ p( _z_ ) moments from the discrete measurements _n_ p( _zi_ ). The mean redshift of a bin is evaluated with where _N_ Jkk is the number of jackknife regions, _w_ <sup>_k_</sup> is the data vector excluding the data from the _k_ <sup>th</sup> region, and _w_ ˜ is its mean value. Here, _w_ can be, for example, the vector _w_ sp( _r_ p), the ratio of vectors _w_ sp( _r_ p)/ <sup>�</sup> _w_ ss( _r_ p), the scalars _<u>w</u>_ sp, or the ratio of scalars _<u>w</u>_ sp/ - _<u>w</u>_ ss. In this article, we use a sufficiently large number of regions (200), with a small enough number of points (around a dozen), so that Hartlap (Hartlap et al. 2007) or Percival (Percival et al. 2022) corrections to the inverse of the covariance are at the percent level and can be safely neglected. _3.5._ _Extracting the unknown distribution moments_ 3.5.1. clustering-redshifts requirements for cosmic shear The success of the _Euclid_ mission requires achieving a particular precision in the characterisation of _n_ ( _z_ ) of the tomographic bins _i_ . The requirements usually focus on the mean redshift, expressed as _n_ <sup>meas</sup> p <sup>meas</sup> p ( _z_ _j_ ) ≈ ∆ <sup><u>1</u></sup> _z_ ⟨ _z_ ⟩≈ _j_ ∆ _z z_ _j n_ <sup>meas</sup> p ( _z_ _j_ ) . (69) We are not directly measuring _n_ p( _z_ _j_ ) but rather its averaged value over ranges _z j_ ± ∆ _z_ /2, ∆ _z_ - ∆ _z_ /2 −∆ _z_ /2 d _z n_ p( _z_ _j_ + _z_ ) . (70) ⟨ _z_ ⟩ _i_ = d _z z n_ pi ( _z_ ), (65) as illustrated in works such as Gatti et al. (2018), van den Busch et al. (2020), and Gatti et al. (2022). The desired precision for the _Euclid_ mission requires knowledge of the redshift standard deviation, however, which is denoted as σ _ni_ = �� d _z_ ( _z_ −⟨ _z_ ⟩) <sup>2</sup> _n_ pi( _z_ ), (66) as outlined in Reischke (2024). The criteria are as follows: the mean redshift bias (Laureijs et al. 2011; Reischke 2024) and the 7 For scales that are neither too small nor too large, it should be a valid hypothesis, at least to first order. 8 Of course, in practice, all the previous integrals are discrete, with d _r_ p −→ - ∆ _r_ p <sup>_i_</sup> <sup>.</sup> ∆ _r_ <sup>_i_</sup> p <sup>_i_</sup> <sup>.</sup> (63) As a consequence, Eq. (69) is an accurate approximation of the exact integral form as long as ∆ _z_ is small compared to the tomographic bin width. As an example, the numerical difference between Eq. (69) and Eq. (65) is O�10 <sup>−4�</sup> for our _Euclid_ tomo graphic bins (cf. Sect. 2.2), and ∆ _z_ = 0.02–0.5. Nonetheless, the recovered shape of the distribution is affected by Eq. (70) and for large ∆ _z_ the measured distribution would be flattened. We illustrate this in Fig. 3, plotting a galaxy distribution (which in practice corresponds to a very thin slicing), and the same distribution with a ∆ _z_ averaging as Eq. (70). We see that the flattening associated with the bin increases. These effects will also be tested in Sect. 4. 3.5.3. Overall strategy The uncertainty on the mean- _z_ directly inferred with Eq. (69) would not fulfil the _Euclid_ requirement Eq. (67). In doing this, we would be very conservative, allowing for any tomographic bin shape, whereas in reality, we know their shape a priori. Thus, _i_ Article number, page 10 of 31 W. d Assignies et al.: _Euclid_ : Clustering redshifts we can define some priors on the _n_ p( _z_ ) properties to decrease the uncertainty. We describe two possibilities: 1. we assume a prior on the shape of the distribution, through a _n_ ( _z_ ) model; 2. we use Gaussian process formalism, to generate coherent realisations, assuming a kernel, which is related to how “fast” the distribution is evolving in redshift. Thus in one case, we put a prior on the shape of the tomographic bin, and in the other, on the redshift variation. 3.5.4. Shifted-stretched model For this approach, we evaluated a given model _n_ <sup>model</sup> ( _z_ ) with some parameters { _p_ 1, _p_ 2 . . .}, by minimising the likelihood, ln L({ _p_ 1, _p_ 2 . . .}| _n_, C _n_ ) 3. the realisations are renormalised to unity; 4. the moments of the true distribution and their uncertainties are estimated from this large sample of normalised SGP realisations. For the GP covariance, we chose a 3/2 Matern kernel function, and assume the length-scale _l_ to be _l_ = ∆ _z_ /2 where ∆ _z_ corresponds to the redshift slicing. <sup>11</sup> To validate these choices, we tested different kernels and length-scale, by comparing generated GP from discrete _n_ ( _zi_ ) and covariance to true _n_ ( _z_ ); see, for example, the right panel of Fig. 4. For the second step, given a GP realisation _i_, the associated SPG is _n_ <sup>_i_</sup> <sup>_i_</sup> SGP <sup>(</sup> <sup>_z_</sup> <sup>) =</sup> <sup>_ni_</sup> <sup>_i_</sup> GP <sup>(</sup> <sup>_z_</sup> <sup>)</sup> <sup>_S_</sup> <sup>(</sup> <sup>_xi_</sup> <sup>,</sup> <sup>_k_</sup> <sup>),</sup> (75) where _S_ is a suppression factor that removes the noisy part of the distribution. We chose the parametrisation = − <sup><u>1</u></sup> 2 - _n_ ( _zi_ ) − _n_ <sup>model</sup> ( _zi_ ) �⊤ C− _n_ 1 - _n_ ( _zi_ ) − _n_ <sup>model</sup> ( _zi_ )�, (71) _S_ ( _x_, _k_ ) = (76) 0 if _x_ < 0 1 − (1 − _x_ ) <sup>_k_</sup> if 0 < _x_ < 1 1 if _x_ - 1 . where { _n_ p( _zi_ )} _i_, and the associated covariance C _n_ are the measured quantities. Then, using a Markov chain Monte Carlo, <sup>9</sup> the mean redshift and standard deviation were extracted from one thousand realisations of { _n_ <sup>model</sup> }. For the _n_ <sup>model</sup>, we use the shifted-stretched model (SSM), which is commonly used for clustering redshifts; given a particular distribution _n_ ( _z_ ) with a mean redshift ⟨ _z_ ⟩, two free parameters are used describing a redshift shift δ _z_ and a stretching _s_, In the above, the _x_ variable is a smoothing of the continuous signal-to-noise ratio (SNR) <u>1</u> _xi_ = SNRthresh G ∗ <sup>_n_</sup> σGP <sup>_i_</sup> _i_ ( <sup>(</sup> _z_ <sup>_z_</sup> ) <sup>)</sup> <sup>.</sup> (77) Here G is a Gaussian with a standard deviation ∆ _z_, ∗ represents the convolution operation, which smooths the SNR between data points (and avoids non-physical cuts), and SNRthresh is the SNR threshold below which the suppressed factor is applied. Thus, if SNR < SNRthresh over a redshift range larger than ∆ _z_, the amplitude of the realisation _n_ <sup>_i_</sup> GP <sup>(</sup> <sup>_z_</sup> <sup>) would be reduced by a factor</sup> _k_ /3 × SNR. We fix _k_ = 0.3 in Eq. (76), so that the suppressed factor rapidly drops for _x_ < 1, but we ensured that the impact of this parameter was small. In Fig. 4 we illustrate the whole procedure. We show for a measurement { _n_ p( _zi_ )} _i_, C _n_ (not normalised to unity), GP realisations, their SNR _n_ GP/σ( _z_ ), and the associated normalised SGP realisations compared with the true distribution. It is clear that going from the left to the right panel, the overall procedure greatly improves the realisations. Nonetheless, the procedure could be optimised further in the future, since we did not rigorously explore all of the SGP parametrisation. 4. Results In this section, we present the clustering-redshifts pipeline optimisation. In Fig. 5 we summarise the different ingredients entering the modelling of clustering redshifts, and the corresponding validation tests presented in this section. In Sect. 4.1, we describe the simulated data used. In Sect. 4.2, we compare the performance of the clustering estimator. In Sect. 4.3, we evaluate the hypothesis that the galaxy biases of cross-correlations and auto-correlations are the same at small scales. In Sect. 4.4, we determine the optimal scale range, and in Sect. 4.5, the optimal scale weighting. In Sect. 4.6, we test different spectroscopic slicing ∆ _z_ for measurements affected by systematics, with the effects of these systematics tested individually in Sect. 4.7. In Sect. 4.8, we compare different galaxy bias correction methods. Finally, in Sect. 4.9, we investigate the impact of the tomographic bin definition on the redshift constraints. 11 The length-scale represents the characteristic distance over which the function values are correlated. Article number, page 11 of 31 _n_ <sup>model</sup> ( _z_ | _s_, δ _z_ ) = <sup><u>1</u></sup> _s_ <sup>_n_</sup> - _<u>z</u>_ −⟨ _<u>z</u>_ ⟩− <u>δ</u> _<u>z</u>_ + ⟨ _z_ ⟩ _s_ . (72) This model is particularly convenient because for a given δ _z_, _s_, the bias in mean redshift and standard deviation with respect to the model are δ _z_ and _s_ . In our case, as the model is the true redshift distribution, we have δ _z_ =⟨ _z_ ⟩−⟨ _z_ ⟩true, (73) _s_ =σ _n_ /σ <sup>true</sup> _n_ . (74) As we use the true redshift distribution of the bin as a model (simulation only), the performance may be overestimated compared to a realistic scenario, where the model is taken from a Self-Organised-Map estimate (e.g. Hildebrandt et al. 2021), or a candidate from a simulation (e.g. Gatti et al. 2018, 2022; Cawthon et al. 2022). That is why we also consider a more direct method. 3.5.5. Suppressed Gaussian process We introduce the suppressed-Gaussian-process model (SGP) developed by Naidoo et al. (2023); GP reconstruction from clustering-redshifts was also performed in Johnson et al. (2017). The main benefit of this approach is that it is non-parametric. The procedure is as follows: 1. we generate realisations of Gaussian Process (GP) where the multivariate normal distributions are the measurements, and model the correlation between the points through a specific kernel; <sup>10</sup> 2. we apply to the realisations a suppression function that damps signals in regions where the measurements are consistent with zero; 9 We use the python package `emcee` (Foreman-Mackey et al. 2013). 10 We use the python package `Georges` (Ambikasaran et al. 2015). _A&A proofs:_ manuscript no. aa55551 25 100 80 60 40 20 ~~0~~ SNR <sup>i</sup> realisations SNR <sup>i</sup> convoluted SNRthresh = 3 True n(z) (×5) 8 6 4 2 0 12 10 8 6 4 2 0 GP realisations True n(z) Measurement SGP realisations True n(z) 0.6 0.8 1.0 1.2 1.4 Redshift z 0.6 0.8 1.0 1.2 1.4 Redshift z 0.6 0.8 1.0 1.2 1.4 Redshift z Fig. 4. _Left_ : _n_ ( _z_ ) distribution measurement, with 50 associated GP realisations (orange), and the true distribution (red). _Middle_ : SNR of the GP realisation (orange), and their convolution (blue). The SNR threshold (=3) is reported with the dashed line. _Right_ : Associated SGP realisations, renormalised to unity (blue), compared to the true distribution (red). Fig. 5. Modelling the cross-correlation between spectroscopic samples in redshift slices and photometric bins, and reference to the corresponding tests we performed to optimise the pipeline. _4.1._ _Investigation strategy_ Our investigation strategy consists of varying a set of analysis parameters to check the impact on clustering redshifts. We chose to use three tomographic bins covering the full redshift range of interest and corresponding to different types of galaxies. The three tomographic bins: “low- _z_ ”, “mid- _z_ ”, and “high- _z_ ”, were generated within the Flagship simulation with the photo- _z_ cuts: 0.35 < _z_ p < 0.47, (78) 0.86 < _z_ p < 1, (79) 1.30 < _z_ p < 1.6 . (80) They corresponds to bin 2, 7, and 10 in Fig. 1. For reference samples, we used BOSS LOWZ and CMASS, DESI ELG, and _Euclid_ NISP-S like samples. We report the redshift distribution of the tomographic bins and spectroscopic samples in Fig. 1. To characterise the uncertainty from sample variance in our analysis, we split each tomographic bin into five independent Flagship2 sky patches <sup>12</sup> of 1000 deg <sup>2</sup> . As the simulation is limited to 5000 deg <sup>2</sup>, this is the maximum number of large independent patches that we can use. When investigating the optimal spectroscopic slicing we do not want our results to be biased because the points luckily cover the optimal part of the distribution. 12 We applied cuts on the RA coordinates, with a width of ∆RA = 17.5 deg. Article number, page 12 of 31 Thus, for every patch _j_ = 1, . . . 5, we varied the redshift slicing of the spectroscopic samples _zi_ ; ∆ _z_, by shifting the slice centres by _j_ × ∆ _z_ /5. To summarise, we tested over five independent 1000 deg <sup>2</sup> sky patches for three tomographic bins, each crosscorrelated with spectroscopic samples distributed into different slices for each patch (but with the same ∆ _z_ ). _4.2._ _Choice of the estimator weighting scheme_ In this section, we compare the two different estimators of the angular correlation function, described in Sect. 3.4.1. We measured the auto-correlations of spectroscopic samples for a 1000 deg <sup>2</sup> sky patch, a single redshift bin of width ∆ _z_ = 0.05, and the two estimators: – _w_ <sup>(1)</sup> ss – _w_ <sup>(1)</sup> ss <sup>defined</sup> <sup>by</sup> <sup>Eq.</sup> <sup>(57),</sup> <sup>where</sup> <sup>weighting</sup> <sup>is</sup> <sup>applied</sup> <sup>to</sup> <sup>the</sup> ratio of pair counts; – _w_ <sup>(2)</sup> ss <sup>defined by Eq. (58), where weighting is applied directly</sup> _w_ <sup>(2)</sup> ss <sup>defined by Eq. (58), where weighting is applied directly</sup> the pair counts. Correlations were evaluated for the scale range 0.5– 5 Mpc, and with different weighting functions _W_ ∝ _r_ p <sup>γ.</sup> <sup>The</sup> <sup>results</sup> are reported in Fig. 6. We used logarithmic binning, and expect the measurements to be weighted by an effective function _W_ eff ∝ _r_ p <sup>γ+2</sup> (cf. Eq. 60), which is confirmed by the matched am plitudes of blue-yellow and purple-red points. Importantly, we do not observe significant differences in the associated uncertainties between the two estimators with the corresponding weights. W. d Assignies et al.: _Euclid_ : Clustering redshifts <sup>(2)</sup> p ss <sup>with W(rp) ∝</sup> <sup>r−3</sup> <sup>(1)</sup> p ss <sup>with W(rp) ∝</sup> <sup>r−1</sup> <sup>(2)</sup> p ss <sup>with W(rp) ∝</sup> <sup>r−1</sup> <sup>(1)</sup> p ss <sup>with W(rp) ∝</sup> <sup>r1</sup> If we were using scalar product, instead of scale correlation function, this would be equivalent to the Cauchy–Schwarz equality, which implies that the density contrasts ∆ _a_ and ∆ _b_ are linearly dependent, and the Pearson correlation coefficient _rab_ is 1, with wss <sup>(2)</sup> wss <sup>(1)</sup> p p p p wss <sup>(2)</sup> wss <sup>(1)</sup> 2.50 2.25 2.00 1.75 1.50 1.25 1.00 _rab_ := ⟨∆ _a_ ∆ _b_ ⟩ _r_ p = 1 . (82) <u>�⟨∆</u> _a_ <u>∆</u> _a_ ⟩ _r_ p ⟨∆ _b_ <u>∆</u> _b_ ⟩ _r_ p BOSS zi = 0.38 0.45 0.40 0.35 0.30 0.25 0.20 DESI ELG zi = 0.88 Fig. 6. Auto-correlations of two spectroscopic samples for a single redshift bin (∆ _z_ = 0.05). The yellow and red points are obtained using the first estimator _w_ <sup>(1)</sup> ss <sup>with</sup> <sup>γ</sup> <sup>∈{−1,</sup> <sup>+1}.</sup> <sup>The</sup> <sup>blue</sup> <sup>and</sup> <sup>purple</sup> <sup>points</sup> <sup>are</sup> obtained using the second one _w_ <sup>(2)</sup> ss <sup>with γ</sup> <sup>∈{−3,</sup> <sup>−1}. The consistency</sup> of the points with different weights illustrates the effective weighting due to the estimator definition. 10 <sup>1</sup> 10 <sup>0</sup> 10 <sup>-1</sup> <u>DESI LRG × DESI ELG</u> 0.6 0.7 0.8 0.9 zi 1.05 0.95 0.85 0.70 0.60 0.40 Fig. 7. Variation in the Pearson coefficients _rab_ for Flagship LRGs with ELGs. This coefficient informs on the small-scale under-correlation of blue and red galaxies. Given that the weighting variation does not offer any practical advantage, and leads to unnecessary complexity in the weighting process (cf. App. C), we adopted the first estimator, Eq. (57), as our fiducial choice for this analysis, and we will evaluate the optimal value of γ. _4.3._ _Testing the bias-cancellation hypothesis_ The scales used for clustering-redshifts calibration are typically very small [e.g. (0.1–5) Mpc] in order to minimise correlations between the calibration and the cosmological analysis, and to maximise the SNR. The associated nonlinear effects are often overlooked, however. Most authors assume that for two galaxy samples located within the same redshift bin, the two-point angular correlation function follows the relation: At large scales (> 10 Mpc) galaxy samples act as linear tracers of the underlying dark matter density field. In this case, δ _a_ = _bb_ / _ba_ × δ _b_, which means that galaxy field are linearly dependant. At smaller scales, the linearity between the dark matter field and galaxy statistics begins to break down. For a more complex biasing between matter field and galaxy field, however, we would still expect | _rab_ | ≤ 1. <sup>13</sup> At even smaller scales (within the one-halo regime), the modelling of galaxy fields as random variables of the dark matter field breaks down (e.g. in Swanson et al. 2008, clustering properties between galaxy subpopulations was investigated), potentially impacting cosmological inference (e.g. Chaves-Montero et al. 2023, in the context of weak lensing). We illustrate this issue with an extreme example: one sample consists only of central galaxies, whilst the other consists only of satellite galaxies. If we assume there is at most one satellite galaxy per halo, the autocorrelation of central and satellite galaxies would be very small on scales smaller than the halo size, but still non-zero as we are not evaluating 3d clustering. The positive cross-correlation between the two would be strong, however. This would result in _rab_ ≫ 1, which is not possible for random variables. The reason for this discrepancy is that the statistics of the satellite distribution depend on those of the central galaxy distribution. In typical halo occupation distribution models, the probability of hosting a satellite galaxy is conditional on the presence of a central galaxy. Alternatively, if two galaxy samples populate different haloes, the cross-correlation would be very small on scales smaller than the halo size, while the auto-correlations would remain significant, leading to _rab_ ≪ 1. The scale range mentioned earlier (referred to as “small” and “smaller”), and the behaviour of the _rab_ coefficients are not clearly known. We decided to improve this aspect for our _Euclid_ calibration method. The small-scale effects that we have described are not a hypothetical framework, as this type of behaviour has already been observed in spectroscopic surveys. For instance, the first DESI data provides clear evidence that LRGs and ELGs exhibit low cross-correlation signals at small scales (a phenomenon socalled “conformity”; Rocher et al. 2023; Yuan et al. 2025; Gao et al. 2024). This occurs because these galaxies reside in different haloes, with their properties influenced by the history of the halo. Given that the under-correlation between red and blue galaxies is well established, we aimed to test whether the Flagship simulation could reproduce this small-scale effect. Our strategy was to split the two samples into redshift slices (∆ _z_ = 0.05) using true-redshift, and to measure the ratio with angular correlation, _waibi_ ( _r_ p) _rab_ ( _r_ p, _zi_ ) =, (83) ~~<u>�</u>~~ _waiai_ ( _r_ p) _wbibi_ ( _r_ p) which is expected to be 1 under the linear approximation. 13 As shown in App. A for quadratic non-linearities (second-order effects), we expect _rab_ ≈ 1, with the correction arising from third-order terms. Pushing further the perturbative development, we can show that indeed _rab_ ≤ 1, analogously to the Cauchy–Schwarz inequality. Article number, page 13 of 31 _wab_ ( _r_ p) ≈ _waa_ ( _r_ p) _wbb_ ( _r_ p) . (81) _A&A proofs:_ manuscript no. aa55551 25 <u>Spectro Euclid × Photo Euclid</u> 1.1 1.2 1.3 1.4 1.5 zi 10 <sup>1</sup> 10 <sup>0</sup> <u>BOSS × Photo Euclid</u> 10 <sup>-1</sup> 0.2 0.3 0.4 0.5 0.6 zi <u>DESI ELG × Photo Euclid</u> 0.7 0.8 0.9 1.0 1.1 zi 1.60 1.40 1.20 1.10 1.04 0.96 0.90 Fig. 8. Pearson coefficient for our three simulated bins: low- _z_, mid- _z_, and high- _z_ . This term is assumed to be one for clustering-redshifts calibration. We see different behaviours, _r_ = 1, _r_ < 1, and _r_ - 1 for different scales and redshifts, except for the high- _z_ bin, for which _r_ = 1 (almost) everywhere. In Fig. 7 we show _rab_ ( _r_ p, _z_ ) for the Flagship LRG and ELGlike samples. We recover the under-correlation at small scales, through _rab_ ( _r_ p, _z_ ) < 1. This ratio not only decreases with scales, but also with redshift. Since the recovered _n_ ( _z_ ) is degenerate with _r_, an evolving _r_ with redshift would introduce a bias in the reconstructed _n_ ( _z_ ). This confirms the presence of one-halo behaviour in the Flagship simulation. However, since these behaviours were only recently identified and are still being actively studied, it is likely that their implementation in the Flagship simulation is incomplete or not fully accurate. A thorough study of this aspect of the simulation and one-halo physics is beyond the scope of this article. In Fig. 8 we report _rab_ ( _r_ p, _z_ ) for the three simulated photometric × spectroscopic bins (defined in Sect. 4.1). We observe significant scale and redshift evolution of the ratio, at least for the BOSS and DESI correlations, at scales smaller than 1 Mpc. Notably, we find _r_ - 1, which we attribute to the physics of galaxyhalo connection and galaxy formation rather than non-linearities in the matter field (cf. the beginning of this subsection). Proving whether this is due to limitations in the HOD modelling or is a reliable prediction of the simulation is beyond the scope of our work. There is also a weak under-correlation for the low- _z_ bin (and the mid- _z_ ) at scales (1–8) Mpc, but it does not appear to evolve with redshift, and is therefore not expected to introduce a bias into the _n_ ( _z_ ). This may correspond to the correction for non-linearities described above ( _r_ ≲ 1). For the high- _z_ bin, we do not measure deviation from unity at any scale. Given these results, we are confident that using projected scales larger than 1.5 Mpc would avoid this one-halo effect. <sup>14</sup> As simulations improve in their modelling of galaxy halo properties, this test will need to be repeated. The ratio amplitude, scale, and redshift evolution are different depending on the tracers: under-correlation for DESI LRG and ELG in Fig. 7, and overcorrelation for _Euclid_ photo and DESI ELG in Fig. 8. We recommend to use only one type of spectroscopic tracer for the sample s when evaluating cross-correlations between photometric and spectroscopic samples at a specific redshift: _w_ sp( _zi_ ), avoiding mixing ELGs and LRGs for example. If different spectroscopic tracers {s _j_ } _j_ are available for the same redshift _zi_, we can then 14 We note that we are using angular correlation, so most of the 3-D separation between galaxies is much larger than this 1.5 Mpc. Article number, page 14 of 31 predict different _n_ p( _zi_ | _s_ _j_ ) and combine them (e.g. Hildebrandt et al. 2021). Small-scale effect could lead to incompatibility as we show in this section, so that this procedure is more likely to detect systematics, and more robust. _4.4._ _Choice of the scale range_ In this section, we investigate the best scale range that minimises the deviation ∆ _n_ ( _zi_ | _r_ p) = _n_ p( _zi_ | _r_ p) − _n_ true( _zi_ ), (84) while maximising the SNR. We explored a wide range of scales, including those previously discarded in Sect. 4.3. Unlike the estimator of _w_ in Eq. (57), which averages over scales, our estimator was evaluated for a single scale <sup>15</sup> as in Eq. (48). Consequently, we refer to the distribution measured as _n_ p ( _z_ | _r_ p). We always normalised the measured distributions to unity. We employed three methods for correcting the bias, covering all the bias correction cases: no correction (i.e. M0), spectroscopic correction (i.e. M1), and full correction (i.e. M5). <sup>16</sup> This approach allows us to assess how bias correction influences the optimal scale range. We used three statistical indicators, as a function of the projected scale – the root mean square <u>�</u> _zi_ RMS[∆ _n_ ] ( _r_ p) = ~~�~~ <u>1</u> _Nz_ ∆ _n_ ( _zi_ | _r_ p) <sup>2</sup> ; (85) – the (mean) signal-to-noise-ratio SNR[ _n_ ]( _r_ p) = <sup><u>1</u></sup> _Nz_ _zi_ | _n_ p( _zi_ )| σ _n_ ( _zi_ ) <sup>;</sup> (86) – the reduced χ <sup>2</sup> <sup>2</sup> _z_ <sup>(</sup> <sup>_r_</sup> <sup>p) =</sup> <sup><u>1</u></sup> _zi_ <sup>,</sup> (87) χ <sup>2</sup> _z_ _<u>Nz</u>_ - �⊤ ∆ _n_ ( _zi_ | _r_ p _zi_ <sup>C</sup> <sup>_n_</sup> <sup>|</sup> <sup>_r_</sup> <sup>p)</sup> �∆ _n_ ( _zi_ | _r_ p)� 15 In practice, it is evaluated for a small scale bin. 16 We expect the results with M2-3-4 to be similar to that of M5. 10 <sup>0</sup> 10 <sup>-1</sup> 10 <sup>1</sup> 10 <sup>0</sup> 4 2 W. d Assignies et al.: _Euclid_ : Clustering redshifts (M0): no bias correction (M1): spectro bias (M5): spectro and photo biases <u>Low-z</u> <u>Mid-z</u> <u>High-z</u> 10 <sup>-1</sup> 10 <sup>0</sup> 10 <sup>1</sup> rp in Mpc 10 <sup>-1</sup> 10 <sup>0</sup> 10 <sup>1</sup> rp in Mpc 10 <sup>-1</sup> 10 <sup>0</sup> 10 <sup>1</sup> rp in Mpc Fig. 9. RMS of ∆ _n_, SNR of _n_, and reduced χ <sup>2</sup> of ∆ _n_ (top to bottom) as a function of the projected scale _r_ p for the three redshift bins (left to right) for three bias corrections (colours). The fine lines show five independent realisations of 1000 deg <sup>2</sup>, and the thick lines show their means. with _Nz_ the number of points (equivalently the number of redshift slices of the spectroscopic sample). These indicators, evaluated at scales ranging from (0.05–10) Mpc for the different bins and bias corrections, are reported in Fig. 9. The thin lines represent individual realisations of 1000 deg <sup>2</sup> patches, while the thicker lines indicate their means. We first discuss the impact of the bias correction. Whilst the no-bias correction model M0 shows a higher SNR for scales lower than 1 Mpc, its corresponding χ <sup>2</sup> _z_ <sup>value</sup> <sup>is</sup> <sup>very</sup> <sup>high,</sup> <sup>in-</sup> dicating that it is not accurate. Therefore, we focus exclusively on M1 and M5 for the remainder of this section. Both methods perform similarly for the SNR, but for mid- _z_ and high- _z_, M5 provides a χ <sup>2</sup> _z_ <sup>closer to unity.</sup> For the three tomographic bins, the RMS is increasing for smaller scales. This increase is associated with a lower SNR, and the χ <sup>2</sup> _z_ <sup>remains relatively constant. This suggests an overall</sup> consistency, and we can choose the scale range based on the SNR only. For the low- _z_ bin, it peaks at 1 Mpc and then decreases. For the other two bins, it appears to peak around 2 Mpc, with a small decrease for larger scales. In conclusion, the scale range (1.5–5) Mpc appears to be well suited for clustering redshifts; it is nearly optimal regarding the SNR; the χ <sup>2</sup> _z_ <sup>is</sup> <sup>almost</sup> <sup>minimal</sup> <sup>for</sup> <sup>the</sup> <sup>whole</sup> <sup>range;</sup> <sup>it</sup> <sup>avoids</sup> the _r_ p < 1.5 Mpc one-halo regime (excluded in Sect. 4.3); these scales are not used for cosmological analysis. This scale range is the same as in Gatti et al. (2022) and Giannini et al. (2024), but significantly larger than in other works such as van den Busch et al. (2020), Cawthon et al. (2022), and Naidoo et al. (2023), which used scales of 0.1–1 Mpc _h_ <sup>−1</sup> or 0.5–1.5 Mpc _h_ <sup>−1</sup> . Early clustering-redshifts studies even advocated for using smaller scales, down to the kpc range (Ménard et al. 2013; Schmidt et al. 2013). We note that we have chosen scales that avoid the one-halo term and the range of scales used for cosmology. One way to be conservative on the small-scales bias effects would be to use only large scales, overlapping those used in the 3 × 2 point analysis. In previous calibrations such as HSC, KIDS, and DES, scale choice was largely driven by the lack of spectroscopic sample (Hildebrandt et al. 2021), and the range was chosen to be at the peak of the SNR (Gatti et al. 2018). For _Euclid_, this will no longer be the case, and from Fig. 9 it is clear that larger scales can be used for calibration. However, it requires the generation of a more complex covariance to accurately propagate the correlation. This was proved to be informative through a forecasting work in Johnston et al. (2025), but never implemented in practice with simulated or real data, and is beyond the scope of this article. _4.5._ _Choice of the scale weighting_ In this section, we varied the weighting _W_ ( _r_ p) in Eq. 53 and evaluated the RMS and SNR defined in Eqs. (85) and (86). The scale range was fixed to (1.5–5) Mpc following the last section’s conclusion. We tested three power laws and two different weighting schemes: Article number, page 15 of 31 _W_ ( _r_ p) = <u>�</u> _r_ max _r_ p <sup>γ</sup> p <u>�</u> _r_ pmax _r_ p <sup>min</sup> d _r_ p _r_ p <sup>γ</sup> with γ ∈{−1, 0, 1}, (88) p <u>High-z</u> 26 28 30 32 SNR 14 15 16 17 SNR _A&A proofs:_ manuscript no. aa55551 25 <u>Mid-z</u> 0.12 0.10 0.08 0.06 0.325 0.300 0.275 0.250 0.225 0.200 0.175 <u>Low-z</u> 6 7 8 9 10 11 SNR 0.18 0.16 0.14 0.12 0.10 0.08 W(rp) ∝ rp W(rp) ∝ 1 p W(rp) ∝ r <sup>−1</sup> p (M1) with Ww (M1) with Wn (M5) with Wω (M5) with Wn 0.04 Fig. 10. SNR and RMS for the three tomographic bins (left to right), with three power laws as weighting functions (colours), two weighting schemes, and two bias-correction methods (M1 and M5). <u>Mid-z</u> <u>High-z</u> 0.008 0.006 0.004 0.002 0.000 0.25 <u>|</u> z <u>�</u> <u>Low-z</u> 0.002 0.004 0.006 0.008 0.002 0.004 0.006 0.008 <u>|</u> z <u>�</u> 0.002 0.004 0.006 0.008 <u>|</u> z <u>�</u> ∆z = 0.02 ∆z = 0.04 ∆z = 0.05 ∆z = 0.06 ∆z = 0.08 ∆z = 0.10 Requirements z <u>�</u> <u>�</u> z <u>�</u> <u>�</u> z <u>�</u> <u>�</u> <u>|</u> <u>−</u> <u>�</u> true <sup><u>|</u></sup> <u>|</u> <u>−</u> <u>�</u> true <sup><u>|</u></sup> <u>|</u> <u>−</u> <u>�</u> true <sup><u>|</u></sup> 0.20 0.15 0.10 0.05 0.00 0.00 0.05 0.10 0.15 0.20 0.25 z |σz/σ <sup>true</sup> - 1| 0.00 0.05 0.10 0.15 0.20 0.25 z |σz/σ <sup>true</sup> - 1| 0.00 0.05 0.10 0.15 0.20 0.25 z |σz/σ <sup>true</sup> - 1| z <sup>true</sup> - 1| Fig. 11. Mean redshift and shape reconstruction with SGP, for the three tomographic bins. The different markers and colours are associated with different slicing ∆ _z_ . The sandy region corresponds to the _Euclid_ requirements, and the diagonal line shows a coherent deviation of 1σ. – we scale-average the different correlation functions and com pute their ratio, as in Eq. (53), - _r_ pmax _w_ ˜ _ab_ ( _zi_ ) = but the first performs slightly better for the SNR. These findings hold for M1 and M5. Additionally, we confirm that correcting the photometric bias for the first redshift bin is not strictly necessary in terms of RMS, but it does lead to a better SNR. Thus, the best weighting scheme appears to be the inverse scale weighting applied to correlation functions, combined with a full bias correction approach. _4.6._ _Finding the optimal spectroscopic slicing_ In the previous sections, we did not include systematics (e.g. magnification) in the measurement because we were questioning the optimal statistical choices on the two-point clustering itself, hence the use of statistical quantities such as RMS and SNR. In the rest of the article, we consider realistic measurements, including systematics, and evaluate their impact on the moments of the redshift distribution we aim to calibrate. In this section, we varied the slicing of the spectroscopic sample ∆ _z_, cf. Sect. 3.2.2. On the one hand, narrow slices are more sensitive to corrections associated with bin modelling (cf. Sect. 3.2.3), magnification (cf. Sect. 3.1.4), or RSD (cf. Sect. 3.1.5). On the other hand, if the slices are too wide, there may not be enough points covering the distribution to properly measure the _n_ ( _z_ ), the shape would be flattened (cf. Sect. 3.5.2 and Fig. 3), and the assumption that galaxy biases and redshift dis _r_ p <sup>min</sup> d _r_ p _Ww_ ( _r_ p) _wab_ ( _r_ p, _zi_ ) ; (89) – we scale-average the estimated _n_ ( _zi_ | _r_ p) as in Eq. (55), - _r_ pmax _n_ ˜( _zi_ ) = _r_ p <sup>min</sup> d _r_ p _Wn_ ( _r_ p) _n_ ( _zi_ | _r_ p) . (90) In Fig. 10 we show the comparison between the SNR and the RMS for the three tomographic bins, with three power laws, two weighting schemes, and two bias correction methods (M1 and M5). The small markers are the realisations for the five individual 1000 deg <sup>2</sup> patches, while the larger markers indicate their means. The region of interest covers the lower right part of the plots, as it corresponds to minimum deviation and high SNR. Notably, the RMS/SNR plot displays a linear trend, indicating that points with a smaller deviation are associated with a better SNR, which is consistent with the expectations for an unbiased measurement. For all three redshift bins, the optimal weighting is the inverse scale weighting (darker red marker), a similar result to Schmidt et al. (2013) and Ménard et al. (2013). The reason is that SNR is higher, while RMS is lower, for scales around 1.5 Mpc than 5 Mpc (cf. Fig. 9). _Ww_ and _Wn_ are similar for the RMS, Article number, page 16 of 31 W. d Assignies et al.: _Euclid_ : Clustering redshifts tributions are constant may break (cf. Sect. 3.2.2). Therefore, we aim to find a compromise between narrow slices affected by systematic errors and large slices that are not statistically optimal, and for which the modelling might not be precise enough. The impacts of the systematic errors are tested one by one in the next Sect. 4.7. We introduced the systematics using magnified sky coordinates and fluxes for the photometric and spectroscopic samples, and spectroscopic redshift (including peculiar velocity) for the spectroscopic sample. We used M5 as the bias correction method. For extracting the distribution moments from the { _n_ ( _zi_ )} we employed the SGP _n_ ( _z_ ) reconstruction introduced in Sect. 3.5.5. We did so because, even with few points, fitting the true distribution (as with the SSM, cf. Sect. 3.5.4) is likely to yield good yet unrealistic results, whereas the SGP provides weaker yet realistic constraints. We measured the mean (absolute) biases on the mean |⟨ _z_ ⟩− ⟨ _z_ ⟩true| and standard deviation |σ _z_ /σ <sup>true</sup> _z_ - 1| of the _n_ p( _z_ ) for dif ferent slicing, where the mean is evaluated over the five independent patches. We reported the mean values and their associated mean uncertainties in Fig. 11. We also created a similar plot using the SSM and obtain comparable results except for the uncertainties, which remain constant across the different slicing. This confirms our previous statement and justifies the choice of the SGP. First of all, the uncertainties ( _y_ axis) on mean redshift and shape increase with the slicing ∆ _z_, and we also observe larger deviation for wider slices. Regarding the shape reconstruction (related to σ _z_ ), narrow slices are not associated with larger deviations, except for the mid- _z_ bin. For the mean redshift, small slicing is associated with similar or larger deviations than ∆ _z_ ∼ 0.05, but not larger uncertainties. The optimum slicing appears to correspond to 0.04 ≤ ∆ _z_ ≤ 0.06. Consequently, we decided to use a redshift slicing of ∆ _z_ = 0.05 for every bin, for the rest of the study. This is larger than the slicing used for DES (Gatti et al. 2022; Giannini et al. 2024), but the same as the previous _Euclid_ clustering-redshifts paper (Naidoo et al. 2023). As illustrated by the sandy region in Fig. 11, we predict that the systematic errors for this redshift slicing will not shift the data points outside the _Euclid_ requirement. Since the ∆ _z_ = 0.05 points are predominantly on the diagonal (except for the mid- _z_ mean- _z_ ), this suggests that the corrections are fairly small for this slicing: the parameters are not biased more than 1σ away from the truth. The mid- _z_ is the only case where we might fail to fulfil the requirement if we do not correct for the systematic errors. We investigated the origin of this deviation in detail in the next section. _4.7._ _Evaluating the (mis-)modelling of the clustering,_ _magnification, and RSD_ For clustering redshifts, we measure the cross-correlation of a wide photometric tomographic sample with several spectroscopic slices, and we assume that only the photometric galaxies within the redshift range of the spec- _z_ cuts contribute to a nonzero correlation. There can be three corrections: – galaxies in the nearby redshift (nearby bins) can correlate as well (we refer to this as the one-bin approximation); – galaxies not covering the same redshift range can be corre lated through magnification processes; – spectroscopic redshifts can be different than true redshifts, leading to correction on the _n_ s at the boundary of the bin. Two of these effects can be understood as bin border effects, and for larger slices they are expected to decrease in proportion. For wide spectroscopic slices, the assumption that _n_ ( _z_ ) and _b_ ( _z_ ) are constant within the bin might break down. We also note that spectroscopic interlopers were not included in the _Euclid_ spectroscopic samples. In the previous Sect. 4.6, we demonstrated that the compromise between having enough points _n_ p( _zi_ ) and limiting these effects, corresponds to slicings ∆ _z_ = 0.04–0.06, regardless of the tomographic bin. To assess the influence of each effect, we used the idealised bias correction M5 to avoid the impact of galaxy bias, and proceed as follows: – To test the impact of the one-bin approximation, we com pared the cross-correlation _w_ sp( _zi_ ) with spectroscopic slices and the tomographic bin for two cases. In the first one, referred to as the “full bin”, the photometric sample is the fiducial one used in this paper. For the second case, referred to as the “independent bins”, we used idealised tomographic bins. To generate these idealised tomographic bins, for every _zi_, we keep only the photometric galaxies within the same redshift range as the spectroscopic galaxies (using true- _z_ ), and then complete this sample with randoms to maintain the total number of galaxies as in the full tomographic bin. This ensures that only the galaxies within the redshift slice of the spectroscopic sample contribute to the correlation, for each spectroscopic slice. – To test the magnification effect, we compared the results using the magnified variables for position and fluxes (over which we apply the samples cuts), or the unmagnified ones. – To test the RSD effect, for the spectroscopic samples we used either the Flagship true redshifts, or the observed ones, the latter corresponding to a spectroscopic-like redshift estimate (including velocities). – We also tested all these effects together, referred to as “To tal”. In Fig. 12 we show the deviations associated with the different systematic effects for different slicing, for the SGP. The same test for SSM methods is presented in Fig. 13. The corresponding values for the two procedures are listed in Table D.1 for ∆ _z_ = 0.05, in App. D. For RSD and magnification, we have to consider the full tomographic bin, which by default comes with the one-bin approximation. Therefore, the full bin assumption has to be compared with “independent bins”, and the RSD or magnification has to be compared with the full bin. For the SSM and SGP, with ∆ _z_ = 0.05, the constraints on the redshift standard deviation σ are within the requirements independently from the effects. Only a large slicing of ∆ _z_ = 0.08 leads to some measurements out of the requirements because not enough points cover the distribution, and with larger slicing, the distribution appears flattened (σ _z_ /σ <sup>true</sup> _z_ - 1) as shown in Fig. 3. Regarding the mean redshift bias, all the “independent bin” measurements are consistent with no deviation at the 1 to 2σ level with the SGP and SSM. This suggests that our choice of scale and weighting is sufficient to limit the small-scale effects (cf. Sect. 4.4). In general, for the three tomographic bins, all the systematics lead to some deviations compared to the independent bins, but distinguishing these variations from statistical fluctuations is complicated. It is clear that the SGP procedure is more sensitive to these effects. The reason for this is that with SSM we compare the measurements with a model free from these effects. As this model is, in our case, the truth, its results may be optimistic. Nevertheless, with a SOM estimate as Article number, page 17 of 31 0.010 0.005 0.00 ~~0~~ 0.005 0.010 0.2 0.1 0. ~~0~~ 0.1 0.2 _A&A proofs:_ manuscript no. aa55551 25 <u>Low-z</u> <u>Mid-z</u> <u>High-z</u> SGP ∆z = 0.02 ∆z = 0.05 <u>∆z = 0.08</u> Independant subbins Full bin Full bin + RSD Full bin + Magn Full bin + RSD + Magn Euclid requirement Fig. 12. Deviations on the mean- _z_ ( _top_ ) and standard deviation ( _bottom_ ), with SGP fitting, for the three tomographic bins ( _left, middle, and right_ ), with three ∆ _z_ slicings (colours) and different implemented systematic effects (marker). The shadowed bands correspond to the _Euclid_ requirement on both parameters. The dark and light error bars indicate 68.3% and 95.5% uncertainties 0.010 0.005 0.00 ~~0~~ 0.005 0.010 0.2 0.1 0. ~~0~~ 0.1 0.2 <u>Low-z</u> <u>Mid-z</u> <u>High-z</u> SSM ∆z = 0.02 ∆z = 0.05 <u>∆z = 0.08</u> Independant subbins Full bin Full bin + RSD Full bin + Magn Full bin + RSD + Magn Euclid requirement Fig. 13. Same as Fig. 12 for the two parameters of the SSM model, which are equivalent to ⟨ _z_ ⟩−⟨ _z_ ⟩true and σ _z_ /σ _z_ true − 1. a model, we might expect a similar low sensitivity to these effects. For smaller bin sizes, the error bars are smaller, but the deviation due to systematic effects is at least as large as for other sizes. Wider slices are associated with greater uncertainty, and the balance between accuracy and precision is achieved for ∆ _z_ = 0.05. For this bin size, the systematic effects do not produce deviations that exceed the requirements. However, for the mid- _z_ bin, with SGP these systematic effects result in a deviation right at the limit of the budget on the mean- _z_, as the bias is 0.0038 ± 0.0017 (the requirements being 0.0038). For the optimistic case (SSM), the deviation remains within the requirements: the bias in mean redshift being 0.0022 ± 0.008. The effect causing this large deviation for SGP seems to be the one-bin approximation. In Fig. 14, we report the true redshift distribution of three bins are shown alongside clustering-redshifts measurements for three slicing values: ∆ _z_ = 0.02, 0.05, and 0.08, excluding the effects of RSD and magnification. We observe increasing deviations with finer slicing, whilst the shape reconstruction becomes less precise for coarser slicing (cf. Fig. 3). The small slicing deviations are higher for the mid- _z_ and high- _z_ bin, as one can expect since η± increase with redshift. We also see that large slices lead to worst shape estimate for the low- _z_ bin, as its width is narrower. In App. E we explore an alternative modelling including correlation with neighbours slices ( cf. Sect. 3.2.3). In short, despite Article number, page 18 of 31 our effort we did not manage to improve the accuracy of the modelling with extra-terms. _4.8._ _Comparison of the different bias-correction methods_ In this section, we explore the different possibilities for breaking the degeneracy between _n_ p( _z_ ) and _b_ p _b_ s from _w_ sp (cf. Eq. 47). In the first subsection, we focus on measuring the photometric bias alone, since this is the challenging aspect. 4.8.1. Measuring the photometric galaxy bias evolution In Sect. 3.3.2, we proposed to improve existing photometric bias corrections (van den Busch et al. 2020; Cawthon et al. 2022) with two methods to measure _b_ p( _z_ ), applicable to real data, specifically for photometric galaxies with _z_ photo < 1.6 (i.e. fully covered by spectroscopic samples). The larger binning method M3 is applied in Fig. 15 and the smaller binning method M4 is applied in Fig. 16. They are represented by orange dashed lines. For both figures we also include the results using either the partial correction (blue dashed) or width correction (green dashed), for comparisons with previous analyses (van den Busch et al. 2020; Cawthon et al. 2022; Giannini et al. 2024). Additionally, we present the best fit degree-3 polynomial for the partial and the full corrections (solid lines) from a standard χ <sup>2</sup> minimisa 8 6 4 2 ~~0~~ 2 W. d Assignies et al.: _Euclid_ : Clustering redshifts True distributions ∆z = 0.02 ∆z = 0.05 ∆z = 0.08 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 z Fig. 14. True-redshift distributions of tomographic bins in black, and the clustering-redshifts measurements with M5 for three spectroscopic slicings: ∆ _z_ = 0.02, 0.05, 0.08 (orange, red, and purple). 1.0 0.8 0.6 0.4 0.2 0.0 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 z Best fit partial correction Best fit full correction True-z ∆z = 0.05 Photo-z ∆z = 0.1 width correction 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 z Best fit partial correction Best fit full correction True-z ∆z = 0.05 Photo-z ∆z = 0.02 width correction Photo-z ∆z = 0.02 partial correction Photo-z ∆z = 0.02 full correction Photo-z ∆z = 0.1 partial correction Photo-z ∆z = 0.1 full correction 1.0 0.8 0.6 0.4 0.2 0.0 Fig. 15. True _w_ pp for ∆ _z_ = 0.05 in grey and measurement with corrections factors including M3 as dashed green, blue, and orange lines for photo- _z_ binning ∆ _z_ = 0.1. The best fits from degree-3 polynomials are reported with solid lines. The _w_ pp used for M3 is the best-fit model of the full correction (solid red line). tion. The grey line shows the measurement using true- _z_, which we want to recover after the corrections. We find that assuming the photo- _z_ as the true- _z_ (width-only correction), neither the amplitude nor the redshift evolution is well measured. For the partial correction, whilst the redshift evolution appears well-recovered, differences in amplitude persist. Finally, our full correction method significantly outperforms the others: in both figures, we recover the amplitude and redshift evolution of the bias more accurately. Notably, the bias evolves weakly for _z_ < 1, suggesting that correcting the photometric bias at low redshift may not be necessary. Since the partial and full corrections both give a good trend for the redshift evolution of the galaxy bias, one could argue their performance are identical in the context of clustering redshifts, as the measured _n_ p( _z_ ) can always be latterly renormalised. With the correct amplitude for the galaxy bias, evaluating whether the _n_ p( _z_ ) measured is directly normalised to unity can provide valuable information. Deviations from unity could indicate – a contamination from systematics, such as the small scale effect illustrated in Sect. 4.3; Fig. 16. Same as Fig. 15, but for M4, with a smaller photo-z binning ∆ _z_ = 0.02. The _w_ pp used for M4 is the best-fit model of the full correction (solid red line). – the photometric sample is not fully covered by spec (and what is the fraction); – a problem with the spectroscopic redshifts, such as interlop ers. In that sense, the full correction performs significantly better than the partial one. The performance of our bias measurement may depend on the specific photo- _z_ code and the quality of the available photometry, and data implementation will have to address this question. 4.8.2. Comparison of the methods In this section, we compare the different bias correction methods introduced in Sect. 3.3.1, including M3 and M4. We aim to evaluate the bias correction performance, thus we work in an idealised framework with independent bins, no RSD, and no magnification (i.e. the “independent bin” test of Sect. 4.7). We employ a redshift slicing ∆ _z_ = 0.05. We report in colours the deviations on the mean redshift and standard deviation for the six methods M0–M5, in Figs. 17 (for SSM) and 18 (for SGP). For each method, we have five realisations by varying the sky patch. We also give the values for the biases on mean- _z_ and standard deviation in Table D.1, in App. D. Article number, page 19 of 31 _A&A proofs:_ manuscript no. aa55551 25 <u>Low-z</u> <u>Mid-z</u> <u>High-z</u> 0.008 0.004 0.000 0.004 0.008 0.1 SSM (M0) (M1) (M2) (M3) (M4) (M5) Req. 0.0 0.1 Fig. 17. Deviations with the SSM fitting on the mean redshift (upper panel) and standard deviation (lower panel) for the six methods M0–M5 in colour, for five sky patches (same colour). The requirements are represented by the shaded area. The dark and light error bars indicate 68.3% and 95.5% uncertainties. <u>Low-z</u> <u>Mid-z</u> <u>High-z</u> 0.008 0.004 0.000 0.004 0.008 0.1 0.0 0.1 Fig. 18. Same as Fig. 17 with the SGP fitting. We can see that at low- _z_ it is not necessary to correct for the photometric bias, and spectroscopic correction M1 produces good estimates. At mid- _z_ it is necessary to correct at least for the spectroscopic bias, and ideally for both with M3 or M4. At high- _z_, it is essential to correct both biases. We observe that M3 performs significantly better than M4 for SSM and SGP; indeed, the redshift evolution is better captured in Fig. 15 than in Fig. 16. This difference may be attributed to the fact that smaller slices are more sensitive to systematic effects, as discussed in Sect. 4.6. Overall, M3 performs similarly to the idealistic M5 and is consistently the best bias correction method, exhibiting performance akin to M1 for low- _z_ (though with slightly larger error bars). In conclusion, using M3 for every bin yields unbiased estimates of the mean redshift and standard deviation across all bins, with uncertainties that fall within the requirements for both methods. The values presented in these two figures are reported in Table D.2. _4.9._ _Tomographic bin uncertainties_ We defined the tomographic bins as equi-populated, based on the assumption that the uncertainty scales with the total number of galaxies in each bin. For the 10 spectroscopic samples, we used 1-DESI-BGs, 2-BOSS, 3-DESI-LRGs, 4-DESI-LRGs, 5-DESI Article number, page 20 of 31 SGP (M0) (M1) (M2) (M3) (M4) (M5) Req. LRGs, 6-DESI-ELGs, 7-DESI-ELGs, 8- _Euclid_ -NISP, 9- _Euclid_ NISP, 10- _Euclid_ -NISP. In Fig. 19 we plot in red the uncertainty on the mean redshift σ(⟨ _z_ ⟩) for every tomographic sample, and its standard deviation σ(σ(⟨ _z_ ⟩)), evaluated for the five 1000 deg <sup>2</sup> sky-patches with jackknife covariance, with SSM fitting. Interestingly, we find that the uncertainty is not constant. It remains the same for the first two samples, then decreases across the next six samples, before increasing again for the final ones. We also report for the first two samples, the case of 2500 deg <sup>2</sup> sky patches in dark red, and observe a mean- _z_ uncertainty reduction of 40%. McQuinn & White (2013) predicted that "the linear bias times number of objects in a redshift bin generally can be <u>constrained</u> <u>with</u> cross-correlations to fractional error ≈ �10 <sup>2</sup> _N_ ∆ _z_ (d _N_ s/d _z_ ) <sup>−1</sup> ", where _N_ ∆ _z_ is the number of spectroscopic redshift slices, and _N_ s the number of spectroscopic galaxies. <sup>17</sup> This expression describes how well the redshift distribution can be measured, whereas we are primarily interested in its moments. We assume that, at first order, the scaling should behave similarly, but with a different coefficient, which is complicated to predict because of the complexity of the mean- _z_ fitting procedure. As a consequence, the uncertainty should depend on the 17 We have slightly adjusted the convention to remain consistent with the rest of our article. W. d Assignies et al.: _Euclid_ : Clustering redshifts 0.0020 0.0015 0.0010 0.0005 TB equi-Ngal, 1000 deg <sup>2</sup> TB equi-Ngal, 2500 deg <sup>2</sup> U(z) for 1000 deg <sup>2</sup> U(z) for 2500 deg <sup>2</sup> 0 1 2 3 4 5 6 7 8 9 Tomographic bin Fig. 19. Uncertainties on mean- _z_ with SSM fitting for five sky realisations in red. We also plot the best-fit uncertainty model in blue. number of spectroscopic galaxies, rather than on the volume or the number of photometric galaxies. However, for the low- _z_ bins, the spectroscopic density is sufficiently high, especially with DESI-BG-like sample, that we might enter a cosmic variance (CV) regime. In this case, uncertainties are no longer sampledominated (i.e. the shot noise 1/ _n_ s is subdominant). Thus, we introduce a maximum spectroscopic density to reach the cosmic variance limit _n_ cv, which in principle depends on _z_, but that we assume to be constant. Our uncertainty model is impact of bin definitions on the accuracy of redshift calibration is often overlooked. 5. Application to the ten _Euclid_ tomographic bins In this section, we applied our pipeline to calibrate the ten tomographic bins described in Sect. 2.2. For the spectroscopic samples, following our recommendation (see Sect. 4.3) we only correlated a tomographic bin with one spectroscopic tracer at a time. We used the following tracers for the different bins: 1-DESIBGs, 2-BOSS, 3-DESI-LRGs, 4-DESI-LRGs, 5-DESI-LRGs, 6DESI-ELGs, 7-DESI-ELGs, 8- _Euclid_ -NISP, 9- _Euclid_ -NISP, 10_Euclid_ -NISP. For simplicity, we did not consider the joint constraint of several spectroscopic tracers covering the same bin, which would provide additional information. For each bin, we produced several independent realisations by selecting distinct patches in Flagship 2. For the first two tomographic bins, we generated two 2500 deg <sup>−2</sup> patches, while for the remaining eight bins, we used five 1000 deg <sup>−2</sup> patches. This approach ensures similar uncertainties across bins, as explained in Sect. 4.9. The true tomographic bin distribution, and the clusteringredshifts measurements are reported in Fig. 20. The measurements are visually indistinguishable from the truth. To quantify how good they are, we show the (optimistic) SSM calibration of the mean- _z_ and standard deviations in Fig. 21. The results with the conservative SGP calibration are shown in Fig. 22. For comparison, we also plot the previous results of Naidoo et al. (2023) for the mean redshift (with Flagship1 samples). Our results using the SSM method are fully successful; for every bin and patch realisation, we meet the _Euclid_ requirements for the mean redshift and shape, unlike prior results. However, as expected, the "conservative" SGP method yields larger uncertainties and deviations. In particular, for some bins (especially bins 1, 3, and 7), we observe slightly larger deviations and uncertainties than allowed by the mean redshift requirement. We tested the effect of increasing the patch sizes by a factor of two and found that the mean- _z_ bias was reduced on average by 40%, which was sufficient to meet the requirement for all bins. Part of the improvement to Naidoo et al. (2023) is due to the use of a larger cosmic volume with Flagship2 instead of Flagship1. Nevertheless, with our pipeline we also got significantly lower mean redshift biases than Naidoo et al. (2023). The main differences between our pipeline and the previous one are our estimator (cf. Sect. 4.2), the scale range (cf. Sect. 4.4), the measurements being evaluated for each spectroscopic tracer (cf. Sect. 4.3), the bias correction method (cf. Sect. 4.8), and some improvement in the implementation of SSM and SGP (cf. Sect. 3.5 ). We note that we did include the effect of magnification contrary to Naidoo et al. (2023). In conclusion, we predict that clustering-redshifts will be able to satisfy the _Euclid_ requirements. 6. Conclusion We optimised and evaluated the performance of the clusteringredshifts method for calibrating the redshift distributions of _Eu-_ _clid_ tomographic bins. Using the Flagship2 simulation, we generated realistic spectroscopic and photometric mock samples based on BOSS, DESI, and _Euclid_ . The photometric sample was divided into ten equally populated tomographic bins, with a maximum photo- _z_ of 1.6. We used up to five 1000 deg <sup>2</sup> patches to fully exploit the volume of the simulation. Article number, page 21 of 31 _U_ ( _z_ ) = _A_ _<u>N</u>_ <u>∆</u> _<u>z</u>_ _V_ TB min ( _n_ spec, _n_ cv) <sup>,</sup> (91) where _A_ is a constant independent of the tomographic bin, and _V_ TB is the volume of the tomographic bin. The equation above also indicates that the uncertainty scales with the inverse of the square root of the tomographic volume. This explains why in Fig.8 of Naidoo et al. (2023), the uncertainty scales as a power law of the survey area _A_ <sup>γ</sup>, and the best-fit power law is close to γ = −1/2. We constrained the _A_ and _n_ cv coefficients with the set of tomographic bin measurements using a χ <sup>2</sup> procedure, and report in Fig. 19 the best-fit model in blue for 1000 and 2500 deg <sup>2</sup> . We observe a good agreement, particularly given that we neglected complications arising from galaxy biases and the mean-redshift fitting procedure. The uncertainty is largest for the low- _z_ tomographic bins where the survey volume is much smaller and precision is limited by the CV regime. For the high- _z_ samples, the uncertainty increases due to the reduced density of spectra, which is not sufficiently offset by the larger volume. The best-fit _n_ cv roughly corresponds to the DESI-BGS density divided by a factor of four (and the BOSS density by a factor of 1.8), and it only plays a role for the first two bins. As a result, to achieve consistent uncertainty across bins with clustering- _z_, the tomographic bin definition would need to be adjusted according to an uncertainty model like Eq. (91). However, the tomographic bin definition is primarily influenced by cosmological constraining power (e.g. Euclid Collaboration: Pocino et al. 2021), and our results alone do not provide sufficient grounds to recommend a change in binning strategy. However, the precision of the mean redshift is one of the key limiting factors in cosmic shear analyses (see, e.g., Reischke 2024), and the 8 6 4 2 0 8 6 4 2 0 _A&A proofs:_ manuscript no. aa55551 25 True distribution in FS2 Clustering-z in FS2 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 0.2 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.8 Redshift z Fig. 20. True-redshift distribution of the simulated Flagship2 ten tomographic bins with _z_ p < 1.6 (solid lines) and their clustering-redshifts measurements with our pipeline, including all systematics and realistic bias correction M3. The first two bin measurements are realised with 2500 deg <sup>2</sup> sky patches, and the other eight are realised with 1000 deg <sup>2</sup> sky patches. The dark and light error bars indicate 68.3% and 95.5% uncertainties, but are barely visible by eye. 0.020 0.015 0.010 0.005 0.000 0.005 SSM Euclid requirement Previous work with SSM and FS1 Our pipeline with SSM and FS2 0.010 0.015 0.020 1 2 3 4 5 6 7 8 9 10 0.15 0.10 0.05 0.00 0.05 0.10 0.15 SSM Requirement Our pipeline with SSM and FS2 1 2 3 4 5 6 7 8 9 10 Tomographic bin ID Fig. 21. Deviations in the mean redshift ( _top_ ) and the redshift standard deviation ( _bottom_ ) for the ten Flagship2 tomographic bins relative to the true-redshift distributions using the SSM method. The deviations are shown for each bin and sky patch. We consider patches of 2500 deg <sup>2</sup> for the first two bins, and 1000 deg <sup>2</sup> for the others. The _Euclid_ requirements on the uncertainty are highlighted by the shaded area centred around zero. The uncertainties are consistent across all the bins for the mean redshift and we achieve a clear improvement from previous work shown in red. For the redshift standard deviations, the uncertainties are slightly underestimated, but this is within an acceptable range given the requirements. We measured the angular auto- and cross-correlations of these samples under various methodological choices and investigated alternative approximations to model the clustering. From these clustering measurements, we calibrated the redshift distributions via two distinct methods. One method in Article number, page 22 of 31 volved fitting the data points using a model _n_ ( _z_ | _p_ 1, . . . ) with free parameters. In practice, a complementary calibration, such as the self-organising map can be used to define the model (e.g., Hildebrandt et al. 2021; Gatti et al. 2022). The other method relies on Gaussian processes to directly fit the data without assuming a W. d Assignies et al.: _Euclid_ : Clustering redshifts 0.020 0.015 0.010 0.005 0.000 0.005 SGP Euclid requirement Previous work with SGP and FS1 Our pipeline with SGP and FS2 0.010 0.015 0.020 1 2 3 4 5 6 7 8 9 10 0.15 0.10 0.05 0.00 0.05 0.10 0.15 SGP Requirement SGP with our pipeline and FS2 1 2 3 4 5 6 7 8 9 10 Tomographic bin ID Fig. 22. Deviations in the mean redshift ( _top_ ) and the redshift standard deviation ( _bottom_ ) using the SGP method for the same bin configuration as in Fig. 21. The _Euclid_ requirements on the uncertainty are highlighted by the shaded area centred around zero. For some bins (particularly bins 1, 3, and 7), we observe slightly larger deviations and uncertainties than permitted on the mean redshift. However, a clear improvement compared to previous work (shown in red) is still evident. The redshift standard deviations are unbiased and fall within the required range (shaded sandy area). specific model. With the latter, the SOM and clustering-redshifts calibrations can both be run independently, or be combined as in the case of DES (Myles et al. 2021; Gatti et al. 2022). In Sect. 4 we investigated and concluded the following about the clustering-redshifts technique and angular clustering. – In Sect. 4.2 we argued that the integrated pair-count estima tor _w_ <sup>(1)</sup> is a better choice than _w_ <sup>(2)</sup> for measuring the integrated clustering (i.e. integrating the ratio DD/RR instead of taking the ratio of the integrated DD and RR). – In Sect. 4.3 we explained a potential issue with very small scales that arises from the one-halo properties of the clustering. We concluded that scales should always be larger than 1.5 Mpc to limit this problem. We also recommended separating the clustering-redshifts measurements for the different spectroscopic tracers. – In Sects. 4.4 and 4.5, we ran an optimisation of the scale range choice and weighting. With the Flagship simulation, we achieved a good compromise with 1.5 < _r_ p < 5 Mpc with an inverse scale weighting. – In Sect. 4.6 we showed that the optimal spectroscopic slicing given our tomographic bins and the different systematics was ∆ _z_ ≈ 0.05. – In Sect. 4.7 we showed that approximating - d _z n_ <sup>2</sup> ( _z_ ) · · · (Limber-full- _z_ ) with some _n_ <sup>2</sup> ( _zi_ ) - d _z_ - · · expressions (Limber-1-bin) is the main systematic effect and that magnification has some limited impact on the _n_ p( _z_ ) inference. – In Sect. 4.8 we compared different bias corrections and intro duced a way to measure the photometric galaxy bias by splitting the TB into smaller bins and interpolating these effective biases over redshift (i.e. M3). The results of this method were comparable to the ideal case M5, in which photometric bias is measured using true redshifts. It should be used as the fiducial correction scheme. – Finally, we investigated in Sect. 4.9 the dependence of the mean- _z_ error bars on the clustering-redshifts parameters, and confirmed that they are mainly driven by the number of spectroscopic galaxies that is available in the footprint. In Sect. 5 we applied the optimised pipeline to calibrate the _Euclid_ simulated tomographic bins. The calibration performance using the SSM model met or exceeded the required accuracy, while the SGP method yielded comparable results, but they were slightly below the requirements in certain cases. It is important to note that these results were derived from limited sky patches with correction methods that can still be improved in future work. These results represent a significant improvement over the previous _Euclid_ clustering-redshifts study (Naidoo et al. 2023) overall and demonstrated that the clustering-redshifts technique is robust. Additionally, as discussed in Sect. 2, we assumed that the H α sample had a purity of 100%. In reality, however, when we bin the sample into small redshift intervals, we expect that some of these galaxies may be interlopers, that is, they might be located at different redshifts due to noise or a misidentification of a spectral lines. This situation might significantly impact clustering-redshifts measurements because photometric galaxies at a similar redshifts as the interlopers would contribute to the clustering signal, which would bias the inferred _n_ ( _z_ ). It is therefore crucial to determine the fraction of these interlopers and their redshift distribution to correct for this effect. The clustering-redshifts technique can indeed be used to constrain the properties of interlopers by cross-correlating the NISP sample with other spectroscopic data or with photometric data with priors on their _n_ ( _z_ ). Article number, page 23 of 31 _A&A proofs:_ manuscript no. aa55551 25 As already mentioned in Sect. 4.3, the galaxy-halo connection implemented in the Flagship simulation might not be accurate, and our statistical estimator might be optimistic. It might therefore still be beneficial to use larger scales even though they are not statistically optimal. These larger scales will be used for the 3 × 2 analysis, which necessitates the generation of a more complex covariance to accurately propagate the correlation with the calibration (e.g. the work of Johnston et al. 2025). Although this approach is more complicated, the advantage is that the distribution would be free of small-scale potential bias, which may prove worthwhile. Finally, we restricted the calibration to galaxies with a maximum photo- _z_ of 1.6 because we lack dense spectroscopic samples above redshift 1.8, which sets a strict upper limit. Clustering- _z_ for HSC, KIDS, and DES was even more limited than _Euclid_, with a maximum redshift of _z_ ∼ 1. In the far future numerous spectroscopic samples from Lyman-break galaxies are expected to be observed by spectroscopic experiments such as DESI-II, MUST, and WST (if funded). In a much shorter time frame, QSOs might be used one could utilise QSOs to cover the redshift range 1.5 < _z_ < 3. These constraints alone would most likely not fulfil the _Euclid_ requirements because QSOs have a low-density, however, but they would still provide valuable information. _Acknowledgements._ The authors thank Alex Alarcon, Carles Sánchez, Elisa Chisari, and Santi Ávila for enlightening discussions, as well as Krishna Naidoo for his help, code, and results sharing. The authors also acknowledge Mathias Urbano for his code support. This work was supported by the MICINN projects PID2019-111317GB-C32, PID2021-123012NB-C41, PID2022-141079NB-C32, CNS2023-144328 (Carteu) as well as predoctoral program AGAUR-FI ajuts (2024 FI-1 00692) Joan Oró. IFAE is partially funded by the CERCA program of the Generalitat de Catalunya. This work has made use of CosmoHub, developed by PIC (maintained by IFAE and CIEMAT) in collaboration with ICE-CSIC. It received funding from the Spanish government (grant EQC2021-007479-P funded by MCIN/AEI/10.13039/501100011033), the EU NextGeneration/PRTR (PRTR-C17.I1), and the Generalitat de Catalunya. The Euclid Consortium acknowledges the European Space Agency and a number of agencies and institutes that have supported the development of _Euclid_, in particular the Agenzia Spaziale Italiana, the Austrian Forschungsförderungsgesellschaft funded through BMIMI, the Belgian Science Policy, the Canadian Euclid Consortium, the Deutsches Zentrum für Luft- und Raumfahrt, the DTU Space and the Niels Bohr Institute in Denmark, the French Centre National d’Etudes Spatiales, the Fundação para a Ciência e a Tecnologia, the Hungarian Academy of Sciences, the Ministerio de Ciencia, Innovación y Universidades, the National Aeronautics and Space Administration, the National Astronomical Observatory of Japan, the Netherlandse Onderzoekschool Voor Astronomie, the Norwegian Space Agency, the Research Council of Finland, the Romanian Space Agency, the State Secretariat for Education, Research, and Innovation (SERI) at the Swiss Space Office (SSO), and the United Kingdom Space Agency. A complete and detailed list is available on the _Euclid_ web site ( `www.euclid-ec.org` ). References Adame, A. G., Aguilar, J., Ahlen, S., et al. 2024, AJ, 167, 62 Addison, G. E., Bennett, C. L., Jeong, D., Komatsu, E., & Weiland, J. L. 2019, ApJ, 879, 15 Ambikasaran, S., Foreman-Mackey, D., Greengard, L., Hogg, D. W., & O’Neil, M. 2015, IEEE Transactions on Pattern Analysis and Machine Intelligence, 38, 252 Baleato Lizancos, A. & White, M. 2023, JCAP, 07, 044 Behroozi, P. S., Wechsler, R. H., & Wu, H.-Y. 2013, ApJ, 762, 109 Blas, D., Lesgourgues, J., & Tram, T. 2011, JCAP, 07, 034 Bordoloi, R., Lilly, S. J., & Amara, A. 2010, MNRAS, 406, 881 Campos, A., Yin, B., Dodelson, S., et al. 2024, arXiv:2408.00922 Carretero, J., Tallada, P., Casals, J., et al. 2017, in Proceedings of the European Physical Society Conference on High Energy Physics. 5-12 July, 488 Cawthon, R., Elvin-Poole, J., Porredon, A., et al. 2022, MNRAS, 513, 5517 Chaves-Montero, J., Angulo, R. E., & Contreras, S. 2023, MNRAS, 521, 937 Chisari, N. E., Alonso, D., Krause, E., et al. 2019, ApJS, 242, 2 Contarini, S., Verza, G., Pisani, A., et al. 2022, A&A, 667, A162 Article number, page 24 of 31 d’Assignies, W., Bernstein, G. M., Yin, B., et al. 2025, arXiv e-prints, arXiv:2510.23565 Davis, C., Rozo, E., Roodman, A., et al. 2018, MNRAS, 477, 2196 Davis, M. & Peebles, P. J. E. 1983, ApJ, 267, 465 Dawson, K. S., Schlegel, D. J., Ahn, C. P., et al. 2013, AJ, 145, 10 DESI Collaboration, Aghamousa, A., Aguilar, J., et al. 2016, arXiv:1611.00037 Elvin-Poole, J., MacCrann, N., Everett, S., et al. 2023, MNRAS, 523, 3649 Eriksen, M., Alarcon, A., Cabayol, L., et al. 2020, MNRAS, 497, 4565 Euclid Collaboration: Blanchard, A., Camera, S., Carbone, C., et al. 2020, A&A, 642, A191 Euclid Collaboration: Castander, F., Fosalba, P., Stadel, J., et al. 2025, A&A, 697, A5 Euclid Collaboration: Cropper, M., Al-Bahlawan, A., Amiaux, J., et al. 2025, A&A, 697, A2 Euclid Collaboration: Desprez, G., Paltani, S., Coupon, J., et al. 2020, A&A, 644, A31 Euclid Collaboration: Ilbert, O., de la Torre, S., Martinet, N., et al. 2021, A&A, 647, A117 Euclid Collaboration: Jahnke, K., Gillard, W., Schirmer, M., et al. 2025, A&A, 697, A3 Euclid Collaboration: Le Brun, V., Bethermin, M., Moresco, M., et al. 2025, A&A, submitted, arXiv:2503.15308 Euclid Collaboration: Mellier, Y., Abdurro’uf, Acevedo Barroso, J., et al. 2025, A&A, 697, A1 Euclid Collaboration: Pocino, A., Tutusaus, I., Castander, F. J., et al. 2021, A&A, 655, A44 Euclid Collaboration: Risso, I., Veropalumbo, A., Branchini, E., et al. 2025, A&A, submitted, arXiv:2505.04688 Foreman-Mackey, D., Hogg, D. W., Lang, D., & Goodman, J. 2013, PASP, 125, 306 Gao, H., Jing, Y. P., Xu, K., et al. 2024, ApJ, 961, 74 Gatti, M., Giannini, G., Bernstein, G. M., et al. 2022, MNRAS, 510, 1223 Gatti, M., Vielzeuf, P., Davis, C., et al. 2018, MNRAS, 477, 1664 Giannini, G., Alarcon, A., Gatti, M., et al. 2024, MNRAS, 527, 2010 Gwyn, S., McConnachie, A. W., Cuillandre, J.-C., et al. 2025, arXiv e-prints, arXiv:2503.13783 Hartlap, J., Simon, P., & Schneider, P. 2007, A&A, 464, 399 Hartley, W. G., Chang, C., Samani, S., et al. 2020, MNRAS, 496, 4769 Hildebrandt, H. 2016, MNRAS, 455, 3943 Hildebrandt, H., van den Busch, J. L., Wright, A. H., et al. 2021, A&A, 647, A124 Huterer, D., Takada, M., Bernstein, G., & Jain, B. 2006, MNRAS, 366, 101 Jarvis, M. 2015, TreeCorr: Two-point correlation functions, Astrophysics Source Code Library, record ascl:1508.007 Johnson, A., Blake, C., Amon, A., et al. 2017, MNRAS, 465, 4118 Johnston, H., Elisa Chisari, N., Joudaki, S., et al. 2025, A&A, 699, A127 Krause, E., Fang, X., Pandey, S., et al. 2021, arXiv:2105.13548 Landy, S. D. & Szalay, A. S. 1993, ApJ, 412, 64 Laureijs, R., Amiaux, J., Arduini, S., et al. 2011, ESA/SRE(2011)12, arXiv:1110.3193 Lepori, F., Schulz, S., Tutusaus, I., et al. 2025, A&A, 694, A321 LSST Science Collaboration, Abell, P. A., Allison, J., et al. 2009, arXiv:0912.0201 McQuinn, M. & White, M. 2013, MNRAS, 433, 2857 Ménard, B., Scranton, R., Schmidt, S., et al. 2013, arXiv:1303.4722 Morrison, C. B., Hildebrandt, H., Schmidt, S. J., et al. 2017, MNRAS, 467, 3576 Myles, J., Alarcon, A., Amon, A., et al. 2021, MNRAS, 505, 4249 Naidoo, K., Johnston, H., Joachimi, B., et al. 2023, A&A, 670, A149 Newman, J. A. 2008, ApJ, 684, 88 Nicola, A., Hadzhiyska, B., Findlay, N., et al. 2024, JCAP, 02, 015 Palanque-Delabrouille, N., Magneville, C., Yèche, C., et al. 2016, A&A, 587, A41 Pandey, S., Krause, E., Jain, B., et al. 2020, Phys. Rev. D, 102, 123522 Pandey, S., Sánchez, C., Jain, B., & LSST Dark Energy Science Collaboration. 2025, Phys. Rev. D, 111, 023527 Percival, W. J., Friedrich, O., Sellentin, E., & Heavens, A. 2022, MNRAS, 510, 3207 Rau, M. M., Dalal, R., Zhang, T., et al. 2023, MNRAS, 524, 5109 Reischke, R. 2024, MNRAS, 530, 4412 Rocher, A., Ruhlmann-Kleider, V., Burtin, E., et al. 2023, JCAP, 10, 016 Roster, W., Wright, A. H., Hildebrandt, H., et al. 2025, A&A, submitted, arXiv:2508.02779 Salvato, M., Ilbert, O., & Hoyle, B. 2019, Nature Astronomy, 3, 212 Schmidt, S. J., Ménard, B., Scranton, R., Morrison, C., & McBride, C. K. 2013, MNRAS, 431, 3307 Scottez, V., Benoit-Lévy, A., Coupon, J., Ilbert, O., & Mellier, Y. 2018, MNRAS, 474, 3921 Simon, P. 2007, A&A, 473, 711 Stölzner, B., Joachimi, B., Korn, A., Hildebrandt, H., & Wright, A. H. 2021, A&A, 650, A148 W. d Assignies et al.: _Euclid_ : Clustering redshifts Swanson, M. E. C., Tegmark, M., Blanton, M., & Zehavi, I. 2008, MNRAS, 385, 1635 Takahashi, R., Sato, M., Nishimichi, T., Taruya, A., & Oguri, M. 2012, ApJ, 761, 152 Tallada, P., Carretero, J., Casals, J., et al. 2020, Astronomy and Computing, 32, 100391 Tanaka, M., Coupon, J., Hsieh, B.-C., et al. 2018, PASJ, 70, S9 van den Busch, J. L., Hildebrandt, H., Wright, A. H., et al. 2020, A&A, 642, A200 Verdier, A., Rocher, A., Bandi, B., et al. 2025, arXiv:2508.07311 Wright, A. H., Hildebrandt, H., van den Busch, J. L., et al. 2025, arXiv:2503.19440 Wright, A. H., Hildebrandt, H., van den Busch, J. L., & Heymans, C. 2020a, A&A, 637, A100 Wright, A. H., Hildebrandt, H., van den Busch, J. L., et al. 2020b, A&A, 640, L14 Yèche, C., Palanque-Delabrouille, N., Claveau, C.-A., et al. 2020, Research Notes of the American Astronomical Society, 4, 179 Yuan, S., Wechsler, R. H., Wang, Y., et al. 2025, MNRAS, 538, 1216 1 Institut de Física d’Altes Energies (IFAE), The Barcelona Institute of Science and Technology, Campus UAB, 08193 Bellaterra (Barcelona), Spain 2 Serra Húnter Fellow, Departament de Física, Universitat Autònoma de Barcelona, E-08193 Bellaterra, Spain 3 Aix-Marseille Université, CNRS, CNES, LAM, Marseille, France 4 Ruhr University Bochum, Faculty of Physics and Astronomy, Astronomical Institute (AIRUB), German Centre for Cosmological Lensing (GCCL), 44780 Bochum, Germany 5 Departament de Física, Universitat Autònoma de Barcelona, 08193 Bellaterra (Barcelona), Spain 6 Centro de Investigaciones Energéticas, Medioambientales y Tecnológicas (CIEMAT), Avenida Complutense 40, 28040 Madrid, Spain 7 Port d’Informació Científica, Campus UAB, C. Albareda s/n, 08193 Bellaterra (Barcelona), Spain 8 Max Planck Institute for Extraterrestrial Physics, Giessenbachstr. 1, 85748 Garching, Germany 9 Department of Astronomy, University of Geneva, ch. d’Ecogia 16, 1290 Versoix, Switzerland 10 Institute of Cosmology and Gravitation, University of Portsmouth, Portsmouth PO1 3FX, UK 11 Institució Catalana de Recerca i Estudis Avançats (ICREA), Passeig de Lluís Companys 23, 08010 Barcelona, Spain 12 ESAC/ESA, Camino Bajo del Castillo, s/n., Urb. Villafranca del Castillo, 28692 Villanueva de la Cañada, Madrid, Spain 13 School of Mathematics and Physics, University of Surrey, Guildford, Surrey, GU2 7XH, UK 14 INAF-Osservatorio Astronomico di Brera, Via Brera 28, 20122 Milano, Italy 15 INAF-Osservatorio di Astrofisica e Scienza dello Spazio di Bologna, Via Piero Gobetti 93/3, 40129 Bologna, Italy 16 IFPU, Institute for Fundamental Physics of the Universe, via Beirut 2, 34151 Trieste, Italy 17 INAF-Osservatorio Astronomico di Trieste, Via G. B. Tiepolo 11, 34143 Trieste, Italy 18 INFN, Sezione di Trieste, Via Valerio 2, 34127 Trieste TS, Italy 19 SISSA, International School for Advanced Studies, Via Bonomea 265, 34136 Trieste TS, Italy 20 Centre National d’Etudes Spatiales - Centre spatial de Toulouse, 18 avenue Edouard Belin, 31401 Toulouse Cedex 9, France 21 Dipartimento di Fisica e Astronomia, Università di Bologna, Via Gobetti 93/2, 40129 Bologna, Italy 22 INFN-Sezione di Bologna, Viale Berti Pichat 6/2, 40127 Bologna, Italy 23 INAF-Osservatorio Astronomico di Padova, Via dell’Osservatorio 5, 35122 Padova, Italy 24 Dipartimento di Fisica, Università di Genova, Via Dodecaneso 33, 16146, Genova, Italy 25 INFN-Sezione di Genova, Via Dodecaneso 33, 16146, Genova, Italy 26 Department of Physics "E. Pancini", University Federico II, Via Cinthia 6, 80126, Napoli, Italy 27 INAF-Osservatorio Astronomico di Capodimonte, Via Moiariello 16, 80131 Napoli, Italy 28 Dipartimento di Fisica, Università degli Studi di Torino, Via P. Giuria 1, 10125 Torino, Italy 29 INFN-Sezione di Torino, Via P. Giuria 1, 10125 Torino, Italy 30 INAF-Osservatorio Astrofisico di Torino, Via Osservatorio 20, 10025 Pino Torinese (TO), Italy 31 INAF-IASF Milano, Via Alfonso Corti 12, 20133 Milano, Italy 32 INAF-Osservatorio Astronomico di Roma, Via Frascati 33, 00078 Monteporzio Catone, Italy 33 INFN-Sezione di Roma, Piazzale Aldo Moro, 2 - c/o Dipartimento di Fisica, Edificio G. Marconi, 00185 Roma, Italy 34 Institute for Theoretical Particle Physics and Cosmology (TTK), RWTH Aachen University, 52056 Aachen, Germany 35 Institute of Space Sciences (ICE, CSIC), Campus UAB, Carrer de Can Magrans, s/n, 08193 Barcelona, Spain 36 Institut d’Estudis Espacials de Catalunya (IEEC), Edifici RDIT, Campus UPC, 08860 Castelldefels, Barcelona, Spain 37 INFN section of Naples, Via Cinthia 6, 80126, Napoli, Italy 38 Institute for Astronomy, University of Hawaii, 2680 Woodlawn Drive, Honolulu, HI 96822, USA 39 Dipartimento di Fisica e Astronomia "Augusto Righi" - Alma Mater Studiorum Università di Bologna, Viale Berti Pichat 6/2, 40127 Bologna, Italy 40 Instituto de Astrofísica de Canarias, Vía Láctea, 38205 La Laguna, Tenerife, Spain 41 Institute for Astronomy, University of Edinburgh, Royal Observatory, Blackford Hill, Edinburgh EH9 3HJ, UK 42 Jodrell Bank Centre for Astrophysics, Department of Physics and Astronomy, University of Manchester, Oxford Road, Manchester M13 9PL, UK 43 European Space Agency/ESRIN, Largo Galileo Galilei 1, 00044 Frascati, Roma, Italy 44 Université Claude Bernard Lyon 1, CNRS/IN2P3, IP2I Lyon, UMR 5822, Villeurbanne, F-69100, France 45 Institut de Ciències del Cosmos (ICCUB), Universitat de Barcelona (IEEC-UB), Martí i Franquès 1, 08028 Barcelona, Spain 46 UCB Lyon 1, CNRS/IN2P3, IUF, IP2I Lyon, 4 rue Enrico Fermi, 69622 Villeurbanne, France 47 Departamento de Física, Faculdade de Ciências, Universidade de Lisboa, Edifício C8, Campo Grande, PT1749-016 Lisboa, Portugal 48 Instituto de Astrofísica e Ciências do Espaço, Faculdade de Ciências, Universidade de Lisboa, Campo Grande, 1749-016 Lisboa, Portugal 49 Université Paris-Saclay, CNRS, Institut d’astrophysique spatiale, 91405, Orsay, France 50 Aix-Marseille Université, CNRS/IN2P3, CPPM, Marseille, France 51 INAF-Istituto di Astrofisica e Planetologia Spaziali, via del Fosso del Cavaliere, 100, 00100 Roma, Italy 52 Space Science Data Center, Italian Space Agency, via del Politecnico snc, 00133 Roma, Italy 53 INFN-Bologna, Via Irnerio 46, 40126 Bologna, Italy 54 School of Physics, HH Wills Physics Laboratory, University of Bristol, Tyndall Avenue, Bristol, BS8 1TL, UK 55 Universitäts-Sternwarte München, Fakultät für Physik, LudwigMaximilians-Universität München, Scheinerstrasse 1, 81679 München, Germany 56 FRACTAL S.L.N.E., calle Tulipán 2, Portal 13 1A, 28231, Las Rozas de Madrid, Spain 57 Jet Propulsion Laboratory, California Institute of Technology, 4800 Oak Grove Drive, Pasadena, CA, 91109, USA 58 Department of Physics, Lancaster University, Lancaster, LA1 4YB, UK 59 Technical University of Denmark, Elektrovej 327, 2800 Kgs. Lyngby, Denmark 60 Cosmic Dawn Center (DAWN), Denmark 61 Max-Planck-Institut für Astronomie, Königstuhl 17, 69117 Heidelberg, Germany Article number, page 25 of 31 _A&A proofs:_ manuscript no. aa55551 25 62 NASA Goddard Space Flight Center, Greenbelt, MD 20771, USA 63 Department of Physics and Astronomy, University College London, Gower Street, London WC1E 6BT, UK 64 Department of Physics and Helsinki Institute of Physics, Gustaf Hällströmin katu 2, 00014 University of Helsinki, Finland 65 Université de Genève, Département de Physique Théorique and Centre for Astroparticle Physics, 24 quai Ernest-Ansermet, CH1211 Genève 4, Switzerland 66 Department of Physics, P.O. Box 64, 00014 University of Helsinki, Finland 67 Helsinki Institute of Physics, Gustaf Hällströmin katu 2, University of Helsinki, Helsinki, Finland 68 Laboratoire d’etude de l’Univers et des phenomenes eXtremes, Observatoire de Paris, Université PSL, Sorbonne Université, CNRS, 92190 Meudon, France 69 Institute of Theoretical Astrophysics, University of Oslo, P.O. Box 1029 Blindern, 0315 Oslo, Norway 70 SKA Observatory, Jodrell Bank, Lower Withington, Macclesfield, Cheshire SK11 9FT, UK 71 Centre de Calcul de l’IN2P3/CNRS, 21 avenue Pierre de Coubertin 69627 Villeurbanne Cedex, France 72 Dipartimento di Fisica "Aldo Pontremoli", Università degli Studi di Milano, Via Celoria 16, 20133 Milano, Italy 73 INFN-Sezione di Milano, Via Celoria 16, 20133 Milano, Italy 74 University of Applied Sciences and Arts of Northwestern Switzerland, School of Computer Science, 5210 Windisch, Switzerland 75 Universität Bonn, Argelander-Institut für Astronomie, Auf dem Hügel 71, 53121 Bonn, Germany 76 Dipartimento di Fisica e Astronomia "Augusto Righi" - Alma Mater Studiorum Università di Bologna, via Piero Gobetti 93/2, 40129 Bologna, Italy 77 Department of Physics, Institute for Computational Cosmology, Durham University, South Road, Durham, DH1 3LE, UK 78 Infrared Processing and Analysis Center, California Institute of Technology, Pasadena, CA 91125, USA 79 Université Paris Cité, CNRS, Astroparticule et Cosmologie, 75013 Paris, France 80 CNRS-UCB International Research Laboratory, Centre Pierre Binétruy, IRL2007, CPB-IN2P3, Berkeley, USA 81 University of Applied Sciences and Arts of Northwestern Switzerland, School of Engineering, 5210 Windisch, Switzerland 82 Institut d’Astrophysique de Paris, 98bis Boulevard Arago, 75014, Paris, France 83 Institut d’Astrophysique de Paris, UMR 7095, CNRS, and Sorbonne Université, 98 bis boulevard Arago, 75014 Paris, France 84 Institute of Physics, Laboratory of Astrophysics, Ecole Polytechnique Fédérale de Lausanne (EPFL), Observatoire de Sauverny, 1290 Versoix, Switzerland 85 Telespazio UK S.L. for European Space Agency (ESA), Camino bajo del Castillo, s/n, Urbanizacion Villafranca del Castillo, Villanueva de la Cañada, 28692 Madrid, Spain 86 European Space Agency/ESTEC, Keplerlaan 1, 2201 AZ Noordwijk, The Netherlands 87 DARK, Niels Bohr Institute, University of Copenhagen, Jagtvej 155, 2200 Copenhagen, Denmark 88 Université Paris-Saclay, Université Paris Cité, CEA, CNRS, AIM, 91191, Gif-sur-Yvette, France 89 Institute of Space Science, Str. Atomistilor, nr. 409 M˘agurele, Ilfov, 077125, Romania 90 Consejo Superior de Investigaciones Cientificas, Calle Serrano 117, 28006 Madrid, Spain 91 Universidad de La Laguna, Departamento de Astrofísica, 38206 La Laguna, Tenerife, Spain 92 Dipartimento di Fisica e Astronomia "G. Galilei", Università di Padova, Via Marzolo 8, 35131 Padova, Italy 93 INFN-Padova, Via Marzolo 8, 35131 Padova, Italy 94 Institut für Theoretische Physik, University of Heidelberg, Philosophenweg 16, 69120 Heidelberg, Germany Article number, page 26 of 31 95 Institut de Recherche en Astrophysique et Planétologie (IRAP), Université de Toulouse, CNRS, UPS, CNES, 14 Av. Edouard Belin, 31400 Toulouse, France 96 Université St Joseph; Faculty of Sciences, Beirut, Lebanon 97 Departamento de Física, FCFM, Universidad de Chile, Blanco Encalada 2008, Santiago, Chile 98 Universität Innsbruck, Institut für Astro- und Teilchenphysik, Technikerstr. 25/8, 6020 Innsbruck, Austria 99 Satlantis, University Science Park, Sede Bld 48940, Leioa-Bilbao, Spain 100 Department of Physics, Royal Holloway, University of London, TW20 0EX, UK 101 Instituto de Astrofísica e Ciências do Espaço, Faculdade de Ciências, Universidade de Lisboa, Tapada da Ajuda, 1349-018 Lisboa, Portugal 102 Cosmic Dawn Center (DAWN) 103 Niels Bohr Institute, University of Copenhagen, Jagtvej 128, 2200 Copenhagen, Denmark 104 Universidad Politécnica de Cartagena, Departamento de Electrónica y Tecnología de Computadoras, Plaza del Hospital 1, 30202 Cartagena, Spain 105 Centre for Information Technology, University of Groningen, P.O. Box 11044, 9700 CA Groningen, The Netherlands 106 Kapteyn Astronomical Institute, University of Groningen, PO Box 800, 9700 AV Groningen, The Netherlands 107 INAF, Istituto di Radioastronomia, Via Piero Gobetti 101, 40129 Bologna, Italy 108 Department of Physics, Oxford University, Keble Road, Oxford OX1 3RH, UK 109 Aurora Technology for European Space Agency (ESA), Camino bajo del Castillo, s/n, Urbanizacion Villafranca del Castillo, Villanueva de la Cañada, 28692 Madrid, Spain 110 INAF-Osservatorio Astronomico di Brera, Via Brera 28, 20122 Milano, Italy, and INFN-Sezione di Genova, Via Dodecaneso 33, 16146, Genova, Italy 111 ICL, Junia, Université Catholique de Lille, LITL, 59000 Lille, France 112 ICSC - Centro Nazionale di Ricerca in High Performance Computing, Big Data e Quantum Computing, Via Magnanelli 2, Bologna, Italy W. d Assignies et al.: _Euclid_ : Clustering redshifts Appendix A: Higher-order development of the galaxy bias We introduced a first-order bias expansion in Sect. 3.1.3 δ _x_ = _b_ <sup>(1)</sup> _x_ <sup>δm</sup> <sup>+</sup> <sup>O(δm) .</sup> (A.1) The two-point correlation between two samples _a_ and _b_ localised at the same redshift is ξ _ab_ (θ) := ⟨δ _a_ δ _b_ ⟩θ = _ba bb_ ⟨δmδm⟩θ + O(⟨δmδm⟩) . (A.2) We are using the ratio of correlations to infer _n_ ( _z_ ), as it is equal to unity at main order (cf. Sect. 3.3), <u>ξ</u> _<u>ab</u>_ <u>(θ)</u> <u>�ξ</u> _aa_ (θ) ξ _bb_ (θ) = 1 + O(1) . (A.3) In this appendix we investigate the impact of second-order terms in the bias expansion on the ratio Eq. (A.3). We can express the galaxy overdensity δg perturbatively up to second-order with δg = _b_ <sup>(1)</sup> g <sup>δ</sup> m <sup>+</sup> δg = _b_ <sup>(1)</sup> g _j_ _b_ <sup>(2)</sup> _j_, g <sup>O</sup> <sup>_j_</sup> <sup>+</sup> <sup>O</sup> _b_ <sup>(2)</sup> _j_, g �� _j_ <sup>O</sup> _j_ -, (A.4) where O _j_ are a set of second-order fields, with ⟨O _j_ ⟩ = 0. We note that we do not consider the stochastic contribution, as we are working with real-space correlations. For example, in Pandey et al. (2020) and Nicola et al. (2024) they used _j_ <sup>(2)</sup> _j_, g <sup>O</sup> <sup>_j_</sup> <sup>=</sup> <sup>_b_</sup> g <sup>(2)</sup> 2 <sup>_s_</sup> <sup>g</sup> (A.5) 2 <sup>(</sup> <sup>_s_</sup> <sup>2 −⟨</sup> <sup>_s_</sup> <sup>2⟩) +</sup> <sup>_d_</sup> <sup>g ∇2δm,</sup> _b_ <sup>(2)</sup> _j_, g g <sup>(2)</sup> m <sup>−⟨δ2</sup> m 2 <sup>(δ2</sup> <sup>2</sup> m <sup>⟩) +</sup> <sup>_s_</sup> <sup>g</sup> 2 where _b_ <sup>(2)</sup> g is the quadratic bias, _s_ g is the tidal bias, _s_ <sup>2</sup> is the trace squared of the tidal tensor, and _d_ gal is the non-local bias.The correlation between _a_ and _b_ (with possibly _a_ = _b_ ) at second order is: <sup>(1)</sup> _b_ <sup>+</sup> <sup>_b_</sup> _a_ <sup>(1)</sup> _a_ <sup>(1)</sup> <sup>_b_</sup> <sup>(2)</sup> _j_, _b_ _j_, _b_ <sup>(1)</sup> _a_ <sup>_b_</sup> <sup>(1)</sup> _b_ ξ _ab_ = _b_ <sup>(1)</sup> _a_ <sup>(1)</sup> _b_ <sup>⟨δmδm⟩</sup> <sup>+</sup> _j_ - _b_ <sup>(2)</sup> _j_, _a_ <sup>(2)</sup> _j_, _a_ <sup>_b_</sup> <sup>(1)</sup> _b_ - ⟨δm O _j_ ⟩ + O��⟨δm O _j_ ⟩ (A.6) ⟨δm O _j_ ⟩ ⟨δmδm⟩ <sup>+</sup> <sup>O</sup> _j_  _a_ �� ⟨δm O _<u>j</u>_ ⟩ ⟨δmδm⟩ (A.7) - <sup></sup>  . _b_ <sup>(2)</sup> _j_, _a_ _b_ <sup>(1)</sup> _a_ <sup>(1)</sup> _a_ <sup>_b_</sup> <sup>(1)</sup> _b_ = _b_ <sup>(1)</sup> _a_ <sup>(1)</sup> _b_ <sup>⟨δmδm⟩</sup> _b_ <sup>(2)</sup> _j_, _b_ _b_ <sup>(1)</sup> _b_  ⟨δm O _j_ ⟩ 1 + + We note we did drop the θ index for clarity. Using this relation for the product of the auto-correlation, we get at second order, ⟨δm O _j_ ⟩ ⟨δmδm⟩ <sup>+</sup> <sup>O</sup> _b_ <sup>(2)</sup> _j_, _a_ _b_ <sup>(1)</sup> _a_ (ξ _aa_ ξ _bb_ ) <sup>−1/2</sup> = = - _b_ <sup>(1)</sup> _a_ <sup>(1)</sup> _a_ <sup>_b_</sup> <sup>(1)</sup> _b_ −1/2 - <sup></sup>  2 - _b_ <sup>(1)</sup> _a_ <sup>(1)</sup> _b_ <sup>⟨δmδm⟩</sup> <sup>(1)</sup> _a_ <sup>_b_</sup> <sup>(1)</sup> _b_ �−1 1 + _b_ <sup>(2)</sup> _j_, _b_ _b_ <sup>(1)</sup> _b_ �� ⟨δm O _<u>j</u>_ ⟩ ⟨δmδm⟩ (A.8) + 2 ⟨δmδm⟩ <sup>+</sup> <sup>O</sup>  _b_  _j_ _j_  _b_ <sup>(2)</sup> _j_, _a_ _b_ <sup>(1)</sup> _a_ �� ⟨δm O _<u>j</u>_ ⟩ ⟨δmδm⟩ (A.9) - <sup></sup>  . (A.10) <sup>(1)</sup> _b_ <sup>⟨δmδm⟩</sup> �−1 1 − _b_ <sup>(2)</sup> _j_, _b_ _b_ <sup>(1)</sup> _b_ ⟨δm O _j_ ⟩ + Thus, there is no next-to-leading order correction due to non-linearities: <u>ξ</u> _<u>ab</u>_ ~~√~~ <u>ξ</u> _aa_ <u>ξ</u> _bb_ �� ⟨δm O _<u>j</u>_ ⟩ = 1 + O ⟨δmδm⟩ - . (A.11) Appendix B: Magnification modelling Here we describe the modelling of the magnification terms cf. Eq. (34). The impact of the magnification change in flux depends on a parameter _s_ µ related to the selection function applied to the sample (Elvin-Poole et al. 2023). In the case of a magnitude threshold, it is the well-known derivative of the cumulative number count _N_ µ <sup>c, evaluated at the maximum magnitude,</sup> _s_ µ = <sup><u>d</u></sup> d µ <sup>c]</sup> <sup>_m_</sup> max <sup>.</sup> (B.1) d <sup><u>d</u></sup> _m_ <sup>[ln</sup> <sup>_N_</sup> µ <sup>c</sup> Usually, changes in flux and solid angle are concatenated through the coefficient <sup>18</sup> α = 2.5 _s_ µ − 1 . Evaluating the αs is in practice very challenging, since we are rarely considering only one magnitude cut as in Eq. (B.1), and it requires dedicated works (e.g. cf. the case of two magnitude cuts in Lepori et al. 2025), but is necessary for weak lensing (Hildebrandt 2016; Elvin-Poole et al. 2023). 18 There are different and confusing conventions in the literature. For instance, sometimes α is given as _s_, 2.5 _s_, or 5 _s_ - 2. Article number, page 27 of 31 4 2 _A&A proofs:_ manuscript no. aa55551 25 4 Tomographic bin Spectroscopic slice 2 0.0 0.2 0.4 0.6 0.8 1.0 0.050 0.025 0.000 0.0 0.2 0.4 0.6 0.8 1.0 Redshift z 0.0 0.2 0.4 0.6 0.8 1.0 0.02 0.00 0.0 0.2 0.4 0.6 0.8 1.0 Redshift z wsp <sup>gg with bsbp</sup> <sup>= 1</sup> wsp <sup>µg with αsbp</sup> <sup>=</sup> <sup>−</sup> <sup>1</sup> wsp <sup>gµ with bsαp</sup> <sup>=</sup> <sup>+ 1</sup> Sum y=0 Fig. B.1. _Top panel_ : The redshift distributions of the photometric sample (blue) and five out of the 20 spectroscopic samples (red) are shown. The photometric distribution on the left follows a Gaussian with parameters (µ, σ) = (0.5, 0.08), while on the right, it follows (µ, σ) = (0.5, 0.16). _Bottom panel_ : The angular correlation is displayed for clustering only (green), magnification only (red and purple), and their sum (orange). The values of the coefficients _b_ and α are provided in the legend. Magnification impacts the shape of the angular correlation (sum vs. clustering only) and may influence the mean redshift, particularly for larger tomographic bins (right vs. left). The spectroscopic sample is magnified by the matter traced by low- _z_ photometric galaxies, and the matter traced by spectroscopic galaxies is magnifying high- _z_ photometric galaxies. Neglecting RSD, using the conventions from Krause et al. (2021) and the Limber approximation, we have ℓ W _i_ <sup>s</sup> _j_ χ <sup>2</sup> <sup>s</sup> _i_ <sup>Wp</sup> _j_ <u>2ℓ</u> <u>+ 1</u> Lℓ(cos θ) _P_ m ( _k_ (χ, ℓ), _z_ (χ)), (B.2) 4π _w_ <sup>full</sup> sp <sup>(θ) =</sup> _w_ <sup>full</sup> sp _i j_ ∈{DD, Dµ, µD} _c_ <sup>_i_</sup> s <sup>_i_</sup> s <sup>_c_</sup> p <sup>_j_</sup> p dχ <sup>D</sup> _a_ <sup>=</sup> <sup>_ba_</sup> <sup>is</sup> <sup>the</sup> <sup>galaxy</sup> <sup>bias,</sup> <sup>_c_</sup> _a_ <sup>µ</sup> where _c_ <sup>D</sup> _a_ where _c_ <sup>D</sup> _a_ <sup>=</sup> <sup>_ba_</sup> <sup>is</sup> <sup>the</sup> <sup>galaxy</sup> <sup>bias,</sup> <sup>_c_</sup> _a_ <sup>µ</sup> <sup>=</sup> <sup>α</sup> _a_ <sup>is</sup> <sup>the</sup> <sup>magnification</sup> <sup>coefficient,</sup> <sup>L</sup> ℓ <sup>is</sup> <sup>the</sup> <sup>Legendre</sup> <sup>polynomials</sup> <sup>of</sup> <sup>order</sup> <sup>ℓ,</sup> <sup>_P_</sup> m <sup>is</sup> <sup>the</sup> matter power spectrum, _k_ (χ, ℓ) = <sup><u>ℓ+</u></sup> χ <sup><u>0.5</u></sup> <sup>, and</sup> χ <sup><u>0.5</u></sup> <sup>, and</sup> <u>χ</u> <sup>′</sup> - <u>χ</u> . (B.3) χ <sup>′</sup> <u>χ</u> <sup>′</sup> - <u>χ</u> <sup>_a_</sup> D <sup>=</sup> <sup>_na_</sup> <sup>(</sup> <sup>_z_</sup> <sup>)</sup> <sup><u>d</u></sup> <sup>_<u>z</u>_</sup> d µ <sup>_a_</sup> <sup>=</sup> <sup>3 Ωm</sup> <sup>_H_</sup> <u>0</u> <sup>2</sup> 2 _c_ <sup>2</sup> - ∞ χ dχ <sup>′</sup> _na_ (χ <sup>′</sup> ) <sup><u>χ</u></sup> _a_ (χ) dχ <sup>′</sup> _na_ (χ <sup>′</sup> ) <sup><u>χ</u></sup> W <sup>_a_</sup> <sup><u>d</u></sup> <sup>_<u>z</u>_</sup> and Wµ <sup>_a_</sup> dχ <u>0</u> <sup>m</sup> <sup>_H_</sup> <sup>2</sup> 2 _c_ <sup>2</sup> These expressions are simplified if the spectroscopic sample is localised in a small redshift slice (∆ _z_ small enough to neglect redshift variations) centred in _z_ s. In that case, we can model the distribution of the photometric sample by a step function _n_ p( _z_ ) = _i_ _n_ p( _zi_ ) H(∆ _z_ /2 −| _z_ - _zi_ |), (B.4) where H is the Heaviside function, equal to unity for ∆ _z_ /2 −| _z_ - _zi_ | > 0 and 0 otherwise. We then have _w_ <sup>DD</sup> sp <sup>(θ) ≈</sup> <sup>_b_</sup> <sup>s(</sup> <sup>_z_</sup> <sup>s)</sup> <sup>_b_</sup> <sup>p(</sup> <sup>_z_</sup> <sup>s)</sup> <sup>_n_</sup> <sup>p(</sup> <sup>_z_</sup> <sup>s) ξm(χs),</sup> (B.5) <sup>D</sup> sp <sup>µ(θ) =</sup> <sup><u>3 Ωm</u></sup> <sup>_<u>H</u>_</sup> <sup><u>0</u></sup> <sup><u>(1 +</u></sup> <sup>_<u>zi</u>_</sup> <sup><u>)</u></sup> ξm( _zi_, θ) _H_ ( _zi_ ) ∆ _z_ αp( _z_ _j_ ) _n_ p( _z_ _j_ ) <sup>χ(</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>) −</sup> <sup>χ(</sup> <sup>_zi_</sup> <sup>)</sup> χ( _zi_ ), (B.6) χ( _z_ _j_ ) _w_ <sup>D</sup> sp <sup>µ</sup> <sup><u>m</u></sup> <sup>_<u>H</u>_</sup> <sup><u>0</u></sup> _b_ s( _zi_ ) _n_ s( _zi_ ) <sup>_<u>H</u>_</sup> <sup><u>0 (1 +</u></sup> <sup>_<u>zi</u>_</sup> <sup><u>)</u></sup> _c_ _H_ ( _zi_ ) _j_ = _i_ +1,... <sup>) −</sup> <sup>χ(</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>)</sup> χ( _z_ _j_ ) . (B.7) χ( _zi_ ) <sup>µ</sup> sp <sup>D(θ) =</sup> <sup><u>3 Ωm</u></sup> <sup>_<u>H</u>_</sup> <sup><u>0</u></sup> _j_ =0,.. _i_ −1 ∆ _z b_ p( _z_ _j_ ) _n_ p( _z_ _j_ ) <sup>_H_</sup> <sup>0</sup> <sup>(1 +</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>)</sup> <sup>(1 +</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>)</sup> ξm( _z_ _j_, θ) αs( _z_ _j_ ) <sup>χ(</sup> <sup>_zi_</sup> <sup>) −</sup> <sup>χ(</sup> <sup>_z_</sup> <sup>_j_</sup> <sup>)</sup> _H_ ( _z_ _j_ ) χ( _zi_ ) _w_ <sup>µ</sup> sp <sup>D</sup> _c_ We can rewrite our magnification term as _M_ (θ) = αs( _z_ s) with _j_ =,..., _i_ −1 _b_ p( _z_ _j_ ) _n_ p( _z_ _j_ ) _D_ ( _z_ _j_, _zi_, θ) + _b_ s( _zi_ ) _j_ = _i_ +1,... αp( _z_ _j_ ) _n_ p( _z_ _j_ ) _D_ ( _zi_, _z j_, θ), (B.8) _D_ ( _zk_, _zl_, θ) = <sup><u>3</u></sup> <sup>_<u>H</u>_</sup> <sup><u>0 Ωm</u></sup> _<u>H</u>_ <u>0</u> <sup><u>0 Ωm</u></sup> ∆ _z_ _c_ _H_ ( _zk_ ) <sup>(1 +</sup> <sup>_zk_</sup> <sup>) ξm(</sup> <sup>_zk_</sup> <sup>,</sup> <sup>θ)</sup> <sup><u>χ(</u></sup> <sup>_<u>zl</u>_</sup> <sup><u>)</u></sup> χ <sup>−</sup> ( _zl_ <sup><u>χ</u></sup> ) <sup><u>(</u></sup> <sup>_<u>zk</u>_</sup> <sup><u>)</u></sup> χ( _zk_ ) . (B.9) <sup><u>)</u></sup> χ <sup>−</sup> ( _zl_ <sup><u>χ</u></sup> ) <sup><u>(</u></sup> <sup>_<u>zk</u>_</sup> <sup><u>)</u></sup> Our final expression contains several differences with Gatti et al. (2022). We are taking into account the redshift variation of spectroscopic and photometric biases, and α. Our conventions and the sum indices are slightly different (we try to be more explicit). We illustrate the impact of magnification on angular correlation in Fig. B.1 using toy models. Two tomographic bins are introduced, with Gaussian redshift distributions centred at _z_ = 0.5 with widths σ = 0.08 and σ = 0.16, respectively. The clustering and Article number, page 28 of 31 W. d Assignies et al.: _Euclid_ : Clustering redshifts the two magnification terms are evaluated using spectroscopic samples divided into 20 redshift slices with ∆ _z_ = 0.05. We adopt _b_ s = _b_ p = 1, αs = 1, and αp = −1. A noticeable difference is observed between clustering alone and the sum of the three effects, indicating that magnification is not entirely negligible. Since different α values are used for the spectroscopic and photometric samples, the combined effect appears to be shifted towards lower redshifts, potentially introducing a bias in the mean redshift. Finally, the impact is very limited for the narrower tomographic bin (left) but becomes more pronounced for the wider bin (right). This highlights the importance of accounting for magnification effects when using broad tomographic bins. With UNION and LSST photometry, our bins are projected to be narrower and more localised than DES ones, and thus magnification may be negligible for _Euclid_ clustering redshifts, even if it was not for DES. Appendix C: Pair counts The pair-count between two samples is theoretically given by d _z_ 1d _z_ 2 _Na_ ( _z_ 1) _Nb_ ( _z_ 2) ⟨(1 + δ _a_ )(1 + δ _b_ )⟩ <sup>data</sup> _r_ p, (C.1) D _a_ D _b_ ( _r_ p) = d _z_ 1d _z_ 2 ⟨ _NaNb_ ⟩ _r_ p = where _N_ ( _z_ ) = _N_ tot _n_ ( _z_ ) is the number galaxy distribution. We use galaxy weights to correct selection effects, anisotropies due to observation conditions or background etc. _Appendix C.1:_ _From continuous to discrete_ In practice, the pair count is evaluated for a certain distance range _r_ p ±∆ _r_ p. It means that for a galaxy of sample _a_, we are counting all the sample _b_ galaxies within an annulus with radius _r_ p <sup>_i_</sup> <sup>and width ∆</sup> <sup>_r_</sup> p <sup>_i_</sup> <sup>. For instance, we use logarithmic binning, for which ∆</sup> <sup>_r_</sup> p <sup>_i_</sup> <sup>∝</sup> <sup>_r_</sup> p <sup>_i_</sup> <sup>.</sup> Thus, the correlation (including galaxy weights) of Eq. (C.1) is related to the theoretical one through, p <sup>_i_</sup> <sup>and width ∆</sup> <sup>_r_</sup> p <sup>_i_</sup> p <sup>_i_</sup> <sup>. For instance, we use logarithmic binning, for which ∆</sup> <sup>_r_</sup> p <sup>_i_</sup> p <sup>_i_</sup> <sup>∝</sup> <sup>_r_</sup> p <sup>_i_</sup> _r_ p <sup>_i_</sup> ±∆ _r_ p <sup>_i_</sup> /2 ⟨(1 + δ _a_ )(1 + δ _b_ )⟩ <sup>data</sup> = _r_ p <sup>_i_</sup> - 2π dθ 0 d _r_ p⟨(1 + δ _a_ )(1 + δ _b_ )⟩ _r_ p, θ ≈ 2π _r_ p <sup>_i_</sup> p <sup>_i_</sup> <sup>⟨(1 + δ</sup> <sup>_a_</sup> <sup>)(1 + δ</sup> <sup>_b_</sup> <sup>)⟩</sup> _r_ p <sup>_i_</sup> <sup>.</sup> (C.2) p <sup>_i_</sup> <sup>∆</sup> <sup>_r_</sup> p <sup>_i_</sup> _Appendix C.2:_ _Mask and estimator_ There is an additional geometrical effect to Eq. (C.2) which is the mask: we do not observe the full sky. The annuli are not perfect and there is a geometrical correction ⟨(1 + δ _a_ )(1 + δ _b_ )⟩ <sup>data</sup> _r_ p <sup>_i_</sup> p <sup>_i_</sup> <sup>∆</sup> <sup>_r_</sup> p <sup>_i_</sup> p <sup>_i_</sup> <sup>ηmask(</sup> <sup>_r_</sup> <sup>p) ⟨(1 + δ</sup> <sup>_a_</sup> <sup>)(1 + δ</sup> <sup>_b_</sup> <sup>)⟩</sup> _r_ p <sup>_i_</sup> <sup>.</sup> (C.3) <sup>data</sup> _r_ p <sup>_i_</sup> ≈ 2π _r_ p <sup>_i_</sup> To correct it, we compare the pair count of the correlated samples, with the ones of uncorrelated samples, submitted to the same mask, the so-called “randoms”, R _a_ R _b_ ( _r_ p) = _Na_ <sup>rand</sup> _a_ <sup>rand</sup> _Nb_ <sup>rand</sup> _b_ <sup>rand</sup> 2π _r_ p <sup>_i_</sup> <sup>∆</sup> <sup>_r_</sup> p <sup>_i_</sup> p <sup>_i_</sup> <sup>ηmask(</sup> <sup>_r_</sup> <sup>p) .</sup> (C.4) Comparing different pair counts, we always correct the amplitude, which scales as the number of objects. We usually use 10 times more randoms than objects, so we multiply DD/RR by 100. This step is done by default in `Treecorr` . Computing random-galaxy pair counts, DR [which scales as 2π _r_ p <sup>_i_</sup> <sup>∆</sup> <sup>_r_</sup> p <sup>_i_</sup> <sup>ηmask(</sup> <sup>_r_</sup> <sup>p) as well] is optimal for variance reduction (Landy</sup> & Szalay 1993). That is why our fiducial analysis involves the full Landy–Szalay estimator, Computing random-galaxy pair counts, DR [which scales as 2π _r_ p <sup>_i_</sup> p <sup>_i_</sup> <sup>∆</sup> <sup>_r_</sup> p <sup>_i_</sup> <sup>data</sup> _ab_ <sup>(</sup> <sup>_r_</sup> <sup>p) =</sup> <sup><u>D</u></sup> <sup>_<u>a</u>_</sup> <sup><u>D</u></sup> <sup>_<u>b</u>_</sup> <sup>−</sup> <sup><u>R</u></sup> <sup>_<u>a</u>_</sup> <sup><u>D</u></sup> <sup>_<u>b</u>_</sup> <sup>−</sup> <sup><u>D</u></sup> <sup>_<u>a</u>_</sup> <sup><u>R</u></sup> <sup>_<u>b</u>_</sup> <sup><u>+ R</u></sup> <sup>_<u>a</u>_</sup> <sup><u>R</u></sup> <sup>_<u>b</u>_</sup> R _a_ R _b_ ( _r_ p) = ⟨(1 + δ _a_ )(1 + δ _b_ ) − (1 + δ _a_ ) − (1 + δ _b_ ) + 1⟩ _r_ p _i_ = ⟨δ _a_ δ _b_ ⟩ _r_ p _i_, (C.5) _w_ <sup>data</sup> _ab_ R _a_ R _b_ where we omitted the galaxy number normalisation factors introduced below. A common choice for clustering-redshifts is to use the Davis and Peebles estimator _wab_ ( _r_ p) ≈ <sup><u>D</u></sup> <sup>_<u>a</u>_</sup> <sup><u>D</u></sup> <sup>_<u>b</u>_</sup> <sup>−</sup> <sup><u>R</u></sup> <sup>_<u>a</u>_</sup> <sup><u>D</u></sup> <sup>_<u>b</u>_</sup> R _a_ D _b_ ( _r_ p), (C.6) mainly because there is no need for a random catalogue for the second sample (Davis & Peebles 1983; Gatti et al. 2018; van den Busch et al. 2020). For _Euclid_, a random catalogue would be created for the different analyses, so there is no motivation for using Eq. (C.6) rather than Eq. (C.5). Appendix D: Systematic errors and bias correction In this appendix, we provide additional tables to Sects. 4.7 and 4.8. In Table D.1, we report the values of the deviations on the mean redshift and shape due to the systematic effects. The values are the means over the five sky patches, and correspond to ∆ _z_ = 0.05 and the M5 bias correction. We found similar results with other bias corrections. Finally in Table D.2, we report the values of the deviations on the mean redshift and standard deviation associated with the bias correction, in the absence of systematic effects. Article number, page 29 of 31 _A&A proofs:_ manuscript no. aa55551 25 Table D.1. Mean redshift and standard deviation bias for the different systematic effects (including none, and all) are reported; Req. refers to the requirement that needs to be fulfilled. Bin Configuration Shifted-Stretched Model Suppressed-GP ⟨ _z_ ⟩−⟨ _z_ ⟩true (×1000) σ _z_ /σ <sup>true</sup> _<u>z</u>_ - 1 (×100) ⟨ _z_ ⟩−⟨ _z_ ⟩true (×1000) σ _z_ /σ _<u>z</u>_ <sup>true</sup> _<u>z</u>_ - 1 (×100) ⟨ _z_ ⟩−⟨ _z_ ⟩true (×1000) σ _z_ /σ <sup>true</sup> _<u>z</u>_ <sup>true</sup> _<u>z</u>_ - 1 (×100) 0.7 ± 1.9 0.4 ± 2.2 1.0 ± 2.2 1.9 ± 2.5 2.4 ± 2.6 2.8 1.7 ± 1.6 3.8 ± 1.9 3.8 ± 1.9 3.8 ± 1.7 3.8 ± 1.7 3.8 −0.7 ± 2.2 0.2 ± 2.5 −0.6 ± 2.3 2.3 ± 2.7 2.2 ± 2.6 4.4 0.6 ± 1.4 1.6 ± 1.7 2.9 ± 1.8 0.4 ± 1.6 1.0 ± 1.8 10 2.2 ± 0.8 1.4 ± 1.0 2.9 ± 1.2 0.4 ± 1.1 2.3 ± 1.0 10 0.4 ± 0.6 0.7 ± 0.8 1.5 ± 0.8 −1.8 ± 0.7 −1.3 ± 0.8 10 −0.2 ± 4.6 1.2 ± 4.9 −2.1 ± 4.8 5.8 ± 7.1 5.6 ± 7.3 10 −0.1 ± 3.6 −2.2 ± 3.9 −5.3 ± 3.7 −0.7 ± 3.7 −3.1 ± 4.0 10 1.1 ± 1.9 0.5 ± 2.1 −0.6 ± 1.9 4.0 ± 2.4 3.6 ± 2.2 10 −1.3 ± 0.9 −0.6 ± 1.2 −0.6 ± 1.2 −1.3 ± 1.1 −0.4 ± 1.2 2.8 1.4 ± 0.6 1.1 ± 0.8 1.8 ± 0.9 1.3 ± 0.8 2.2 ± 0.8 3.8 −1.9 ± 1.0 −1.0 ± 1.3 −1.4 ± 1.3 1.0 ± 1.2 1.1 ± 1.3 4.4 Low- _z_ Mid- _z_ High- _z_ Independent Full bin Full bin +RSD Full bin +Magn Total Req. Independent Full bin Full bin +RSD Full bin +Magn Total Req. Independent Full bin Full bin +RSD Full bin +Magn Total Req. Table D.2. Mean redshift and standard deviation for the different bias corrections M0–M5, for SSM and SGP fitting, without systematics (independent case in Sect. 4.7); Req. refers to the requirement to fulfil. Bin Configuration Shifted-Stretched Model Suppressed-GP ⟨ _z_ ⟩−⟨ _z_ ⟩true (×1000) σ _z_ /σ <sup>true</sup> _<u>z</u>_ - 1 (×100) ⟨ _z_ ⟩−⟨ _z_ ⟩true (×1000) σ _z_ /σ _<u>z</u>_ <sup>true</sup> _<u>z</u>_ - 1 (×100) ⟨ _z_ ⟩−⟨ _z_ ⟩true (×1000) σ _z_ /σ <sup>true</sup> _<u>z</u>_ <sup>true</sup> _<u>z</u>_ - 1 (×100) 1.0 ± 2.1 0.7 ± 2.0 0.7 ± 1.9 −0.1 ± 2.4 −0.5 ± 2.4 0.7 ± 1.9 2.8 5.2 ± 1.6 3.0 ± 1.7 2.9 ± 1.7 1.2 ± 1.4 1.3 ± 1.4 1.7 ± 1.6 3.8 17.8 ± 2.6 6.5 ± 2.1 6.5 ± 2.3 −0.4 ± 2.1 −2.3 ± 2.0 −0.7 ± 2.2 4.4 0.8 ± 2.0 0.3 ± 1.6 0.1 ± 1.5 0.5 ± 2.4 0.3 ± 2.4 0.6 ± 1.4 10 2.7 ± 0.8 2.4 ± 0.8 2.4 ± 0.8 2.0 ± 0.5 2.0 ± 0.5 2.2 ± 0.8 10 −5.6 ± 0.7 −1.8 ± 0.7 −1.8 ± 0.7 0.4 ± 0.6 1.1 ± 0.6 0.4 ± 0.6 10 0.5 ± 4.7 0.0 ± 4.6 −0.0 ± 4.2 0.5 ± 5.0 0.8 ± 5.1 −0.2 ± 4.6 10 −0.7 ± 3.4 −0.2 ± 3.7 −0.1 ± 3.7 1.1 ± 3.2 1.1 ± 3.2 −0.1 ± 3.6 10 3.9 ± 2.1 2.1 ± 1.9 2.1 ± 1.9 0.7 ± 1.8 0.3 ± 1.8 1.1 ± 1.9 10 −0.3 ± 1.4 −1.1 ± 1.0 −1.1 ± 1.0 −1.2 ± 1.6 −1.5 ± 1.6 −1.3 ± 0.9 2.8 4.9 ± 0.6 2.7 ± 0.6 2.7 ± 0.6 1.4 ± 0.4 1.5 ± 0.4 1.4 ± 0.6 3.8 17.0 ± 1.2 5.1 ± 1.0 5.0 ± 1.1 −1.8 ± 1.0 −3.7 ± 1.0 −1.9 ± 1.0 4.4 Low- _z_ Mid- _z_ High- _z_ M0 M1 M2 M3 M4 M5 Req. M0 M1 M2 M3 M4 M5 Req. M0 M1 M2 M3 M4 M5 Req. Appendix E: Mis-modelling of clustering-redshifts with the one-bin approximation In Sect. 3.2.3, we introduced an improvement to the modelling to expand beyond this one-bin approximation, which in the context of M5 bias correction is, _w_ sp ∆ _z_ <sup>~~√~~</sup> _<u>w</u>_ ss _<u>w</u>_ pp ( _zi_ ) ≈ _nb_ ( _zi_ ) × �1 + <sup>_<u>nb</u>_</sup> <sup><u>(</u></sup> <sup>_<u>zi</u>_</sup> <sup><u>+ ∆</u></sup> <sup>_<u>z</u>_</sup> <sup><u>)</u></sup> η+( _zi_ ) + <sup>_<u>nb</u>_</sup> <sup><u>(</u></sup> <sup>_<u>zi</u>_</sup> <sup>−</sup> <sup><u>∆</u></sup> <sup>_<u>z</u>_</sup> <sup><u>)</u></sup> η−( _zi_ ) _nb_ ( _zi_ ) _nb_ ( _zi_ ) . Article number, page 30 of 31 W. d Assignies et al.: _Euclid_ : Clustering redshifts <u>Mid-z</u> 0.85 0.90 0.95 1.00 Redshift z <u>High-z</u> 1.3 1.4 1.5 1.6 Redshift z 1.5 1.4 1.3 ~~<u>1.2</u>~~ ~~<u>1.1</u>~~ <u>1.0</u> 0.9 0.8 <u>Low-z</u> 0.35 0.40 0.45 0.50 Redshift z Model ≈ 1 + η + + η − ∆z = 0.02 ∆z = 0.05 ∆z = 0.08 Fig. E.1. Deviation of the measured _n_ p( _zi_ ) to the true distribution, for different slicing ∆ _z_ (points in colours), and the global offset predicted by our model, which includes correlation at the edge of the slices (solid lines in colours). The points correspond to the measurements for the five patches, hence the difference in redshift between them is not ∆ _z_ . Since η± - 0, we expect to measure _n_ ( _z_ ) with a norm higher than unity. The global offset should be approximately - _w_ sp ( _zi_ ) ≈ 1 + η+(⟨ _z_ ⟩) + η−(⟨ _z_ ⟩) . (E.1) _zi_ _w_ sp ∆ _z_ <sup>~~√~~</sup> _<u>w</u>_ ss _<u>w</u>_ pp In Fig. E.1 we show the ratio of the measured _n_ p( _zi_ ) to the true distribution, for three slicing ∆ _z_, and the five sky patches. We also report the offset predicted from Eq. (E.1) for each ∆ _z_ . We observe consistency between the points and the rough prediction. Concatenating the measurements from the different redshift slices, we can express the correlation as _w_ sp(θ) = _B_ s _B_ p Λ _n_, (E.2) where _n_ = { _n_ ( _zi_ )} _i_ =1,.., _n_, _Bx_ are diagonal matrices representing the galaxy biases, and Λ is a tridiagonal matrix, easily invertible, with unity on its diagonal and smaller terms (corrections) on the first off-diagonals. We attempted to implement Eq. (E.2) for the inference of _n_ p( _z_ ) by replacing the one-bin modelling with three-bins. We did not observe a significant improvement in the bias on the mean redshift compared to the standard renormalisation procedure, however. In Fig. E.1, we note that points from different patches at similar redshifts (visible as groups of 5 points corresponding to the 5 patches in the high- _z_ bin) are spread over a wide range, despite the true distributions being very similar across the patches. This behaviour could be attributed to substantial sample variance, which might explain why three-bins perform similarly to one-bin. Additionally, we observe that three-bins still exhibit significant deviations in Fig. 2, highlighting the challenges of improving one-bin modelling despite our efforts. We note that in Fig. 14, the measurements for 0.75 < _z_ < 0.85 are systematically under the true _n_ ( _z_ ) for ∆ _z_ = 0.02, 0.05, which might cause the positive shift in mean redshift. This under-correlation is also visible in Fig. E.1. We did not identify its cause. Article number, page 31 of 31

섹션 본문 228문단 · 103,483자

(제목 없음)

1Aims: The precision of cosmological constraints from imaging surveys hinges on an accurately estimated redshift distribution n(z) of the tomographic bins, especially their mean redshifts.We assess the effectiveness of the clustering-redshifts technique in constraining Euclid tomographic redshift bins to meet the target uncertainty of σ(⟨z⟩) < 0.002(1 + z).We inferred these mean redshifts from the small-scale angular clustering of Euclid galaxies, which were distributed into bins with spectroscopic samples localised in narrow redshift slices.Methods: We generated spectroscopic mocks from the Flagship2 simulation for the Baryon Oscillation Spectroscopic Survey (BOSS), the Dark Energy Spectroscopic Instrument (DESI), and the Euclid Near-Infrared Spectrometer and Photometer (NISP) spectroscopic survey.We evaluated and optimised the clustering-redshifts pipeline, and we introduced a new method for measuring the photometric galaxy bias (clustering), which is the primary limitation of this technique.Results: We have successfully constrained the means and standard deviations of the redshift distributions for all of the tomographic bins (with a maximum photometric redshift of 1.6).We achieved precision beyond the required thresholds.We have identified the main sources of bias, particularly the impact of the one-halo galaxy distribution, which imposed the minimal separation scale to be larger than 1.5 Mpc for evaluating cross-correlations.These results demonstrate that clustering-redshifts can meet the precision requirements for Euclid, and we highlighted several avenues for future improvements.

Introduction

2The Euclid space telescope is currently mapping the positions and shapes of billions of galaxies.This provides data that are Article number, page 1 of 31 arXiv:2505.10416v2[astro-ph.CO] 9 Sep 2025 A&A proofs: manuscript no.aa55551-25 critical to understand the large-scale structure of the Universe, in particular, the mysterious nature of dark matter and dark energy (Euclid Collaboration: Mellier et al. 2025).Through its imaging survey, Euclid measures the flux of galaxies in the visible and near-infrared wavelengths using broadband filters.Additionally, it determines spectroscopic redshifts for a subset of galaxies via slitless spectroscopy, targeting emission-line galaxies (ELGs).These data will enable the precise determination of cosmological parameters and models, primarily through the study of galaxy clustering, galaxy-galaxy lensing, and cosmic shear (Euclid Collaboration: Blanchard et al. 2020), with galaxy samples divided into approximate line-of-sight tomographic bins.

3It is essential to accurately estimate the redshift distributions of these galaxy samples to interpret cosmological measurements correctly (see e.g.Huterer et al. 2006;Bordoloi et al. 2010;Hildebrandt et al. 2021;Stölzner et al. 2021).The vast amount of forthcoming data means that it is not feasible to obtain spectroscopic redshifts for every individual galaxy because spectroscopy of large samples is time-consuming and costly.Photometric surveys provide redshift estimates for each galaxy based on multi-band photometry of that galaxy, a technique called photometric redshift, or photo-z.A large variety of photo-z methods exists (e.g.Tanaka et al. 2018;Salvato et al. 2019;Euclid Collaboration: Ilbert et al. 2021;Euclid Collaboration: Desprez et al. 2020).The photometric information can also be used to produce redshift estimates using scheme based on a self-organising map (hereafter, SOM), which allows a more general control over all the known potential sources of uncertainties that affect the estimates (Wright et al. 2020a,b;Myles et al. 2021;Giannini et al. 2024;Campos et al. 2024;Wright et al. 2025, Roster et al., in prep.).The degeneracies between colours and redshift, however, and unrepresentative spectroscopic samples for training and calibration ultimately limit the performance of photometric methods (Wright et al. 2020a;Hartley et al. 2020).

4Clustering-based redshift estimation methods offer another alternative to infer redshift distributions (see e.g.Newman 2008;Ménard et al. 2013;McQuinn & White 2013;Morrison et al. 2017;Scottez et al. 2018;Gatti et al. 2018;van den Busch et al. 2020;Hildebrandt et al. 2021;Gatti et al. 2022;Cawthon et al. 2022;Rau et al. 2023;Wright et al. 2025).Unlike photoz, clustering-redshifts techniques statistically infer the redshift properties for entire bins instead of individual galaxies.Furthermore, this approach is independent of photometric uncertainties, observations over smaller deep fields, or representative spectroscopic samples.

5The clustering-redshifts method relies on angular crosscorrelations between spectroscopic samples, with secure redshifts, and photometric samples.Samples that overlap in redshift trace the same underlying dark matter field and are consequently correlated in their position.The amplitude of this angular correlation provides insight into their redshift overlap, which results in the measurement of the redshift distribution of the photometric samples.This amplitude is degenerate with galaxy biases (of both samples), however, which makes the measurement of these biases, and their redshift evolution, a critical step (McQuinn & White 2013;Gatti et al. 2018;Naidoo et al. 2023).While the galaxy bias for the spectroscopic sample can be directly constrained through auto-correlation functions, it is more challenging to estimate the galaxy bias for the photometric sample (van den Busch et al. 2020;Cawthon et al. 2022), and is sometimes evaluated using simulations (Gatti et al. 2022).

6The precision of the clustering-redshifts method depends on the redshift and sky overlap of the photometric and spectroscopic data, but also on range of the clustering angular scale.To achieve the primary science goal of Euclid, the uncertainty on the mean redshift, σ(⟨z⟩), for each tomographic bin must remain below 0.002(1 + z) at 68% confidence (Laureijs et al. 2011).Naidoo et al. (2023) found that clustering-redshifts would be able to reach the statistical uncertainties required by Euclid for a sufficiently large sky overlap, typically several hundreds of deg 2 , when analysing scales from 100 kpc to 1 Mpc, although systematic biases limit the accuracy.In particular, there were some unknown residual biases for high-redshift bins with their methods or simulated data.

7This paper aims to re-evaluate the potential of photometricspectroscopic cross-correlations as a core component of the redshift calibration for Euclid.Our method may be seen as a continuation, and a substantial improvement from Naidoo et al. (2023).We used 5000 deg 2 of simulated data from the Euclid Flagship2 simulation (Euclid Collaboration: Castander et al. 2025).Our goal is to evaluate the uncertainties associated with the clustering-redshifts calibration through a realistic framework, and to determine the limitation of the method.We created spectroscopic mock samples for the Dark Energy Spectroscopic Instruments (DESI), or alternatively, for the 4-metre Multi-Object Spectroscopic Telescope (4MOST), the Baryon Oscillation Spectroscopic Survey (BOSS), and Euclid.We assessed the potential systematic effects on the measurement, introduced a new method to measure photometric galaxy bias, optimised the clustering-z pipeline, and derived methods for inferring the redshift constraints from the amplitude of two-point correlations.We assumed the same flat ΛCDM cosmology as was used for the simulation, with Ω m = 0.319, Ω b = 0.049, Ω Λ = 0.681, A s = 2.1 × 10 −9 , n s = 0.96, σ 8 = 0.813, and h = 0.67.Our code is publicly available. 1his paper is organised as follows.In Sect. 2 we describe the Flagship2 simulation and the mocks we generated to mimic Euclid and spectroscopic data.In Sect. 3 we give a detailed overview of angular clustering, its application to clustering redshifts, and potential sources of errors.In Sect. 4 we present the different tests we ran to optimise the pipeline and address potential sources of bias.Finally in Sect. 5 we apply the results pipeline to realistic Euclid tomographic bins and compare our results with previous work and the requirements.

Simulated data

8To assess the performance of the Euclid clustering-redshifts method, we constructed simulated datasets that were as similar as possible to the observational datasets.In this section, we describe how these samples can be generated from the Flagship simulation.

The Flagship simulation and survey mocks

9For this study, we used the second edition of the Flagship catalogue (version 2.1.10),which was presented in detail in Euclid Collaboration: Castander et al. (2025).The Euclid Flagship Nbody dark matter simulation comprises a simulation box measuring 3600 h −1 Mpc on each side, containing 4 trillion particles.This simulation is the largest N-body simulation performed to date and encompasses a cosmological volume comparable to what the telescope will survey.It enables precise resolution of 16 billion dark matter haloes, which host even the faintest galaxies that Euclid intends to observe.They are identified with the rockstar halo finder (Behroozi et al. 2013).From this dark matter simulation, a synthetic galaxy catalogue was generated with a prescription including the halo occupation distribution (HOD) and abundance matching (AM) techniques, as well as empirical relations between galaxy properties (Euclid Collaboration: Castander et al. 2025).

10Each galaxy entry in the catalogue is associated with observed fluxes for multiple survey bands, observed spectroscopic redshift (z spec , including peculiar velocity), photometric redshift estimates (z p ), true redshift (z true ), true and magnified coordinates, lensing convergence κ and shear γ = γ 1 + iγ 2 .Source photometry is provided in terms of fluxes F (in erg s −1 cm −2 Hz −1 ) rather than in magnitude m.We generate magnified fluxes as in Lepori et al. (2025), using the relation

11We do not include the Doppler effect, which is usually a very small correction, and note that the effect of magnification is achromatic: that is, it is the same for for the different bands and it cancels for colours.We need mock samples Euclid-like photometric galaxies, Euclid-like Near-Infrared Spectrometer and Photometer Survey (NISP-S) galaxies, and other spectroscopic tracers (Dawson et al. 2013;Adame et al. 2024): BOSS-like low-redshift (LOWZ) and constant mass (CMASS) galaxies; DESI-like bright galaxies (BGs), luminous red galaxies (LRGs), and ELGs.The selection of each sample is described in the following sections.Differences in the redshift distributions or colours of observational and simulated galaxy samples may stem from the incompleteness of the target sample or limitations in the simulation's ability to replicate accurate colour distributions.As in Naidoo et al. (2023), systematic issues such as variable photometry, variable survey depth, and complex masks are not addressed.We generated one version of these samples with unmagnified fluxes, which will be our default samples, and one version with the same cuts on magnified photometry.We produced numerous fast generations of galaxy catalogues, varying sample definitions and areas, using the web application CosmoHub (Carretero et al. 2017;Tallada et al. 2020).Our photometric and spectroscopic samples are plotted in Fig. 1.

Euclid photometric sample

12The photometric sample was constructed by imposing an upper limit on the I E magnitude (Euclid Collaboration: Cropper et al. 2025), set at 24.5, to emulate the expected performance of Euclid (Laureijs et al. 2011).Several algorithms exist for evaluating the photometric redshift.We used the Deep-z estimate which was run for the full catalogue.The Deep-z photo-z method, introduced for the Physics of the Accelerating Universe (PAU) survey in Eriksen et al. (2020), uses a linear neural network with a mixture density network for predicting the redshift distributions.The network has not been pretrained on simulations, avoiding potential problems with over-fitting by using too similar simulations.The network was trained with 20 000 simulated galaxies, magnitude-limited to i LSST < 23 without colour selection.

13The training used the Legacy Survey of Space and Time (LSST; LSST Science Collaboration et al. 2009) bands plus Euclid nearinfrared (NIR) bands, a batch size of 200 and 1000 epochs with varying learning rates.The photometric noise added to noiseless fluxes corresponds to the depth forecast in the southern hemisphere for the Euclid DR3 time.The limiting magnitudes at 10σ are 24.4, 25.6, 25.7, 25.0, 24.3, 24.3 for the ugrizy bands of LSST,and 25.0,23.5,23.5,23.5 for the I E , Y E , J E , H E bands of Euclid (Euclid Collaboration: Cropper et al. 2025;Euclid Collaboration: Jahnke et al. 2025).

14LSST photometry will not be available over the whole Euclid footprint, and therefore the photometry will be different in the northern region where photometry will be provided by UNIONS (Gwyn et al. 2025).However, for clustering redshifts, we do not depend on photo-z quality except for the tomographic bin definitions and photometric bias correction.Spectroscopy from DESI and BOSS-eBOSS will be available in the north, and 4MOST will provide DESI-like samples in the south.Thus, photometric angular anisotropies will be tested in practice.

15We selected galaxies with photo-z between 0.2 and 1.6.We did not consider galaxies with a photo-z higher than 1.6 because we do not have large spectroscopic samples at redshifts greater than 1.8.Future studies could test the possibility of using quasar galaxy samples from BOSS, eBOSS, DESI, and 4MOST (Palanque-Delabrouille et al. 2016;Yèche et al. 2020) for high-z calibration.BOSS and eBOSS quasars were used for the clustering-redshifts DES calibration, but as a complement to ELGs and LRGs data sets for z < 1.1 (Gatti et al. 2022;Giannini et al. 2024).The low density of this sample, and clustering properties at high-z, require a dedicated study.Nonetheless, eBOSS QSOs will be used for the high-z calibration of the final DES data for 0.8 < z < 2.2 (d'Assignies et al., in prep.);thus one expects that DESI QSOs could be used up to z = 3.5 for Euclid.Generating DESI QSO mocks and testing clustering-redshifts with them is left for future work.

16We produced ten tomographic bins with approximately equal numbers of galaxies, through photo-z cuts.The fiducial Euclid survey at data release 3 plans to use 13 bins instead of ten, and we can assume that three of these bins will contain galaxies with z p > 1.6.The true redshift distributions (that we want to measure) of our simulated tomographic bins are reported in Fig. 1.

Euclid NISP sample

17We defined mock NISP-S samples in Flagship2 by selecting galaxies with H α fluxes greater than 2×10 −16 erg cm −2 s −1 (Laureijs et al. 2011), in the expected redshift range, with logf_halpha_model3_ext > −15.7 ,

18(2) 0.9 < z spec < 1.8 .

19(3)

20We obtained a galaxy density of 1990 deg −2 .Unlike the other spectroscopic samples, this dataset is expected to suffer from a significant level of contamination by interlopers (Euclid Collaboration: Le Brun et al. 2025, Risso et al., in prep.).These interlopers are galaxies whose true redshifts differ substantially from their estimated values, leading to incorrect associations in redshift space.Although our analysis did not employ realistic mocks that include such contaminants, we adopted the approach of Contarini et al. (2022): we uniformly down-sampled the galaxy catalogue, retaining only 60% of the originally selected galaxies.This down-sampled catalogue is then assumed to have 100% purity, effectively removing the impact of interlopers in our modelling.Thus, our fiducial density is 1200 deg −2 as the sample from Naidoo et al. (2023), which was generated with a brighter cut on the H α flux.This is a pessimistic sample from the precision point of view (i.e.fewer spectra means larger uncertainty on the redshift distribution reconstruction; cf.

21McQuinn & White 2013), but optimistic in terms of accuracy, because our sample is interloper free (Addison et al. 2019).Interlopers may significantly degrade the performance of clustering-redshifts if not taken into consideration, as they are not necessarily distributed randomly in redshift.Indeed, clustering-redshifts might be helpful to quantify the interlopers' properties such as their fraction and redshift distribution, by cross-correlating them with spectroscopic samples which do not suffer from the same misidentification.We will explore these two aspects in future work.

BOSS LOWZ and CMASS samples

22We replicated the BOSS colour-magnitude selections specified in Dawson et al. (2013) in Flagship, as in Naidoo et al. (2023).We first define

23There are two spectroscopic BOSS LRG samples: LOWZ and CMASS.They correspond to adjacent redshift intervals 0.15 ≤ z spec ≤ 0.43 and 0.43 < z spec ≤ 0.7, respectively, with true densities of about 30 deg −2 and 120 deg −2 , respectively.The LOWZ sample is defined by

24and the CMASS sample by

25We got LOWZ-and CMASS-like objects, with densities of 48.5 deg −2 and 164.3 deg −2 .We then applied sparse sampling to get the desired densities.We refer to the joint LOWZ+CMASS sample as the BOSS sample in our study.

DESI samples

26We generated DESI BG, LRG, and ELG mocks that mimic the sample characteristics reported in Adame et al. (2024).We associated these galaxy samples to the DESI survey, but similar samples are expected to be observed by 4MOST (Verdier et al. 2025).For BGs, and ELGs, we used the same cuts as Naidoo et al. (2023), which were based on DESI Collaboration et al. (2016).For LRGs, we used a different selection to generate a sample covering the entire z < 1.1 redshift range.As we previously mentioned in Sect.2.1, there is a mismatch in the Flag-ship2 colour distribution and data expectation, and using the same colour cuts can lead to some significant differences.We find this issue to be particularly problematic for LRGs.Therefore we did not apply the same selection as Adame et al. (2024), but rather we tried to closely reproduce the redshift distribution and galaxy properties with similar but modified cuts.We selected the BG-like galaxies with

27We adopted for LRGs the tailored cuts 18 < z < 21 , (15) − 6.5 < r − z − 0.4 z < −5.8 , (16) color_kind = 0 (i.e.red sequence) .

28(17)

29These cuts provided BG-, LRG-, and ELG-like objects with densities of 850, 909, and 4158 deg −2 .We achieved the fiducial densities 700, 550, and 1140 deg −2 with sparse sampling.

Theory and method

30In this section, we provide a detailed description of the clustering-redshifts method.Our approach begins with an overview of galaxy clustering in Sect.3.1.In Sect.3.2 we explain how the clustering equations are simplified for some particular redshift distributions.We then apply this formalism to the clustering-redshifts context in Sect.3.3.In Sect.3.4, we explain how clustering-redshifts are evaluated with data in practice.Finally, in Sect.3.5 we explain our strategy to deduce from the data-vectors constraints on the redshift distribution moments.In particular, in Sect.3.5.1,we state the Euclid requirements for the n p measurements, which must be fulfilled in order to provide robust constraints on cosmological parameters.

Angular galaxy clustering

31In this section we provide a general introduction to photometric angular clustering, as a basis for the development of our clustering-redshifts method.It draws inspiration from many previous weak-lensing and clustering-z works such as Davis et al. (2018), Krause et al. (2021), Gatti et al. (2018Gatti et al. ( , 2022)), Cawthon et al. (2022), andPandey et al. (2025).

Galaxy density contrast

32The observed angular galaxy count of a sample a (photometric or spectroscopic) is

33where N a is the mean (observed) galaxy count, and ∆ obs a is the observed projected galaxy density contrast.It can be expressed as (Krause et al. 2021)

34where µ refers to magnification, RSD to redshift space distortion (in the linear regime 2 ), and ∆ D a to the line of sight projection of the three-dimensional (3D) galaxy density contrast δ a (z, θ) :

35where n a (z) is the redshift distribution of the observed sample, normalised to unity, and function of the observed redshift.All these quantities are associated with observations, and they depend on survey properties (depth, masks etc.), but for clarity, we drop the "obs" index for the rest of our work, as we do not consider observational systematics.We also do not model relativistic corrections.

Angular two-point correlation function

36The angular two-point correlation function of samples a and b (with possibly a = b) from the observed projected density contrast can be written as

37where ⟨. ..⟩ indicates an average over angular scales, and θ is now a scalar. 3The dominant corrections (RSD×D; µ ×D) are already small with respect to the dominant term (D×D), and we decided to omit even smaller corrections (Krause et al. 2021;Gatti et al. 2022).

38We will mainly focus on the D×D correlation.Since it corresponds to the leading order, we omit its D index in the rest of the article.The clustering two-point correlation can be expressed as

39where we have defined the 3D cross-correlation function ξ ab (z a , z b , θ), and used ⟨δ x ⟩ = 0.While we have introduced the correlations as a function of sky separation θ, we can also express them as functions of the perpendicular comoving separation r p , defined as

40in the flat sky approximation, and small angle limit, where χ is the comoving radial distance (equal to the comoving angulardiameter distance with no spatial curvature).Working with r p instead of θ is relevant when making particular scale choices for evaluating the correlation, but the Python package we use, TreeCorr (Jarvis 2015) has angular separation as the default convention.

Moving to matter statistics with galaxy bias

41For large-scale correlations, the linear galaxy bias provides a relation between the galaxy overdensity and the matter density field δ m

423 Our Universe and its observation is assumed to be isotropic.Although the real isotropy of our Universe seems a reasonable hypothesis, observation may not always support it.For example, closer to the Galactic plane, there is more star contamination, leading to angular anisotropy.The Euclid observation strategy might also induce some angular anisotropy.This could potentially introduce bias on the cosmological parameters, especially for experiments such as Euclid or LSST (Baleato Lizancos & White 2023).Indeed, clustering-redshifts may be a valuable tool to investigate this issue by splitting the samples into independent sky patches.

43where b g is the galaxy sample bias, and δ m is the matter density field.Under this approximation, the angular correlation function becomes,

44where ξ m is the 3D matter two-point correlation.

45Following the literature, we used the linear bias expression of Eq. (32) by default.It is worth noting, however, that the linear bias expression is expected to break at scales around 6 h −1 Mpc.In addition, the next-order expression would extend this scale range to around 4 h −1 Mpc (Pandey et al. 2020).Thus, none of the equations (linear or non-linear e.g.App.A) are properly adapted to the standard clustering-redshifts scale ranges, (0.1-1) h −1 Mpc, (0.5-1.5) h −1 Mpc or (1-5) h −1 Mpc.However, linear bias has been tested to give accurate enough modelling for clustering-redshifts analysis (Gatti et al. 2018(Gatti et al. , 2022;;van den Busch et al. 2020;Cawthon et al. 2022;Naidoo et al. 2023).As a consequence, it is crucial to quantify and address potential deviations introduced in the reconstructed n(z).We will pay particular attention to the galaxy bias issue, nonlinear contributions, and the scale range choice.

Magnification

46In this section, we describe the two magnification terms in Eq. ( 27),

47Magnification is a lensing effect due to the gravitational bending of distant source light by the matter between those sources and the observer (Krause et al. 2021;Elvin-Poole et al. 2023).

48It introduces an angular position correlation for galaxies distant in redshift because of the lensing of a high-z galaxy sample by the matter traced by a lower-z sample. 4Fortunately, this effect, which breaks the naive hypothesis that in clustering-redshifts only galaxies close in redshift are correlated, can be modelled.Magnification impacts the apparent position of galaxies and their density.In regions of positive convergence,5 the apparent separation between any two points on a source plane is enlarged, leading the telescope to capture a larger apparent solid angle, consequently reducing the apparent galaxy density locally.Another effect of positive convergence is an increase in distant source flux received by the telescope, potentially resulting in a change in the number of galaxies passing through the selection function.

49Magnification was taken into account for clustering-z in DES, through direct modelling of its effect, and simulationbased estimation of magnification coefficients (Gatti et al. 2022;Cawthon et al. 2022).Complete inclusion of magnification should include position magnification, flux magnification, and its impact on photo-z, which can be significant (Legnani et al., in prep.), but we restricted this work to position and flux magnification.We detail how magnification can be modelled in the App.B. Since the tomographic bins are expected to be narrower for Euclid than for DES, the effect of magnification is expected to be smaller, as illustrated by the toy examples in App.B. Therefore, we do not include magnification in our default modelling.

50We will reassess the need to incorporate magnification in future work, based on the properties of the data bins.

RSD

51In the linear regime, RSD contributes to the projected galaxy density contrast through the apparent large-scale flow of galaxies across the redshift boundaries of the bins (Krause et al. 2021).Equivalently, the redshift distribution of galaxies as a function of the observed redshift is slightly different from the distribution as a function of the Hubble redshift.The latter should be used, however, as the modelling assumes isotropy through the correlation function ξ.Since the photometric tomographic bins are quite large, it would mainly affect the spectroscopic sample which is divided into narrow redshift slices; the narrower the slices, the larger the effect is.Therefore, only the term ⟨∆ RSD s ∆ D p ⟩(θ) may contribute to the two-point correlation of Eq. ( 27).We tested in Sect.4.7 the bias induced by the use of the spec-z instead of truez for the spectroscopic slicing, in the Flagship simulation, since peculiar velocities are included, cf.Sect.2.1.

Impact of the galaxy redshift distribution and its modelling

52A tomographic bin will be referred to as a sample p, without referring to the tomographic ID, as the latter is always explicit.Different spectroscopic samples are considered in this article from different simulated surveys and tracers, such as DESI ELGs.For a given survey tracer, we will additionally distribute the sample into redshift slices, with spectroscopic redshift cuts.For a given redshift slice, the galaxies will be referred to as s j , or {s, z j } with z j the mean of the redshift slice.We explore two cases for the modelling of the distribution and two-point correlations with a sliced spectroscopic sample.

Ideal case of a Dirac galaxy distribution

53The situation often presented in clustering-redshifts literature (e.g.Gatti et al. 2022;Giannini et al. 2024) is the one of a sample localised in such a small redshift slice that it can be approximated by a Dirac distribution

54The cross-correlation with a second sample is then simplified to

55with

56To go from Eq. (36) to Eq. (37), we assume the redshift evolution of the bias and distribution of the second sample is small in the support of ξ m (i.e. in a small redshift interval centred in z i ).

Realistic case: Spectroscopic sample into small redshift slices

57Using the Limber approximation, Eq. ( 33) reduces to,

58where ξ m is the same as in Eq. ( 38).In the standard scenario of clustering redshifts, the spectroscopic galaxy sample is localised within small redshift slices z i ± ∆z i /2, so that the distribution can be approximated as uniform

59where ∆z i is typically between 0.01 and 0.05.This modelling is of course only approximated true in practice, and would lead to some deviations which we will evaluate.In particular, under the assumption of constant galaxy bias across the redshift bin, the spectroscopic auto-correlation (b = a) becomes

60Thus, given a cosmology, w aa provides a straightforward measurement of the spectroscopic galaxy bias.We note that this equation diverges as ∆z → 0, and that, more generally, both our modelling and the Limber approximation are expected to become less accurate for narrower redshift bins and on larger angular scales (Simon 2007).For b a, when the redshift evolution of the biases b a and b b and the redshift distribution n b is neglected, we obtain

61The superscript Limber-1-bin refers to the integration of the matter distribution over a redshift bin equal to the spectroscopic slice; we uses the Limber approximation too.If one further neglects the matter correlation variation over ∆z i , one recovers the Dirac approximation Eq. (37); this is the approach of van den Busch et al. (2020), for example.

62A limitation of Eq. ( 42) is the assumption that the redshift distribution n b is constant across the bin.In practice, n b could be larger near the bin edges and smaller near the centre (or the opposite), leading to an underestimation (resp.overestimation) of correlations with galaxies localised near z i ±∆z i .To address these issues without resorting to Eq. ( 39), we propose a correction by explicitly incorporating contributions from galaxies outside the spectroscopic redshift slice (three-bins):

63We introduce the phased correlations

64which account for the correlation of two bins of widths ∆z i , separated by δz.Here, the three-bins modelling does not uses the Limber approximation.One can write Eq. ( 43) as with η 0 = 1 and

65where ξ 0,±∆z i m is defined in Eq. ( 44).This formulation allows for a linear inference of n from the two-point correlation, which can be implemented in practice, unlike the Limber-full-z case where n p (z) is integrated over, complicating the process.

Comparison of the correlation modelling

66In the previous sections, we introduced four different approximations of the two-point correlation function described by Eq. ( 33): w Dirac ab , w Limber ab , w 1−bin ab , and w 3−bins ab .In this section, we investigate the differences between them with a toy model.We consider 10 samples a i , each with a step-n(z) distribution as given by Eq. ( 40), centred at z i = 0.325 + 0.05 i, with i = 0, 1 . . ., 9, and ∆z i = 0.05.For the redshift distribution of sample b we take a Gaussian (µ, σ) = (0.5, 0.08).This reproduces an idealistic case scenario of clustering-z calibration, with sample b representing the photometric data, and samples a i representing the spectroscopic data.Several of these n(z)s are plotted in the upper panel of Fig. 2. We assume a constant galaxy bias b a (z) = b b (z) = 1 for all samples, and evaluate correlation functions for r p = 2 Mpc (a scale standard for clustering-z analysis).We numerically evaluated the functions with the CCL library6 (Chisari et al. 2019).We used the default configuration, which is based on predictions from CLASS (Blas et al. 2011) and halofit (Takahashi et al. 2012) for the nonlinear power spectrum.We evaluated the functions at scales where we know the predictions are not completely precise because of the galaxy-halo connection, but as will be explicit in Sect.3.3, this is expected to have little impact on real data.

67In the lower panel of Fig. 2, we show the deviation of the four approximations to the "exact" correlation Eq. ( 33), for the samples a i , b.The level of the deviations depends on the n b (z) where the correlation is evaluated: we observe a larger deviation near the peak and for the tails.We evaluated the root mean square (RMS) of the deviation to 1 and got 0.022 (Dirac), 0.021 (Limber-1-bin), 0.013 (3-bins), and 0.002 (Limber-full-z).We can see that the Dirac and one-bin approximations are very close.Taking into consideration the correlations from bin neighbours with three-bins, we get an improvement of 40%.Finally, the best approximation is the Limber-full-z case [i.e.integrating n 2 (z) instead of assuming some effective values], with a deviation of 0.2% for individual points, and an RMS smaller by an order of magnitude to the Dirac and one-bin approximations.

68In clustering-z studies, however, the redshift distribution n p (z) is an unknown quantity that we aim to constrain from the measurement of w ab .As a result, the Limber-full-z case is challenging to apply in practice, as the unknown n p (z) is integrated over.In contrast, for the Dirac and one-bin cases, n p (z i ) enters the calculation linearly, making it easier to extract information.The same applies to the three-bins approximation, which provides a better approximation, as we have demonstrated.

Application to clustering redshifts

69In the context of clustering redshifts, a photometric sample has an unknown redshift distribution n p (z).To reconstruct it, we measure the cross-correlations with spectroscopic samples, distributed into fine redshift slices (usually 0.02 ≤ ∆z ≤ 0.05).The distribution of these spectroscopic samples is assumed to be constant in each of these smaller slices (see Eq. 40).The amplitude of the photometric distribution at redshift z i can then be inferred linearly from the cross-correlation function between a spectroscopic bin centred in z i and the photometric sample [noted w sp (z i , θ) instead of w s i p (θ)], assuming the Dirac modelling Eq. (37):

70One can write a similar expression for the one-bin and three-bins modelling, as described in Sect.3.2.3.The spectroscopic bias can be measured with the spectroscopic auto-correlation, following Eq.( 41),

71The n p (z) is still degenerate with the photometric galaxy bias.In the next section, we describe different possibilities for correcting this degeneracy.

Correcting the photometric galaxy bias

72It is more complicated to measure the photometric bias than the spectroscopic bias since the sample cannot be split into small redshift slices and Eq. ( 41) cannot be applied.Here we introduce different methods.

73-M0: No correction at all.We assume there is no b r and b p redshift evolutions and renormalise the measured redshift distribution.-M1: Spectroscopic bias only.We assume there is no b p redshift evolution and renormalise the measured redshift distribution.

74-M2: The photometric bias is measured for the whole tomographic bin.Hence we do not take into account the redshift evolution within the tomographic bin, but we are increasing the uncertainty on the n p (z i ), and thus we are more conservative.-M3: The photometric bias is measured for relatively large photometric bins (∆z photo = 0.1), and the redshift evolution is deduced from a polynomial fit.The photo-z spreading of the bin needs to be corrected before the fit (more details in Sect.3.3.2). -M4: The photometric bias is measured for small photometric bins (∆z photo = 0.02), and the redshift evolution is deduced from a polynomial fit.The photo-z spreading of the bin needs to be corrected before the fit (cf.Sect.3.3.2). -M5: Full correction.The two biases are measured using the true redshift (simulation only).

75Methods 0-1-2-5 were already tested in Naidoo et al. (2023).Methods 3 and 4 are new in that context, but similar to methods from Cawthon et al. (2022) and van den Busch et al. ( 2020).

76Ideally, we would like to measure w ss and w pp over the same redshift slices: [z i ± ∆z/2[.In doing so, we would get

77We note that we derive this equation with the linear bias assumption.Indeed we show that it remains valid at the next-order of the bias expansion in App. A. This ideal situation corresponds to M5, the photometric sample being distributed into redshift slices with the true redshift variable.This method can only be evaluated via simulation.The aim of methods 3 and 4 is to estimate w pp but with a different binning, and taking into account the photo-z spreading.With M2, we don't correct for the redshift evolution, but we aim to take into account the variance induced by the photometric galaxy bias (Naidoo et al. 2023).

More details about the M3 and M4 corrections

78With methods 3 and 4, the photometric sample is divided into bins (denoted j) based on photo-z cuts.These differ from the spectroscopic distribution described in Eq. ( 40), therefore requiring correction for the photo-z spreading.In other words, a photometric bin cannot be approximated by a redshift slice.

79In practice, we measure the n(z) of these bins with the clustering-redshifts M1 method (cf.Sect.3.3.1).This method assumes negligible photometric redshift evolution within each small bin.Then, we want to convert our imperfect-bin measurement to what we would measure for an ideal case with step n(z).Using the Limber case (cf.Sect.3.2.3),we introduce the correction to the two-point auto-correlation function

80where the ∆z corresponds to the spectroscopic redshift bin of the w sp correlation.We refer to this as the "full" correction, as it accounts for the redshift evolution of the matter correlation function across the bin.We use CCL to evaluate ξ m at small scales.

81A simpler approximation has been implemented for the DES redMaGiC and Maglim samples (Cawthon et al. 2022;Giannini et al. 2024).The correction was modelled with w corr pp (z j , θ) = w meas pp (z j , θ)

82where n i (z) was estimated for the redMaGiC subsample having a spec-z and a photo-z (Gatti et al. 2022), or with clusteringredshifts (Cawthon et al. 2022).This is referred to as the "partial" correction, as it makes additional simplifying assumptions compared to the "full" correction in Eq. ( 50).

83The "width-only" correction applies when using different bin widths for the auto-and cross-correlation functions, while still neglecting the effects of photo-z spreading across the bin.This correction simplifies to

84In summary, the "full" correction accounts for the redshift evolution of the matter correlation function, the "partial" correction introduces additional approximations by assuming a simplified n(z), and the "width-only" correction applies when focusing solely on differences in bin widths while neglecting photoz spreading.We illustrate these methods and apply them to clustering-redshifts in Sect.4.8.These two methods for correcting photometric galaxy bias share similarities with the method in van den Busch et al. ( 2020).We do not assume a bias model of the form B p (z) ∝ (1 + z) α , however.Instead, we directly measure and correct w pp (z) by constraining the photo-z spreading using clustering-z for smaller bins.Theoretically, the two approaches could be combined, which would eliminate any systematic effects continuous on the redshift, without assuming a particular model.

Data vectors reduced to scalars with some weighting

85Using Eq. ( 48), one can extract a measurement of n p for different r p (or equivalently θ).To optimise the sensitivity, it is standard to reduce all the data vectors to scalars with a scale weighting W w (r p ), (53)

86We introduce the scale-weighted matter correlation

87It is easy to show that Eq. ( 48) or Eq. ( 49) are still valid with integrated quantities.The scale weighting is usually chosen as a power law W w (r p ) ∝ r γ p , where the function is normalised to unity (e.g.Gatti et al. 2018;van den Busch et al. 2020;Naidoo et al. 2023).Choosing γ < 0 increases the impact of small scales.They are expected to be less noisy but also more sensitive to non-linearities.Inversely, the measurement is not biased at large scales (i.e. the linear bias is a good model), but uncertainties are usually larger.Another reason to use small scales instead of large ones is to keep the calibration independent from the twopoint weak-lensing analysis: using smaller and different scales, one can safely neglect the covariance between calibration and the observables.Nonetheless, these small scales are not used for the cosmological analysis for physically motivated reasons (nonlinearities), which in theory should apply to clustering-redshifts as well (Pandey et al. 2020).Hence, the scale range is an important parameter and we will investigate this scale-weighting procedure in detail in Sect. 4.

88Another possibility of weighting is to combine the different n p (z i |r p ), with a particular weighting W n (r p ):

89In other words, we integrate directly n(z| r p ), which is w sp for M0, w sp / √ w ss for M1 or w sp / √ w ss w pp for M2-3-4-5.

Estimating the correlations with pair counts

90We evaluated position-position correlations by counting pairs separated by a certain distance divided by the expectation of uncorrelated samples (random) to properly normalise the correlation.We chose the Landy-Szalay (LS) estimator (Landy & Szalay 1993),

91where D a D b , D a R b , R a D b , and R a R b are the standard data-data, data-random, random-data, random-random pair counts of samples a and b.We note that we omitted the galaxy number normalisation factors which correct for the randoms being ten times more numerous than data.Further details are given in App. C. As we were working with a simulation omitting observational systematics and masks, we generated random catalogues homogeneously over the footprint, taking 50 times more randoms than data.

Estimator weighting scheme

92Given the weighting procedure Eq. ( 53), it is natural to weight the estimator as

93where the numerator is a concise notation for the numerator of Eq. ( 56).In the context of clustering redshifts, this weighted estimator was first introduced by Ménard et al. (2013), and later used by Cawthon et al. (2022).

94Another weighting scheme was introduced by Schmidt et al. ( 2013), and was used by Davis et al. (2018), Gatti et al. (2018), van den Busch et al. (2020), andNaidoo et al. (2023).The principle is to scale-average data-data and random-random pair counts:

95Schmidt's motivation to do so was to assume that the ratio of the averaged quantities would lead to higher signal-to-noise (S/N) than the averaged ratio (which is expected for a constant ratio, which is not the case here This effective weighting is still re-normalised to unity as required by the denominator of Eq. ( 59).The mask incompleteness is not rigorously corrected (cf.App.C), except if η mask is scaleindependent. 7By default, we consider the first estimator (Eq.57), since understanding the weighting is straightforward, and the mask is better corrected, but we will test and compare the two in the results section. 8

Covariance matrix

96We used the jackknife covariance matrix as our fiducial covariance.For a measured data vector w, the covariance matrix is

97where N Jkk is the number of jackknife regions, w k is the data vector excluding the data from the k th region, and w is its mean value.Here, w can be, for example, the vector w sp (r p ), the ratio of vectors w sp (r p )/ w ss (r p ), the scalars w sp , or the ratio of scalars w sp / w ss .In this article, we use a sufficiently large number of regions ( 200), with a small enough number of points (around a dozen), so that Hartlap (Hartlap et al. 2007) or Percival (Percival et al. 2022) corrections to the inverse of the covariance are at the percent level and can be safely neglected.

clustering-redshifts requirements for cosmic shear

98The success of the Euclid mission requires achieving a particular precision in the characterisation of n(z) of the tomographic bins i.

99The requirements usually focus on the mean redshift, expressed as

100as illustrated in works such as Gatti et al. (2018), van den Busch et al. ( 2020), and Gatti et al. (2022).The desired precision for the Euclid mission requires knowledge of the redshift standard deviation, however, which is denoted as

101as outlined in Reischke (2024).The criteria are as follows: the mean redshift bias (Laureijs et al. 2011;Reischke 2024) and the 7 For scales that are neither too small nor too large, it should be a valid hypothesis, at least to first order. 8Of course, in practice, all the previous integrals are discrete, with 70).The redshift convolution modifies the shape of the distribution for larger slicing compared to the real slicing as estimated with a very thin slicing (grey).For this case, all slicings ∆z ≤ 0.06 produce a good estimate.

102redshift standard deviation (Reischke 2024) for every bin should be measured with precision

103(68)

Discretisation of a distribution

104The last step of a clustering-redshifts pipeline is to derive the n p (z) moments from the discrete measurements n p (z i ).The mean redshift of a bin is evaluated with

105We are not directly measuring n p (z j ) but rather its averaged value over ranges z j ± ∆z/2,

106As a consequence, Eq. ( 69) is an accurate approximation of the exact integral form as long as ∆z is small compared to the tomographic bin width.As an example, the numerical difference between Eq. ( 69) and Eq. ( 65) is O 10 −4 for our Euclid tomographic bins (cf.Sect.2.2), and ∆z = 0.02-0.5.Nonetheless, the recovered shape of the distribution is affected by Eq. ( 70) and for large ∆z the measured distribution would be flattened.We illustrate this in Fig. 3, plotting a galaxy distribution (which in practice corresponds to a very thin slicing), and the same distribution with a ∆z averaging as Eq. ( 70).We see that the flattening associated with the bin increases.These effects will also be tested in Sect. 4.

Overall strategy

107The uncertainty on the mean-z directly inferred with Eq. ( 69) would not fulfil the Euclid requirement Eq. ( 67).In doing this, we would be very conservative, allowing for any tomographic bin shape, whereas in reality, we know their shape a priori.Thus, we can define some priors on the n p (z) properties to decrease the uncertainty.We describe two possibilities:

1081. we assume a prior on the shape of the distribution, through a n(z) model; 2. we use Gaussian process formalism, to generate coherent realisations, assuming a kernel, which is related to how "fast" the distribution is evolving in redshift.

109Thus in one case, we put a prior on the shape of the tomographic bin, and in the other, on the redshift variation.

Shifted-stretched model

110For this approach, we evaluated a given model n model (z) with some parameters {p 1 , p 2 . ..}, by minimising the likelihood,

111where {n p (z i )} i , and the associated covariance C n are the measured quantities.Then, using a Markov chain Monte Carlo,9 the mean redshift and standard deviation were extracted from one thousand realisations of {n model }.

112For the n model , we use the shifted-stretched model (SSM), which is commonly used for clustering redshifts; given a particular distribution n(z) with a mean redshift ⟨z⟩, two free parameters are used describing a redshift shift δz and a stretching s,

113This model is particularly convenient because for a given δz, s, the bias in mean redshift and standard deviation with respect to the model are δz and s.In our case, as the model is the true redshift distribution, we have

114As we use the true redshift distribution of the bin as a model (simulation only), the performance may be overestimated compared to a realistic scenario, where the model is taken from a Self-Organised-Map estimate (e.g.Hildebrandt et al. 2021), or a candidate from a simulation (e.g.Gatti et al. 2018Gatti et al. , 2022;;Cawthon et al. 2022).That is why we also consider a more direct method.

Suppressed Gaussian process

115We introduce the suppressed-Gaussian-process model (SGP) developed by Naidoo et al. (2023); GP reconstruction from clustering-redshifts was also performed in Johnson et al. (2017).

116The main benefit of this approach is that it is non-parametric.The procedure is as follows:

1171. we generate realisations of Gaussian Process (GP) where the multivariate normal distributions are the measurements, and model the correlation between the points through a specific kernel;10 2. we apply to the realisations a suppression function that damps signals in regions where the measurements are consistent with zero;

1183. the realisations are renormalised to unity; 4. the moments of the true distribution and their uncertainties are estimated from this large sample of normalised SGP realisations.

119For the GP covariance, we chose a 3/2 Matern kernel function, and assume the length-scale l to be l = ∆z/2 where ∆z corresponds to the redshift slicing. 11To validate these choices, we tested different kernels and length-scale, by comparing generated GP from discrete n(z i ) and covariance to true n(z); see, for example, the right panel of Fig. 4.

120For the second step, given a GP realisation i, the associated SPG is

121where S is a suppression factor that removes the noisy part of the distribution.We chose the parametrisation

122In the above, the x variable is a smoothing of the continuous signal-to-noise ratio (SNR)

123Here G is a Gaussian with a standard deviation ∆z, * represents the convolution operation, which smooths the SNR between data points (and avoids non-physical cuts), and SNR thresh is the SNR threshold below which the suppressed factor is applied.Thus, if SNR < SNR thresh over a redshift range larger than ∆z, the amplitude of the realisation n i GP (z) would be reduced by a factor k/3 × SNR.We fix k = 0.3 in Eq. ( 76), so that the suppressed factor rapidly drops for x < 1, but we ensured that the impact of this parameter was small.

124In Fig. 4 we illustrate the whole procedure.We show for a measurement {n p (z i )} i , C n (not normalised to unity), GP realisations, their SNR n GP /σ(z), and the associated normalised SGP realisations compared with the true distribution.It is clear that going from the left to the right panel, the overall procedure greatly improves the realisations.Nonetheless, the procedure could be optimised further in the future, since we did not rigorously explore all of the SGP parametrisation.

Results

125In this section, we present the clustering-redshifts pipeline optimisation.In Fig. 5 we summarise the different ingredients entering the modelling of clustering redshifts, and the corresponding validation tests presented in this section.In Sect.4.1, we describe the simulated data used.In Sect.4.2, we compare the performance of the clustering estimator.In Sect.4.3, we evaluate the hypothesis that the galaxy biases of cross-correlations and auto-correlations are the same at small scales.In Sect.4.4, we determine the optimal scale range, and in Sect.4.5, the optimal scale weighting.In Sect.4.6, we test different spectroscopic slicing ∆z for measurements affected by systematics, with the effects of these systematics tested individually in Sect.4.7.In Sect.4.8, we compare different galaxy bias correction methods.Finally, in Sect.4.9, we investigate the impact of the tomographic bin definition on the redshift constraints.

Investigation strategy

126Our investigation strategy consists of varying a set of analysis parameters to check the impact on clustering redshifts.We chose to use three tomographic bins covering the full redshift range of interest and corresponding to different types of galaxies.The three tomographic bins: "low-z", "mid-z", and "high-z", were generated within the Flagship simulation with the photo-z cuts:

127They corresponds to bin 2, 7, and 10 in Fig. 1.For reference samples, we used BOSS LOWZ and CMASS, DESI ELG, and Euclid NISP-S like samples.We report the redshift distribution of the tomographic bins and spectroscopic samples in Fig. 1.

128To characterise the uncertainty from sample variance in our analysis, we split each tomographic bin into five independent Flagship2 sky patches12 of 1000 deg 2 .As the simulation is limited to 5000 deg 2 , this is the maximum number of large independent patches that we can use.When investigating the optimal spectroscopic slicing we do not want our results to be biased because the points luckily cover the optimal part of the distribution.Thus, for every patch j = 1, . . .5, we varied the redshift slicing of the spectroscopic samples z i ; ∆z, by shifting the slice centres by j × ∆z/5.To summarise, we tested over five independent 1000 deg 2 sky patches for three tomographic bins, each crosscorrelated with spectroscopic samples distributed into different slices for each patch (but with the same ∆z).

Choice of the estimator weighting scheme

129In this section, we compare the two different estimators of the angular correlation function, described in Sect.3.4.1.We measured the auto-correlations of spectroscopic samples for a 1000 deg 2 sky patch, a single redshift bin of width ∆z = 0.05, and the two estimators:

130w (1) ss defined by Eq. ( 57), where weighting is applied to the ratio of pair counts; w (2) ss defined by Eq. ( 58), where weighting is applied directly the pair counts.

131Correlations were evaluated for the scale range 0.5-5 Mpc, and with different weighting functions W ∝ r γ p .The results are reported in Fig. 6.We used logarithmic binning, and expect the measurements to be weighted by an effective function W eff ∝ r γ+2 p (cf. Eq. 60), which is confirmed by the matched amplitudes of blue-yellow and purple-red points.Importantly, we do not observe significant differences in the associated uncertainties between the two estimators with the corresponding weights.ss with W(r p ) ∝ r 1 p Fig. 6.Auto-correlations of two spectroscopic samples for a single redshift bin (∆z = 0.05).The yellow and red points are obtained using the first estimator w (1) ss with γ ∈ {−1, +1}.The blue and purple points are obtained using the second one w (2) ss with γ ∈ {−3, −1}.The consistency of the points with different weights illustrates the effective weighting due to the estimator definition.ELGs.This coefficient informs on the small-scale under-correlation of blue and red galaxies.

132Given that the weighting variation does not offer any practical advantage, and leads to unnecessary complexity in the weighting process (cf.App.C), we adopted the first estimator, Eq. ( 57), as our fiducial choice for this analysis, and we will evaluate the optimal value of γ.

Testing the bias-cancellation hypothesis

133The scales used for clustering-redshifts calibration are typically very small [e.g.(0.1-5) Mpc] in order to minimise correlations between the calibration and the cosmological analysis, and to maximise the SNR.The associated nonlinear effects are often overlooked, however.Most authors assume that for two galaxy samples located within the same redshift bin, the two-point angular correlation function follows the relation:

134If we were using scalar product, instead of scale correlation function, this would be equivalent to the Cauchy-Schwarz equality, which implies that the density contrasts ∆ a and ∆ b are linearly dependent, and the Pearson correlation coefficient r ab is 1, with

135At large scales (> 10 Mpc) galaxy samples act as linear tracers of the underlying dark matter density field.In this case, δ a = b b /b a × δ b , which means that galaxy field are linearly dependant.At smaller scales, the linearity between the dark matter field and galaxy statistics begins to break down.For a more complex biasing between matter field and galaxy field, however, we would still expect |r ab | ≤ 1. 13At even smaller scales (within the one-halo regime), the modelling of galaxy fields as random variables of the dark matter field breaks down (e.g. in Swanson et al. 2008, clustering properties between galaxy subpopulations was investigated), potentially impacting cosmological inference (e.g.Chaves-Montero et al. 2023, in the context of weak lensing).We illustrate this issue with an extreme example: one sample consists only of central galaxies, whilst the other consists only of satellite galaxies.If we assume there is at most one satellite galaxy per halo, the autocorrelation of central and satellite galaxies would be very small on scales smaller than the halo size, but still non-zero as we are not evaluating 3d clustering.The positive cross-correlation between the two would be strong, however.This would result in r ab ≫ 1, which is not possible for random variables.The reason for this discrepancy is that the statistics of the satellite distribution depend on those of the central galaxy distribution.In typical halo occupation distribution models, the probability of hosting a satellite galaxy is conditional on the presence of a central galaxy.Alternatively, if two galaxy samples populate different haloes, the cross-correlation would be very small on scales smaller than the halo size, while the auto-correlations would remain significant, leading to r ab ≪ 1.

136The scale range mentioned earlier (referred to as "small" and "smaller"), and the behaviour of the r ab coefficients are not clearly known.We decided to improve this aspect for our Euclid calibration method.

137The small-scale effects that we have described are not a hypothetical framework, as this type of behaviour has already been observed in spectroscopic surveys.For instance, the first DESI data provides clear evidence that LRGs and ELGs exhibit low cross-correlation signals at small scales (a phenomenon socalled "conformity"; Rocher et al. 2023;Yuan et al. 2025;Gao et al. 2024).This occurs because these galaxies reside in different haloes, with their properties influenced by the history of the halo.

138Given that the under-correlation between red and blue galaxies is well established, we aimed to test whether the Flagship simulation could reproduce this small-scale effect.Our strategy was to split the two samples into redshift slices (∆z = 0.05) using true-redshift, and to measure the ratio with angular correlation,

139which is expected to be 1 under the linear approximation.8. Pearson coefficient for our three simulated bins: low-z, mid-z, and high-z.This term is assumed to be one for clustering-redshifts calibration.

140We see different behaviours, r = 1, r < 1, and r > 1 for different scales and redshifts, except for the high-z bin, for which r = 1 (almost) everywhere.

141In Fig. 7 we show r ab (r p , z) for the Flagship LRG and ELGlike samples.We recover the under-correlation at small scales, through r ab (r p , z) < 1.This ratio not only decreases with scales, but also with redshift.Since the recovered n(z) is degenerate with r, an evolving r with redshift would introduce a bias in the reconstructed n(z).This confirms the presence of one-halo behaviour in the Flagship simulation.However, since these behaviours were only recently identified and are still being actively studied, it is likely that their implementation in the Flagship simulation is incomplete or not fully accurate.A thorough study of this aspect of the simulation and one-halo physics is beyond the scope of this article.

142In Fig. 8 we report r ab (r p , z) for the three simulated photometric × spectroscopic bins (defined in Sect.4.1).We observe significant scale and redshift evolution of the ratio, at least for the BOSS and DESI correlations, at scales smaller than 1 Mpc.Notably, we find r > 1, which we attribute to the physics of galaxyhalo connection and galaxy formation rather than non-linearities in the matter field (cf. the beginning of this subsection).Proving whether this is due to limitations in the HOD modelling or is a reliable prediction of the simulation is beyond the scope of our work.There is also a weak under-correlation for the low-z bin (and the mid-z) at scales (1-8) Mpc, but it does not appear to evolve with redshift, and is therefore not expected to introduce a bias into the n(z).This may correspond to the correction for non-linearities described above (r ≲ 1).For the high-z bin, we do not measure deviation from unity at any scale.

143Given these results, we are confident that using projected scales larger than 1.5 Mpc would avoid this one-halo effect. 14s simulations improve in their modelling of galaxy halo properties, this test will need to be repeated.The ratio amplitude, scale, and redshift evolution are different depending on the tracers: under-correlation for DESI LRG and ELG in Fig. 7, and overcorrelation for Euclid photo and DESI ELG in Fig. 8.We recommend to use only one type of spectroscopic tracer for the sample s when evaluating cross-correlations between photometric and spectroscopic samples at a specific redshift: w sp (z i ), avoiding mixing ELGs and LRGs for example.If different spectroscopic tracers {s j } j are available for the same redshift z i , we can then predict different n p (z i |s j ) and combine them (e.g.Hildebrandt et al. 2021).Small-scale effect could lead to incompatibility as we show in this section, so that this procedure is more likely to detect systematics, and more robust.

Choice of the scale range

144In this section, we investigate the best scale range that minimises the deviation

145while maximising the SNR.We explored a wide range of scales, including those previously discarded in Sect.4.3.Unlike the estimator of w in Eq. ( 57), which averages over scales, our estimator was evaluated for a single scale15 as in Eq. ( 48).Consequently, we refer to the distribution measured as n p (z | r p ).We always normalised the measured distributions to unity.We employed three methods for correcting the bias, covering all the bias correction cases: no correction (i.e.M0), spectroscopic correction (i.e.M1), and full correction (i.e.M5). 16This approach allows us to assess how bias correction influences the optimal scale range.We used three statistical indicators, as a function of the projected scale

146the (mean) signal-to-noise-ratio

14710 -1 10 0

RMS[∆n](r p )

148Low-z Mid-z High-z 10 0 10 1

SNR[n](r p )

14910 -1 10 0 10 1 r p in Mpc with N z the number of points (equivalently the number of redshift slices of the spectroscopic sample).These indicators, evaluated at scales ranging from (0.05-10) Mpc for the different bins and bias corrections, are reported in Fig. 9.The thin lines represent individual realisations of 1000 deg 2 patches, while the thicker lines indicate their means.We first discuss the impact of the bias correction.Whilst the no-bias correction model M0 shows a higher SNR for scales lower than 1 Mpc, its corresponding χ 2 z value is very high, indicating that it is not accurate.Therefore, we focus exclusively on M1 and M5 for the remainder of this section.Both methods perform similarly for the SNR, but for mid-z and high-z, M5 provides a χ 2 z closer to unity.For the three tomographic bins, the RMS is increasing for smaller scales.This increase is associated with a lower SNR, and the χ 2 z remains relatively constant.This suggests an overall consistency, and we can choose the scale range based on the SNR only.For the low-z bin, it peaks at 1 Mpc and then decreases.For the other two bins, it appears to peak around 2 Mpc, with a small decrease for larger scales.

150In conclusion, the scale range (1.5-5) Mpc appears to be well suited for clustering redshifts; it is nearly optimal regarding the SNR; the χ 2 z is almost minimal for the whole range; it avoids the r p < 1.5 Mpc one-halo regime (excluded in Sect.4.3); these scales are not used for cosmological analysis.

151This scale range is the same as in Gatti et al. (2022) and Giannini et al. ( 2024), but significantly larger than in other works such as van den Busch et al. ( 2020), Cawthon et al. (2022), andNaidoo et al. (2023), which used scales of 0.1-1 Mpc h −1 or 0.5-1.5 Mpc h −1 .Early clustering-redshifts studies even advocated for using smaller scales, down to the kpc range (Ménard et al. 2013;Schmidt et al. 2013).We note that we have chosen scales that avoid the one-halo term and the range of scales used for cosmology.One way to be conservative on the small-scales bias effects would be to use only large scales, overlapping those used in the 3 × 2 point analysis.In previous calibrations such as HSC, KIDS, and DES, scale choice was largely driven by the lack of spectroscopic sample (Hildebrandt et al. 2021), and the range was chosen to be at the peak of the SNR (Gatti et al. 2018).For Euclid, this will no longer be the case, and from Fig. 9 it is clear that larger scales can be used for calibration.However, it requires the generation of a more complex covariance to accurately propagate the correlation.This was proved to be informative through a Fisher formalism in Johnston et al. (2025), but never implemented in practice with simulated or real data, and is beyond the scope of this article.

Choice of the scale weighting

152In this section, we varied the weighting W(r p ) in Eq. 53 and evaluated the RMS and SNR defined in Eqs. ( 85) and ( 86).The scale range was fixed to (1.5-5) Mpc following the last section's conclusion.We tested three power laws

153and two different weighting schemes: High-z

154In Fig. 10 we show the comparison between the SNR and the RMS for the three tomographic bins, with three power laws, two weighting schemes, and two bias correction methods (M1 and M5).The small markers are the realisations for the five individual 1000 deg 2 patches, while the larger markers indicate their means.The region of interest covers the lower right part of the plots, as it corresponds to minimum deviation and high SNR.

155Notably, the RMS/SNR plot displays a linear trend, indicating that points with a smaller deviation are associated with a better SNR, which is consistent with the expectations for an unbiased measurement.For all three redshift bins, the optimal weighting is the inverse scale weighting (darker red marker), a similar result to Schmidt et al. (2013) and Ménard et al. (2013).The reason is that SNR is higher, while RMS is lower, for scales around 1.5 Mpc than 5 Mpc (cf.Fig. 9).W w and W n are similar for the RMS, but the first performs slightly better for the SNR.These findings hold for M1 and M5.Additionally, we confirm that correcting the photometric bias for the first redshift bin is not strictly necessary in terms of RMS, but it does lead to a better SNR.Thus, the best weighting scheme appears to be the inverse scale weighting applied to correlation functions, combined with a full bias correction approach.

Finding the optimal spectroscopic slicing

156In the previous sections, we did not include systematics (e.g.magnification) in the measurement because we were questioning the optimal statistical choices on the two-point clustering itself, hence the use of statistical quantities such as RMS and SNR.In the rest of the article, we consider realistic measurements, including systematics, and evaluate their impact on the moments of the redshift distribution we aim to calibrate.

157In this section, we varied the slicing of the spectroscopic sample ∆z, cf.Sect.3.2.2.On the one hand, narrow slices are more sensitive to corrections associated with bin modelling (cf.Sect. 3.2.3),magnification (cf. Sect. 3.1.4),or RSD (cf. Sect. 3.1.5).On the other hand, if the slices are too wide, there may not be enough points covering the distribution to properly measure the n(z), the shape would be flattened (cf.Sect.3.5.2and Fig. 3), and the assumption that galaxy biases and redshift dis-tributions are constant may break (cf.Sect.3.2.2).Therefore, we aim to find a compromise between narrow slices affected by systematic errors and large slices that are not statistically optimal, and for which the modelling might not be precise enough.The impacts of the systematic errors are tested one by one in the next Sect.4.7.

158We introduced the systematics using magnified sky coordinates and fluxes for the photometric and spectroscopic samples, and spectroscopic redshift (including peculiar velocity) for the spectroscopic sample.We used M5 as the bias correction method.For extracting the distribution moments from the {n(z i )} we employed the SGP n(z) reconstruction introduced in Sect.3.5.5.We did so because, even with few points, fitting the true distribution (as with the SSM, cf.Sect.3.5.4) is likely to yield good yet unrealistic results, whereas the SGP provides weaker yet realistic constraints.

159We measured the mean (absolute) biases on the mean |⟨z⟩ − ⟨z⟩ true | and standard deviation |σ z /σ true z − 1| of the n p (z) for different slicing, where the mean is evaluated over the five independent patches.We reported the mean values and their associated mean uncertainties in Fig. 11.We also created a similar plot using the SSM and obtain comparable results except for the uncertainties, which remain constant across the different slicing.This confirms our previous statement and justifies the choice of the SGP.

160First of all, the uncertainties (y axis) on mean redshift and shape increase with the slicing ∆z, and we also observe larger deviation for wider slices.Regarding the shape reconstruction (related to σ z ), narrow slices are not associated with larger deviations, except for the mid-z bin.For the mean redshift, small slicing is associated with similar or larger deviations than ∆z ∼ 0.05, but not larger uncertainties.The optimum slicing appears to correspond to 0.04 ≤ ∆z ≤ 0.06.

161Consequently, we decided to use a redshift slicing of ∆z = 0.05 for every bin, for the rest of the study.This is larger than the slicing used for DES (Gatti et al. 2022;Giannini et al. 2024), but the same as the previous Euclid clustering-redshifts paper (Naidoo et al. 2023).As illustrated by the sandy region in Fig. 11, we predict that the systematic errors for this redshift slicing will not shift the data points outside the Euclid requirement.Since the ∆z = 0.05 points are predominantly on the diagonal (except for the mid-z mean-z), this suggests that the corrections are fairly small for this slicing: the parameters are not biased more than 1σ away from the truth.The mid-z is the only case where we might fail to fulfil the requirement if we do not correct for the systematic errors.We investigated the origin of this deviation in detail in the next section.

Evaluating the (mis-)modelling of the clustering, magnification, and RSD

162For clustering redshifts, we measure the cross-correlation of a wide photometric tomographic sample with several spectroscopic slices, and we assume that only the photometric galaxies within the redshift range of the spec-z cuts contribute to a nonzero correlation.There can be three corrections:

163galaxies in the nearby redshift (nearby bins) can correlate as well (we refer to this as the one-bin approximation); galaxies not covering the same redshift range can be correlated through magnification processes; spectroscopic redshifts can be different than true redshifts, leading to correction on the n s at the boundary of the bin.

164Two of these effects can be understood as bin border effects, and for larger slices they are expected to decrease in proportion.

165For wide spectroscopic slices, the assumption that n(z) and b(z) are constant within the bin might break down.We also note that spectroscopic interlopers were not included in the Euclid spectroscopic samples.

166In the previous Sect.4.6, we demonstrated that the compromise between having enough points n p (z i ) and limiting these effects, corresponds to slicings ∆z = 0.04-0.06,regardless of the tomographic bin.To assess the influence of each effect, we used the idealised bias correction M5 to avoid the impact of galaxy bias, and proceed as follows:

167-To test the impact of the one-bin approximation, we compared the cross-correlation w sp (z i ) with spectroscopic slices and the tomographic bin for two cases.In the first one, referred to as the "full bin", the photometric sample is the fiducial one used in this paper.For the second case, referred to as the "independent bins", we used idealised tomographic bins.

168To generate these idealised tomographic bins, for every z i , we keep only the photometric galaxies within the same redshift range as the spectroscopic galaxies (using true-z), and then complete this sample with randoms to maintain the total number of galaxies as in the full tomographic bin.This ensures that only the galaxies within the redshift slice of the spectroscopic sample contribute to the correlation, for each spectroscopic slice.-To test the magnification effect, we compared the results using the magnified variables for position and fluxes (over which we apply the samples cuts), or the unmagnified ones.-To test the RSD effect, for the spectroscopic samples we used either the Flagship true redshifts, or the observed ones, the latter corresponding to a spectroscopic-like redshift estimate (including velocities).-We also tested all these effects together, referred to as "Total".

169In Fig. 12 we show the deviations associated with the different systematic effects for different slicing, for the SGP.The same test for SSM methods is presented in Fig. 13.The corresponding values for the two procedures are listed in Table D.1 for ∆z = 0.05, in App.D. For RSD and magnification, we have to consider the full tomographic bin, which by default comes with the one-bin approximation.Therefore, the full bin assumption has to be compared with "independent bins", and the RSD or magnification has to be compared with the full bin.

170For the SSM and SGP, with ∆z = 0.05, the constraints on the redshift standard deviation σ are within the requirements independently from the effects.Only a large slicing of ∆z = 0.08 leads to some measurements out of the requirements because not enough points cover the distribution, and with larger slicing, the distribution appears flattened (σ z /σ true z > 1) as shown in Fig. 3. Regarding the mean redshift bias, all the "independent bin" measurements are consistent with no deviation at the 1 to 2σ level with the SGP and SSM.This suggests that our choice of scale and weighting is sufficient to limit the small-scale effects (cf.Sect.4.4).In general, for the three tomographic bins, all the systematics lead to some deviations compared to the independent bins, but distinguishing these variations from statistical fluctuations is complicated.It is clear that the SGP procedure is more sensitive to these effects.The reason for this is that with SSM we compare the measurements with a model free from these effects.As this model is, in our case, the truth, its results may be optimistic.Nevertheless, with a SOM estimate as a model, we might expect a similar low sensitivity to these effects.For smaller bin sizes, the error bars are smaller, but the deviation due to systematic effects is at least as large as for other sizes.Wider slices are associated with greater uncertainty, and the balance between accuracy and precision is achieved for ∆z = 0.05.For this bin size, the systematic effects do not produce deviations that exceed the requirements.However, for the mid-z bin, with SGP these systematic effects result in a deviation right at the limit of the budget on the mean-z, as the bias is 0.0038 ± 0.0017 (the requirements being 0.0038).For the optimistic case (SSM), the deviation remains within the requirements: the bias in mean redshift being 0.0022 ± 0.008.The effect causing this large deviation for SGP seems to be the one-bin approximation.In Fig. 14, we report the true redshift distribution of three bins are shown alongside clustering-redshifts measurements for three slicing values: ∆z = 0.02, 0.05, and 0.08, excluding the effects of RSD and magnification.We observe increasing deviations with finer slicing, whilst the shape reconstruction becomes less precise for coarser slicing (cf.Fig. 3).The small slicing deviations are higher for the mid-z and high-z bin, as one can expect since η ± increase with redshift.We also see that large slices lead to worst shape estimate for the low-z bin, as its width is narrower.

171In App.E we explore an alternative modelling including correlation with neighbours slices ( cf.Sect.3.2.3).In short, despite our effort we did not manage to improve the accuracy of the modelling with extra-terms.

Comparison of the different bias-correction methods

172In this section, we explore the different possibilities for breaking the degeneracy between n p (z) and b p b s from w sp (cf.Eq. 47).In the first subsection, we focus on measuring the photometric bias alone, since this is the challenging aspect.

Measuring the photometric galaxy bias evolution

173In Sect.3.3.2,we proposed to improve existing photometric bias corrections (van den Busch et al. 2020;Cawthon et al. 2022) with two methods to measure b p (z), applicable to real data, specifically for photometric galaxies with z photo < 1.6 (i.e.fully covered by spectroscopic samples).The larger binning method M3 is applied in Fig. 15 and the smaller binning method M4 is applied in Fig. 16.They are represented by orange dashed lines.For both figures we also include the results using either the partial correction (blue dashed) or width correction (green dashed), for comparisons with previous analyses (van den Busch et al. 2020;Cawthon et al. 2022;Giannini et al. 2024).Additionally, we present the best fit degree-3 polynomial for the partial and the full corrections (solid lines) from a standard χ 2 minimisa- tion.The grey line shows the measurement using true-z, which we want to recover after the corrections.We find that assuming the photo-z as the true-z (width-only correction), neither the amplitude nor the redshift evolution is well measured.For the partial correction, whilst the redshift evolution appears well-recovered, differences in amplitude persist.Finally, our full correction method significantly outperforms the others: in both figures, we recover the amplitude and redshift evolution of the bias more accurately.Notably, the bias evolves weakly for z < 1, suggesting that correcting the photometric bias at low redshift may not be necessary.

174Since the partial and full corrections both give a good trend for the redshift evolution of the galaxy bias, one could argue their performance are identical in the context of clustering redshifts, as the measured n p (z) can always be latterly renormalised.With the correct amplitude for the galaxy bias, evaluating whether the n p (z) measured is directly normalised to unity can provide valuable information.Deviations from unity could indicate a contamination from systematics, such as the small scale effect illustrated in Sect.4.3; the photometric sample is not fully covered by spec (and what is the fraction); a problem with the spectroscopic redshifts, such as interlopers.

175In that sense, the full correction performs significantly better than the partial one.The performance of our bias measurement may depend on the specific photo-z code and the quality of the available photometry, and data implementation will have to address this question.

Comparison of the methods

176In this section, we compare the different bias correction methods introduced in Sect.3.3.1,including M3 and M4.We aim to evaluate the bias correction performance, thus we work in an idealised framework with independent bins, no RSD, and no magnification (i.e. the "independent bin" test of Sect.4.7).We employ a redshift slicing ∆z = 0.05.We report in colours the deviations on the mean redshift and standard deviation for the six methods M0-M5, in Figs. 17 (for SSM) and 18 (for SGP).For each method, we have five realisations by varying the sky patch.We also give the values for the biases on mean-z and standard deviation in

177Fig. 18.Same as Fig. 17 with the SGP fitting.

178We can see that at low-z it is not necessary to correct for the photometric bias, and spectroscopic correction M1 produces good estimates.At mid-z it is necessary to correct at least for the spectroscopic bias, and ideally for both with M3 or M4.At high-z, it is essential to correct both biases.We observe that M3 performs significantly better than M4 for SSM and SGP; indeed, the redshift evolution is better captured in Fig. 15 than in Fig. 16.This difference may be attributed to the fact that smaller slices are more sensitive to systematic effects, as discussed in Sect.4.6.Overall, M3 performs similarly to the idealistic M5 and is consistently the best bias correction method, exhibiting performance akin to M1 for low-z (though with slightly larger error bars).

179In conclusion, using M3 for every bin yields unbiased estimates of the mean redshift and standard deviation across all bins, with uncertainties that fall within the requirements for both methods.The values presented in these two figures are reported in Table D.2.

Tomographic bin uncertainties

180We defined the tomographic bins as equi-populated, based on the assumption that the uncertainty scales with the total number of galaxies in each bin.For the 10 spectroscopic samples, we used 1-DESI-BGs, 2-BOSS, 3-DESI-LRGs, 4-DESI-LRGs, 5-DESI-LRGs, 6-DESI-ELGs, 7-DESI-ELGs, 8-Euclid-NISP, 9-Euclid-NISP, 10-Euclid-NISP.

181In Fig. 19 we plot in red the uncertainty on the mean redshift σ(⟨z⟩) for every tomographic sample, and its standard deviation σ(σ(⟨z⟩)), evaluated for the five 1000 deg 2 sky-patches with jackknife covariance, with SSM fitting.Interestingly, we find that the uncertainty is not constant.It remains the same for the first two samples, then decreases across the next six samples, before increasing again for the final ones.We also report for the first two samples, the case of 2500 deg 2 sky patches in dark red, and observe a mean-z uncertainty reduction of 40%.

182McQuinn & White (2013) predicted that "the linear bias times number of objects in a redshift bin generally can be constrained with cross-correlations to fractional error ≈ 10 2 N ∆z (dN s /dz) −1 ", where N ∆z is the number of spectroscopic redshift slices, and N s the number of spectroscopic galaxies.17This expression describes how well the redshift distribution can be measured, whereas we are primarily interested in its moments.We assume that, at first order, the scaling should behave similarly, but with a different coefficient, which is complicated to predict because of the complexity of the mean-z fitting procedure.As a consequence, the uncertainty should depend on the number of spectroscopic galaxies, rather than on the volume or the number of photometric galaxies.However, for the low-z bins, the spectroscopic density is sufficiently high, especially with DESI-BG-like sample, that we might enter a cosmic variance (CV) regime.In this case, uncertainties are no longer sampledominated (i.e. the shot noise 1/n s is subdominant).Thus, we introduce a maximum spectroscopic density to reach the cosmic variance limit n cv , which in principle depends on z, but that we assume to be constant.Our uncertainty model is

183where A is a constant independent of the tomographic bin, and V TB is the volume of the tomographic bin.

184The equation above also indicates that the uncertainty scales with the inverse of the square root of the tomographic volume.This explains why in Fig. 8 of Naidoo et al. (2023), the uncertainty scales as a power law of the survey area A γ , and the best-fit power law is close to γ = −1/2.

185We constrained the A and n cv coefficients with the set of tomographic bin measurements using a χ 2 procedure, and report in Fig. 19 the best-fit model in blue for 1000 and 2500 deg 2 .We observe a good agreement, particularly given that we neglected complications arising from galaxy biases and the mean-redshift fitting procedure.The uncertainty is largest for the low-z tomographic bins where the survey volume is much smaller and precision is limited by the CV regime.For the high-z samples, the uncertainty increases due to the reduced density of spectra, which is not sufficiently offset by the larger volume.The best-fit n cv roughly corresponds to the DESI-BGS density divided by a factor of four (and the BOSS density by a factor of 1.8), and it only plays a role for the first two bins.

186As a result, to achieve consistent uncertainty across bins with clustering-z, the tomographic bin definition would need to be adjusted according to an uncertainty model like Eq. ( 91).However, the tomographic bin definition is primarily influenced by cosmological constraining power (e.g.Euclid Collaboration: Pocino et al. 2021), and our results alone do not provide sufficient grounds to recommend a change in binning strategy.However, the precision of the mean redshift is one of the key limiting factors in cosmic shear analyses (see, e.g., Reischke 2024), and the impact of bin definitions on the accuracy of redshift calibration is often overlooked.

Application to the ten Euclid tomographic bins

187In this section, we applied our pipeline to calibrate the ten tomographic bins described in Sect.2.2.For the spectroscopic samples, following our recommendation (see Sect. 4.3) we only correlated a tomographic bin with one spectroscopic tracer at a time.We used the following tracers for the different bins: 1-DESI-BGs, 2-BOSS, 3-DESI-LRGs, 4-DESI-LRGs, 5-DESI-LRGs, 6-DESI-ELGs, 7-DESI-ELGs, 8-Euclid-NISP, 9-Euclid-NISP, 10-Euclid-NISP.For simplicity, we did not consider the joint constraint of several spectroscopic tracers covering the same bin, which would provide additional information.For each bin, we produced several independent realisations by selecting distinct patches in Flagship 2. For the first two tomographic bins, we generated two 2500 deg −2 patches, while for the remaining eight bins, we used five 1000 deg −2 patches.This approach ensures similar uncertainties across bins, as explained in Sect.4.9.

188The true tomographic bin distribution, and the clusteringredshifts measurements are reported in Fig. 20.The measurements are visually indistinguishable from the truth.To quantify how good they are, we show the (optimistic) SSM calibration of the mean-z and standard deviations in Fig. 21.The results with the conservative SGP calibration are shown in Fig. 22.For comparison, we also plot the previous results of Naidoo et al. (2023) for the mean redshift (with Flagship1 samples).Our results using the SSM method are fully successful; for every bin and patch realisation, we meet the Euclid requirements for the mean redshift and shape, unlike prior results.However, as expected, the "conservative" SGP method yields larger uncertainties and deviations.In particular, for some bins (especially bins 1, 3, and 7), we observe slightly larger deviations and uncertainties than allowed by the mean redshift requirement.We tested the effect of increasing the patch sizes by a factor of two and found that the mean-z bias was reduced on average by 40%, which was sufficient to meet the requirement for all bins.

189Part of the improvement to Naidoo et al. (2023) is due to the use of a larger cosmic volume with Flagship2 instead of Flagship1.Nevertheless, with our pipeline we also got significantly lower mean redshift biases than Naidoo et al. (2023).The main differences between our pipeline and the previous one are our estimator (cf.Sect.4.2), the scale range (cf.Sect.4.4), the measurements being evaluated for each spectroscopic tracer (cf.Sect.4.3), the bias correction method (cf.Sect.4.8), and some improvement in the implementation of SSM and SGP (cf.Sect.3.5 ).We note that we did include the effect of magnification contrary to Naidoo et al. (2023).In conclusion, we predict that clustering-redshifts will be able to satisfy the Euclid requirements.

Conclusion

190We optimised and evaluated the performance of the clusteringredshifts method for calibrating the redshift distributions of Euclid tomographic bins.

191Using the Flagship2 simulation, we generated realistic spectroscopic and photometric mock samples based on BOSS, DESI, and Euclid.The photometric sample was divided into ten equally populated tomographic bins, with a maximum photo-z of 1.6.We used up to five 1000 deg 2 patches to fully exploit the volume of the simulation.The uncertainties are consistent across all the bins for the mean redshift and we achieve a clear improvement from previous work shown in red.For the redshift standard deviations, the uncertainties are slightly underestimated, but this is within an acceptable range given the requirements.

192We measured the angular auto-and cross-correlations of these samples under various methodological choices and investigated alternative approximations to model the clustering.

193From these clustering measurements, we calibrated the redshift distributions via two distinct methods.One method in-volved fitting the data points using a model n(z| p 1 , . . . ) with free parameters.In practice, a complementary calibration, such as the self-organising map can be used to define the model (e.g., Hildebrandt et al. 2021;Gatti et al. 2022).The other method relies on Gaussian processes to directly fit the data without assuming a Fig. 22. Deviations in the mean redshift (top) and the redshift standard deviation (bottom) using the SGP method for the same bin configuration as in Fig. 21.The Euclid requirements on the uncertainty are highlighted by the shaded area centred around zero.For some bins (particularly bins 1, 3, and 7), we observe slightly larger deviations and uncertainties than permitted on the mean redshift.However, a clear improvement compared to previous work (shown in red) is still evident.The redshift standard deviations are unbiased and fall within the required range (shaded sandy area).specific model.With the latter, the SOM and clustering-redshifts calibrations can both be run independently, or be combined as in the case of DES (Myles et al. 2021;Gatti et al. 2022).

194In Sect. 4 we investigated and concluded the following about the clustering-redshifts technique and angular clustering.

195-In Sect.4.2 we argued that the integrated pair-count estimator w (1) is a better choice than w (2) for measuring the integrated clustering (i.e.integrating the ratio DD/RR instead of taking the ratio of the integrated DD and RR).-In Sect.4.3 we explained a potential issue with very small scales that arises from the one-halo properties of the clustering.We concluded that scales should always be larger than 1.5 Mpc to limit this problem.We also recommended separating the clustering-redshifts measurements for the different spectroscopic tracers.-In Sects.4.4 and 4.5, we ran an optimisation of the scale range choice and weighting.With the Flagship simulation, we achieved a good compromise with 1.5 < r p < 5 Mpc with an inverse scale weighting.-In Sect.4.6 we showed that the optimal spectroscopic slicing given our tomographic bins and the different systematics was ∆z ≈ 0.05.-In Sect.4.7 we showed that approximating dz n 2 (z) • • • (Limber-full-z) with some n 2 (z i ) dz • • • expressions (Limber-1-bin) is the main systematic effect and that magnification has some limited impact on the n p (z) inference.-In Sect.4.8 we compared different bias corrections and introduced a way to measure the photometric galaxy bias by splitting the TB into smaller bins and interpolating these effective biases over redshift (i.e.M3).The results of this method were comparable to the ideal case M5, in which photometric bias is measured using true redshifts.It should be used as the fiducial correction scheme.-Finally, we investigated in Sect.4.9 the dependence of the mean-z error bars on the clustering-redshifts parameters, and confirmed that they are mainly driven by the number of spectroscopic galaxies that is available in the footprint.

196In Sect. 5 we applied the optimised pipeline to calibrate the Euclid simulated tomographic bins.The calibration performance using the SSM model met or exceeded the required accuracy, while the SGP method yielded comparable results, but they were slightly below the requirements in certain cases.It is important to note that these results were derived from limited sky patches with correction methods that can still be improved in future work.These results represent a significant improvement over the previous Euclid clustering-redshifts study (Naidoo et al. 2023) overall and demonstrated that the clustering-redshifts technique is robust.

197Additionally, as discussed in Sect.2, we assumed that the H α sample had a purity of 100%.In reality, however, when we bin the sample into small redshift intervals, we expect that some of these galaxies may be interlopers, that is, they might be located at different redshifts due to noise or a misidentification of a spectral lines.This situation might significantly impact clustering-redshifts measurements because photometric galaxies at a similar redshifts as the interlopers would contribute to the clustering signal, which would bias the inferred n(z).It is therefore crucial to determine the fraction of these interlopers and their redshift distribution to correct for this effect.The clustering-redshifts technique can indeed be used to constrain the properties of interlopers by cross-correlating the NISP sample with other spectroscopic data or with photometric data with priors on their n(z).

198As already mentioned in Sect.4.3, the galaxy-halo connection implemented in the Flagship simulation might not be accurate, and our statistical estimator might be optimistic.It might therefore still be beneficial to use larger scales even though they are not statistically optimal.These larger scales will be used for the 3 × 2 analysis, which necessitates the generation of a more complex covariance to accurately propagate the correlation with the calibration (e.g. the work of Johnston et al. 2025).Although this approach is more complicated, the advantage is that the distribution would be free of small-scale potential bias, which may prove worthwhile.

199Finally, we restricted the calibration to galaxies with a maximum photo-z of 1.6 because we lack dense spectroscopic samples above redshift 1.8, which sets a strict upper limit.Clustering-z for HSC, KIDS, and DES was even more limited than Euclid, with a maximum redshift of z ∼ 1.In the far future numerous spectroscopic samples from Lyman-break galaxies are expected to be observed by spectroscopic experiments such as DESI-II, MUST, and WST (if funded).In a much shorter time frame, QSOs might be used one could utilise QSOs to cover the redshift range 1.5 < z < 3.These constraints alone would most likely not fulfil the Euclid requirements because QSOs have a low-density, however, but they would still provide valuable information.The spectroscopic sample is magnified by the matter traced by low-z photometric galaxies, and the matter traced by spectroscopic galaxies is magnifying high-z photometric galaxies.Neglecting RSD, using the conventions from Krause et al. (2021) and the Limber approximation, we have Our final expression contains several differences with Gatti et al. (2022).We are taking into account the redshift variation of spectroscopic and photometric biases, and α.Our conventions and the sum indices are slightly different (we try to be more explicit).We illustrate the impact of magnification on angular correlation in Fig. B.1 using toy models.Two tomographic bins are introduced, with Gaussian redshift distributions centred at z = 0.5 with widths σ = 0.08 and σ = 0.16, respectively.The clustering and 4.9 ± 0.6 2.7 ± 0.6 2.7 ± 0.6 1.4 ± 0.4 1.5 ± 0.4 1.4 ± 0.6 3.8 2.7 ± 0.8 2.4 ± 0.8 2.4 ± 0.8 2.0 ± 0.5 2.0 ± 0.5 2.2 ± 0.8 10 5.2 ± 1.6 3.0 ± 1.7 2.9 ± 1.7 1.2 ± 1. 17.0 ± 1.2 5.1 ± 1.0 5.0 ± 1.1 −1.8 ± 1.0 −3.7 ± 1.0 −1.9 ± 1.0 4.4 −5.6 ± 0.7 −1.8 ± 0.7 −1.8 ± 0.7 0.4 ± 0.6 1.1 ± 0.6 0.4 ± 0.6 10 17.8 ± 2.6 6.5 ± 2.1 6.5 ± 2.3 −0.4 ± 2.1 −2.3 ± 2.0 −0.7 ± 2.2 4.4

2003.9 ± 2.1 2.1 ± 1.9 2.1 ± 1.9 0.7 ± 1.8 0.3 ± 1.8 1.1 ± 1.9 10 Since η ± > 0, we expect to measure n(z) with a norm higher than unity.The global offset should be approximately In Fig. E.1 we show the ratio of the measured n p (z i ) to the true distribution, for three slicing ∆z, and the five sky patches.We also report the offset predicted from Eq. (E.1) for each ∆z.We observe consistency between the points and the rough prediction.

201Concatenating the measurements from the different redshift slices, we can express the correlation as

202where n = {n(z i )} i=1,..,n , B x are diagonal matrices representing the galaxy biases, and Λ is a tridiagonal matrix, easily invertible, with unity on its diagonal and smaller terms (corrections) on the first off-diagonals.We attempted to implement Eq. (E.2) for the inference of n p (z) by replacing the one-bin modelling with three-bins.We did not observe a significant improvement in the bias on the mean redshift compared to the standard renormalisation procedure, however.In Fig. E.1, we note that points from different patches at similar redshifts (visible as groups of 5 points corresponding to the 5 patches in the high-z bin) are spread over a wide range, despite the true distributions being very similar across the patches.This behaviour could be attributed to substantial sample variance, which might explain why three-bins perform similarly to one-bin.Additionally, we observe that three-bins still exhibit significant deviations in Fig. 2, highlighting the challenges of improving one-bin modelling despite our efforts.We note that in Fig. 14, the measurements for 0.75 < z < 0.85 are systematically under the true n(z) for ∆z = 0.02, 0.05, which might cause the positive shift in mean redshift.This under-correlation is also visible in Fig. E.1.We did not identify its cause.

Fig. 1 .

203Fig.1.Top: Simulated true-redshift distribution of each of the first ten tomographic bins (z photo < 1.6).Bottom: Simulated redshift distribution of the spectroscopic samples from the BOSS, DESI, and Euclid surveys.The lack of spectroscopic samples for z spec > 1.8 imposes the z photo < 1.6 condition for clustering-redshifts calibration.

204Fig. 2. Top: Redshift distribution of sample b in blue, and four out of the ten samples a i in red.Bottom: Deviation of approximated w a i b with respect to the exact one for the ten cross-correlations.

205w (r p ) w ab (r p , z i ) .

Fig. 3 .

206Fig. 3. Galaxy distribution observed through different ∆z averaging as Eq.(70).The redshift convolution modifies the shape of the distribution for larger slicing compared to the real slicing as estimated with a very thin slicing (grey).For this case, all slicings ∆z ≤ 0.06 produce a good estimate.

Fig. 4 .

207Fig. 4. Left: n(z) distribution measurement, with 50 associated GP realisations (orange), and the true distribution (red).Middle: SNR of the GP realisation (orange), and their convolution (blue).The SNR threshold (=3) is reported with the dashed line.Right: Associated SGP realisations, renormalised to unity (blue), compared to the true distribution (red).

Fig. 5 .

208Fig. 5. Modelling the cross-correlation between spectroscopic samples in redshift slices and photometric bins, and reference to the corresponding tests we performed to optimise the pipeline.

Fig. 7 .

209Fig. 7. Variation in the Pearson coefficients r ab for Flagship LRGs with ELGs.This coefficient informs on the small-scale under-correlation of blue and red galaxies.

Fig. 9 .

210Fig.9.RMS of ∆n, SNR of n, and reduced χ 2 of ∆n (top to bottom) as a function of the projected scale r p for the three redshift bins (left to right) for three bias corrections (colours).The fine lines show five independent realisations of 1000 deg 2 , and the thick lines show their means.

Fig. 10 .

211Fig.10.SNR and RMS for the three tomographic bins (left to right), with three power laws as weighting functions (colours), two weighting schemes, and two bias-correction methods (M1 and M5).

Fig. 11 .

212Fig. 11.Mean redshift and shape reconstruction with SGP, for the three tomographic bins.The different markers and colours are associated with different slicing ∆z.The sandy region corresponds to the Euclid requirements, and the diagonal line shows a coherent deviation of 1σ.

Fig. 12 .Fig. 13 .

213Fig. 12. Deviations on the mean-z (top) and standard deviation (bottom), with SGP fitting, for the three tomographic bins (left, middle, and right), with three ∆z slicings (colours) and different implemented systematic effects (marker).The shadowed bands correspond to the Euclid requirement on both parameters.The dark and light error bars indicate 68.3% and 95.5% uncertainties

Fig. 14 .

214Fig. 14.True-redshift distributions of tomographic bins in black, and the clustering-redshifts measurements with M5 for three spectroscopic slicings: ∆z = 0.02, 0.05, 0.08 (orange, red, and purple).

215Fig. 16.Same as Fig.15, but for M4, with a smaller photo-z binning ∆z = 0.02.The w pp used for M4 is the best-fit model of the full correction (solid red line).

Fig. 17 .

216Fig. 17.Deviations with the SSM fitting on the mean redshift (upper panel) and standard deviation (lower panel) for the six methods M0-M5 in colour, for five sky patches (same colour).The requirements are represented by the shaded area.The dark and light error bars indicate 68.3% and 95.5% uncertainties.

Fig. 20 .

217Fig. 20.True-redshift distribution of the simulated Flagship2 ten tomographic bins with z p < 1.6 (solid lines) and their clustering-redshifts measurements with our pipeline, including all systematics and realistic bias correction M3.The first two bin measurements are realised with 2500 deg 2 sky patches, and the other eight are realised with 1000 deg 2 sky patches.The dark and light error bars indicate 68.3% and 95.5% uncertainties, but are barely visible by eye.

Fig. 21 .

218Fig. 21.Deviations in the mean redshift (top) and the redshift standard deviation (bottom) for the ten Flagship2 tomographic bins relative to the true-redshift distributions using the SSM method.The deviations are shown for each bin and sky patch.We consider patches of 2500 deg 2 for the first two bins, and 1000 deg 2 for the others.The Euclid requirements on the uncertainty are highlighted by the shaded area centred around zero.The uncertainties are consistent across all the bins for the mean redshift and we achieve a clear improvement from previous work shown in red.For the redshift standard deviations, the uncertainties are slightly underestimated, but this is within an acceptable range given the requirements.

219Fig. B.1.Top panel: The redshift distributions of the photometric sample (blue) and five out of the 20 spectroscopic samples (red) are shown.The photometric distribution on the left follows a Gaussian with parameters σ) = (0.5, 0.08), while on the right, it follows (µ, σ) = (0.5, 0.16).Bottom panel: The angular correlation is displayed for clustering only (green), magnification only (red and purple), and their sum (orange).The values of the coefficients b and α are provided in the legend.Magnification impacts the shape of the angular correlation (sum vs. clustering only) and may influence the mean redshift, particularly for larger tomographic bins (right vs. left).

220cos θ) P m (k(χ, ℓ), z(χ)) , (B.2)where c D a = b a is the galaxy bias, c µ a = α a is the magnification coefficient, L ℓ is the Legendre polynomials of order ℓ, P m is the matter power spectrum, k(χ, ℓ) = ℓ+0.simplifiedif the spectroscopic sample is localised in a small redshift slice (∆z small enough to neglect redshift variations) centred in z s .In that case, we can model the distribution of the photometric sample by a step functionn p (z) = i n p (z i ) H(∆z/2 − |z − z i |) , (B.4)where H is the Heaviside function, equal to unity for ∆z/2 − |z − z i | > 0 and 0 otherwise.We then havew DD sp (θ) ≈ b s (z s ) b p (z s ) n p (z s ) ξ m (χ s ) , (B.5) w Dµ sp (θ) = 3 Ω m H 0 c b s (z i ) n s (z i ) H 0 (1 + z i ) H(z i ) ξ m (z i , θ) j=i+1,... ∆z α p (z j ) n p (z j ) χ(z j ) − χ(z i ) χ(z j ) χ(z i ) , b p (z j ) n p (z j ) H 0 (1 + z j ) H(z j ) ξ m (z j , θ) α s (z j ) χ(z i ) − χ(z j ) χ(z i ) χ(z j ) .(B.7)We can rewrite our magnification term asM(θ) = α s (z s ) j=,...,i−1 b p (z j ) n p (z j ) D(z j , z i , θ) + b s (z i ) j=i+1,...α p (z j ) n p (z j ) D(z i , z j , θ) , z k ) ξ m (z k , θ) χ(z l ) − χ(z k ) χ(z l ) χ(z k ) .(B.9)

221⟨z⟩ − ⟨z⟩ true (×1000) σ z /σ true z − 1 (×100) ⟨z⟩ − ⟨z⟩ true (×1000) σ z /σ true z

222Fig.E.1.Deviation of the measured n p (z i ) to the true distribution, for different slicing ∆z (points in colours), and the global offset predicted by our model, which includes correlation at the edge of the slices (solid lines in colours).The points correspond to the measurements for the five patches, hence the difference in redshift between them is not ∆z.

223w pp (z i ) ≈ 1 + η + (⟨z⟩) + η − (⟨z⟩) .(E.1)

224mask (r p ) is a geometrical factor due to the masking of some sky area (cf.App.C).In particular, the effective scale weighting is W eff (r p ) ∝ W(r p ) r p ∆r p η mask (r p )

225p W(r p ) r p ∆r p η mask (r p ) ⟨δ a δ b ⟩ r p , z 1 , z 2 r max p r min p dr p W(r p ) r p ∆r p η mask (r p ) , where η

226Table D.1, in App.D.

227TB equi-N gal , 1000 deg 2 TB equi-N gal , 2500 deg 2 U(z) for 1000 deg 2 U(z) for 2500 deg 2 Fig.19.Uncertainties on mean-z with SSM fitting for five sky realisations in red.We also plot the best-fit uncertainty model in blue.

Table D .

2281. Mean redshift and standard deviation bias for the different systematic effects (including none, and all) are reported; Req.refers to the requirement that needs to be fulfilled.GP ⟨z⟩ − ⟨z⟩ true (×1000) σ z /σ true z − 1 (×100) ⟨z⟩ − ⟨z⟩ true (×1000) σ z /σ true Table D.2.Mean redshift and standard deviation for the different bias corrections M0-M5, for SSM and SGP fitting, without systematics (independent case in Sect.4.7); Req.refers to the requirement to fulfil.

참고문헌 63건

  1. Why your model parameter confidences might be too optimistic. Unbiased estimation of the inverse covariance matrix Astronomy and Astrophysics · EDP Sciences · 2006 10.1051/0004-6361:20066170
  2. Recovering redshift distributions with cross-correlations: pushing the boundaries Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2013 10.1093/mnras/stt410
  3. Bias and variance of angular correlation functions The Astrophysical Journal · IOP Publishing · 1993 10.1086/172900
  4. Calibrating Redshift Distributions beyond Spectroscopic Limits with Cross‐Correlations The Astrophysical Journal · IOP Publishing · 2008 10.1086/589982
  5. SDSS galaxy clustering: luminosity and colour dependence and stochasticity Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2008 10.1111/j.1365-2966.2008.12948.x
  6. <tt>emcee</tt>: The MCMC Hammer Publications of the Astronomical Society of the Pacific · Institute of Physics · 2013 10.1086/670067
  7. THE ROCKSTAR PHASE-SPACE TEMPORAL HALO FINDER AND THE VELOCITY OFFSETS OF CLUSTER CORES The Astrophysical Journal · IOP Publishing · 2012 10.1088/0004-637x/762/2/109
  8. On using angular cross-correlations to determine source redshift distributions Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2013 10.1093/mnras/stt914
  9. A survey of galaxy redshifts. V - The two-point position and velocity correlations The Astrophysical Journal · IOP Publishing · 1983 10.1086/160884
  10. Systematic errors in future weak-lensing surveys: requirements and prospects for self-calibration Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2006 10.1111/j.1365-2966.2005.09782.x
  11. The Cosmic Linear Anisotropy Solving System (CLASS). Part II: Approximation schemes Journal of Cosmology and Astroparticle Physics · Institute of Physics · 2011 10.1088/1475-7516/2011/07/034
  12. THE BARYON OSCILLATION SPECTROSCOPIC SURVEY OF SDSS-III The Astronomical Journal · Institute of Physics · 2012 10.1088/0004-6256/145/1/10
  13. Observational biases in flux magnification measurements Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2015 10.1093/mnras/stv2575
  14. REVISING THE HALOFIT MODEL FOR THE NONLINEAR MATTER POWER SPECTRUM The Astrophysical Journal · IOP Publishing · 2012 10.1088/0004-637x/761/2/152
  15. How accurate is Limber's equation? Astronomy and Astrophysics · EDP Sciences · 2007 10.1051/0004-6361:20066352
  16. The extended Baryon Oscillation Spectroscopic Survey: Variability selection and quasar luminosity function Astronomy and Astrophysics · EDP Sciences · 2016 10.1051/0004-6361/201527392
  17. the-wizz: clustering redshift estimation for everyone Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2017 10.1093/mnras/stx342
  18. 2dFLenS and KiDS: determining source redshift distributions with cross-correlations Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2016 10.1093/mnras/stw3033
  19. Photometric redshifts for Hyper Suprime-Cam Subaru Strategic Program Data Release 1 Publications of the Astronomical Society of Japan · Oxford University Press · 2017 10.1093/pasj/psx077
  20. Testing the accuracy of clustering redshifts with simulations Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2017 10.1093/mnras/stx3056
  21. Cross-correlation redshift calibration without spectroscopic calibration samples in DES Science Verification Data Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2018 10.1093/mnras/sty787
  22. Dark Energy Survey Year 1 results: cross-correlation redshifts – methods and systematics characterization Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2018 10.1093/mnras/sty466
  23. Core Cosmology Library: Precision Cosmological Predictions for LSST The Astrophysical Journal Supplement Series · Institute of Physics · 2019 10.3847/1538-4365/ab1658
  24. The Impact of Line Misidentification on Cosmological Constraints from Euclid and Other Spectroscopic Galaxy Surveys The Astrophysical Journal · IOP Publishing · 2019 10384715384357ab22a0
  25. The many flavours of photometric redshifts Nature Astronomy · Nature Portfolio · 2018 10.1038/s41550-018-0478-0
  26. Fast Direct Methods for Gaussian Processes IEEE Transactions on Pattern Analysis and Machine Intelligence · IEEE Computer Society · 2015 10.1109/tpami.2015.2448083
  27. Photometric redshift calibration with self-organising maps Astronomy and Astrophysics · EDP Sciences · 2020 10.1051/0004-6361/201936782
  28. The impact of spectroscopic incompleteness in direct calibration of redshift distributions for weak lensing surveys Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2020 10.1093/mnras/staa1812
  29. The PAU Survey: Photometric redshifts using transfer learning from simulations Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2020 10.1093/mnras/staa2265
  30. KiDS+VIKING-450: Improved cosmological parameter constraints from redshift calibration with self-organising maps Astronomy and Astrophysics · EDP Sciences · 2020 10.1051/0004-6361/202038389
  31. CosmoHub: Interactive exploration and distribution of astronomical data on Hadoop Astronomy and Computing · Elsevier BV · 2020 10.1016/j.ascom.2020.100391
  32. Testing KiDS cross-correlation redshifts with simulations Astronomy and Astrophysics · EDP Sciences · 2020 10.1051/0004-6361/202038835
  33. <i>Euclid</i> preparation Astronomy and Astrophysics · EDP Sciences · 2020 10.1051/0004-6361/202038071
  34. KiDS-1000 catalogue: Redshift distributions and their calibration Astronomy and Astrophysics · EDP Sciences · 2021 10.1051/0004-6361/202039018
  35. Perturbation theory for modeling galaxy bias: Validation with simulations of the Dark Energy Survey Physical review. D/Physical review. D. · American Physical Society · 2020 10.1103/physrevd.102.123522
  36. <i>Euclid</i>preparation Astronomy and Astrophysics · EDP Sciences · 2020 10.1051/0004-6361/202039403
  37. Self-calibration and robust propagation of photometric redshift distribution uncertainties in weak gravitational lensing Astronomy and Astrophysics · EDP Sciences · 2021 10.1051/0004-6361/202040130
  38. Dark Energy Survey Year 3 results: calibration of lens sample redshift distributions using clustering redshifts with BOSS/eBOSS Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2022 10.1093/mnras/stac1160
  39. <i>Euclid</i> preparation Astronomy and Astrophysics · EDP Sciences · 2021 10.1051/0004-6361/202040237
  40. <i>Euclid</i>preparation Astronomy and Astrophysics · EDP Sciences · 2021 10.1051/0004-6361/202141061
  41. Dark Energy Survey Year 3 Results: clustering redshifts – calibration of the weak lensing source redshift distributions with <i>redMaGiC</i> and BOSS/eBOSS Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2021 10.1093/mnras/stab3311
  42. Matching Bayesian and frequentist coverage probabilities when using an approximate data covariance matrix arXiv (Cornell University) · Cornell University · 2021 10.1093/mnras/stab3540
  43. Dark Energy Survey Year 3 results: redshift calibration of the weak lensing source galaxies Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2021 10.1093/mnras/stab1515
  44. <i>Euclid</i>: Cosmological forecasts from the void size function Astronomy and Astrophysics · EDP Sciences · 2022 10.1051/0004-6361/202244095
  45. <i>Euclid</i>: Calibrating photometric redshifts with spectroscopic cross-correlations Astronomy and Astrophysics · EDP Sciences · 2023 10.1051/0004-6361/202244795
  46. Dark Energy Survey Year 3 results: redshift calibration of the <scp>MagLim</scp> lens sample from the combination of SOMPZ and clustering and its impact on cosmology Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2023 10.1093/mnras/stad2945
  47. Dark Energy Survey Year 3 results: magnification modelling and impact on cosmological constraints from galaxy clustering and galaxy–galaxy lensing Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2023 10.1093/mnras/stad1594
  48. The galaxy formation origin of the<i>lensing is low</i>problem Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2023 10.1093/mnras/stad243
  49. Validation of the Scientific Program for the Dark Energy Spectroscopic Instrument The Astronomical Journal · Institute of Physics · 2024 10.3847/1538-3881/ad0b08
  50. Weak lensing tomographic redshift distribution inference for the Hyper Suprime-Cam Subaru Strategic Program three-year shape catalogue Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2023 10.1093/mnras/stad1962
  51. The impact of anisotropic redshift distributions on angular clustering Journal of Cosmology and Astroparticle Physics · Institute of Physics · 2023 10.1088/1475-7516/2023/07/044
  52. The DESI One-Percent survey: exploring the Halo Occupation Distribution of Emission Line Galaxies with AbacusSummit simulations Journal of Cosmology and Astroparticle Physics · Institute of Physics · 2023 10.1088/1475-7516/2023/10/016
  53. Propagating photo-<i>z</i> uncertainties: a functional derivative approach Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2023 10.1093/mnras/stad3791
  54. The DESI One-Percent Survey: A Concise Model for the Galactic Conformity of Emission-line Galaxies The Astrophysical Journal · IOP Publishing · 2024 10.3847/1538-4357/ad09d6
  55. Galaxy bias in the era of LSST: perturbative bias expansions Journal of Cosmology and Astroparticle Physics · Institute of Physics · 2024 10.1088/1475-7516/2024/02/015
  56. <i>Euclid</i> Astronomy and Astrophysics · EDP Sciences · 2024 10.1051/0004-6361/202450810
  57. <i>Euclid</i> Astronomy and Astrophysics · EDP Sciences · 2024 10.1051/0004-6361/202450786
  58. <i>Euclid</i> Astronomy and Astrophysics · EDP Sciences · 2024 10.1051/0004-6361/202450996
  59. Cosmology with imaging galaxy surveys: The impact of evolving galaxy bias and magnification Physical review. D/Physical review. D. · American Physical Society · 2025 10.1103/physrevd.111.023527
  60. <i>Euclid</i>: Relativistic effects in the dipole of the two-point correlation function Astronomy and Astrophysics · EDP Sciences · 2025 10.1051/0004-6361/202452531
  61. <i>Euclid</i> Astronomy and Astrophysics · EDP Sciences · 2025 10.1051/0004-6361/202450853
  62. Unraveling emission line galaxy conformity at <i>z</i> ∼ 1 with DESI early data Monthly Notices of the Royal Astronomical Society · Oxford University Press · 2025 10.1093/mnras/staf368
  63. 6 × 2 pt: Forecasting gains from joint weak lensing and galaxy clustering analyses with spectroscopic-photometric galaxy cross-correlations Astronomy and Astrophysics · EDP Sciences · 2025 10.1051/0004-6361/202452466