Impact of photometric redshifts on the galaxy power spectrum and BAO scale in the LSST survey

Imaging billions of galaxies every few nights during ten years, LSST should be a major contributor to precision cosmology in the 2020 decade. High precision photometric data will be available in six bands, from near-infrared to near-ultraviolet. The computation of precise, unbiased, photometric redshifts up to z = 2, at least, is one of the main LSST challenges and its performance will have major impact on all extragalactic LSST sciences. We evaluate the efficiency of our photometric redshift reconstruction on mock galaxy catalogs up to z=2.45 and estimate the impact of realistic photometric redshift (hereafter photo-z) reconstruction on the large-scale structures (LSS) power spectrum and the baryonic acoustic oscillation (BAO) scale determination for a LSST-like photometric survey. We study the effectiveness of the BAO scale as a cosmological probe in the LSST survey. We have performed a detailed modelling of the photo-z distribution as a function of galaxy type, redshift and absolute magnitude using our photo-z reconstruction code with a quality selection cut based on a Boosted decision tree (BDT). We have computed the fractional error on the recovered power spectrum which is dominated by the shot-noise at z>1 for scales k>0.1, due to the photo-z damping. The BAO scale can be recovered with a percent or better accuracy level from z = 0.5 to z = 1.5 using realistic photo-z reconstruction. Outliers can represent a significant fraction of galaxies at z>2, causing bias and errors on LSS power spectrum measurement. Although the BAO scale is not the most powerful cosmological probe in LSST, it can be used to check the consistency of the LSS measurement. Moreover we show that the impact of photo-z smearing on the recovered isotropic BAO scale in LSST should stay limited up to z=1.5, so as long as the galaxy number density balances the photo-z smoothing.


Introduction
The six-band (ugrizy) Large Synoptic Survey Telescope (LSST) survey, described in LSST Science Collaboration et al. (2009), will yield a sample of about ten billion galaxies over a huge volume. It will be the largest photometric galaxy sample of the next decade to study the large-scale structures (LSS) of the Universe. It aims to characterise the distribution and evolution of matter on extragalactic scales through observations of baryonic matter at a broad range of wavelengths. The LSS encode crucial information about the content of the Universe, the origin of the fluctuations and the cosmic expansion background in which the structures evolve. Of particular interest is the imprint on galaxy clustering of baryon acoustic oscillations (BAO), which reflects the acoustic waves at recombination, related to the sound horizon at that epoch. The BAO scale is sufficiently small that it is possible to measure it precisely with a large volume survey; yet, * corresponding author this scale is large enough that it is not significantly altered by non-linear evolution. The BAO features can be used as a standard ruler to measure distances and constrain the dark energy equation of state, especially when used in combination with the weak-lensing.
LSST will observe every few nights half of the whole sky up to a magnitude of 24. After 10 years of survey, the depth of the stacked images should reach magnitude 27 in the i-band and LSST should provide a catalog of a few billions of galaxies with a photometry good enough to be useable for cosmology. Indeed, doing cosmology implies to accurately know the galaxy positions. While the angular coordinates will be exquisitely measured thanks to the LSST optics and camera design, it will be much more challenging to reconstruct the third coordinate, the redshift.
Results using spectroscopic data of the BOSS survey Dawson et al. (2013), part of the Sloan Digital Sky Survey III, allowed to measure precisely the BAO scale and lead to accurate cosmological parameters, for instance Anderson et al. (2012), Aubourg et al. (2015) or more recently Salazar-Albornoz et al. (2017), Alam et al. (2017). Although BAO constrains with LSST might be not fully competitive with the future spectroscopic survey DESI Levi et al. (2013) or later Euclid Laureijs et al. (2011), it is crucial to perform BAO analysis to cross-correlate with the other LSST probes. The reader can refer to Zhan & Tyson (2018) and references therein for a recent review of the cosmology reach of LSST, including the BAO probe. The sensitivity of each probe to systematic errors and to dark energy parameters is different, so it is mandatory to check the consistency of all results and powerful to combine them Alonso et al. (2017). The study of BAO in LSST can in return be a way to test our photo-z reconstruction and tune the quality cuts to deal with the total number of galaxies versus the number of outliers. The current DES survey Drinkwater et al. (2010), with 5 filters only, has already to face similar challenges Crocce et al. (2017), obtaining a 4 % distance measurement of the standard ruler Abbott et al. (2017).
The goal of this paper is to test the impact of the use of photoz to reconstruct the LSS power spectrum, considering several options on the required quality up to z=2.2. Compared to some previous work on BAO with photometric redshifts in LSST Zhan et al. (2009), Abrahamse et al. (2011) where simpler LSST observation and photo-z error model were used, we have done a complete analysis using realistic mock galaxy catalogs with galaxies. The cosmological impact is illustrated by comparing the BAO scales measured using spectroscopic redshifts (hereafter spectro-z) or photo-z of galaxies from a mock catalog; our BAO analysis is similar to the method described in Blake et al. (2011). The BAO scale extraction is simply based on the Wiggle method described in .
The paper is organised as follows. We first present the LSST survey and the goal of the paper. Section 2 is dedicated to an overview of the mock catalog of galaxies and Sect. 3 presents the photometric redshift reconstruction characteristics and performances. Section 4 presents method and results regarding the matter power spectra and the BAO scale. We have developed a Montecarlo simulation to easily link precision on the recovered BAO scale and photo-z performances presented in Sect. 5. Finally, we illustrate in Section 6 .We end by summarising our results in Sect. 6.

LSST mock galaxy catalog simulation and analysis procedure overview
A complete end to end simulation and analysis pipeline has been developed to measure the performance of a LSST-like photometric survey for recovering the LSS power spectrum. Starting from a set of cosmological parameters and going through mock galaxy catalogs with realistic photo-z, the pipeline is used to extract the BAO scale at several redshifts. The main blocks of this pipeline are depicted in Fig. 1. We start from the matter power spectrum P(k) computed at a given reference redshift z 0 , from which a huge grid of density fluctuations δρ/ρ is calculated, through random generation of Fourier coefficients and Fourier transform (FFT).
The grid of density field is then converted into a catalog of galaxies using galaxy luminosity functions (LFs). We use a set of LFs corresponding to different galaxy classes mapped into spectral types. It should be stressed that, in this procedure, we assume that the local galaxy absolute luminosity is directly proportional to the local matter density (1 + δρ/ρ).
The key ingredient for the study presented here is the error model for assigning "observed" redshifts to the galaxies. We compare several cases, including a realistic photo-z reconstruction through the FastPz method discussed below.
The mock galaxy catalog is then analysed: after computation of the redshift dependent selection function, the galaxy angular positions and redshifts are converted into 3D positions using a fiducial cosmology. Galaxies are projected into 3D-grids positioned at several redshifts. The "observed" power spectrum P z (k) for each redshift range is computed through a Fourier transform, averaging over all Fourier modes within a k−bin. Finally, the BAO scale and its uncertainty are extracted from the ratio of P z (k) to a wiggle-less power spectrum through a dedicated fit procedure described in Sect. 4.3 and compared to the expected value from the input cosmological parameters.
This pipeline directly provides a catalog, so we ignore all systematics introduced by the catalog extraction from the images, even if effects like blending Jones & Heavens (2019) or dithering Awan et al. (2016) affect in different manner photometric and spectroscopic surveys. The simplistic way galaxy catalogs are produced do not allow to derive the precision of the effective reconstruction of the matter power spectrum by LSST. This methodology and the following analyses are however well suited to evaluate the impact of realistic photo-z redshifts, compared to spectro-z redshifts, on the matter power spectrum, and more specifically on the reconstruction of the BAO scale.

Computation of the density field grid
The aim is to simulate the density field on a large portion of the sky in order to get a simplified view of half of the sky that will be monitored by LSST. We define a volume, hereafter named BigCube, which has a comoving depth of 5,600 Mpc along the Oz axis and a transverse comoving section of 10,000 × 10,000 Mpc 2 . The grid center is set at 3,200 Mpc from the observer. This BigCube is divided into cells of 8 × 8 × 8 Mpc 3 , this cell size being small enough compared to the BAO scale (∼ 150 Mpc). Some non-linearities may affect the galaxy distribution around or below the cell scale but, for our purpose, we do not need to take into account such additional complexities.
The matter power spectrum is initially computed for the redshift of the BigCube center with the cosmological parameters of the fiducial model. We use the set of parameters defined in Planck Collaboration et al. (2016) in the conservative case, based on the TT power spectrum with lensing reconstruction, polarisation only at low multipoles and external data (column 3, Tab. 4): the Hubble constant is then H 0 = 67.90 km.s −1 .Mpc −1 , the cold dark matter reduced density is Ω CDM = 0.2582, the baryonic matter reduced density is Ω B = 0.0483 and the (linear) power spectrum is described by a power-law with an amplitude σ 8 = 0.8154 at a scale of 8 h −1 Mpc and a spectral index n s = 0.9681. By hypothesis in the ΛCDM model, the neutrino mass is minimal and the geometry is flat.
Density fluctuations are generated from the power spectrum P(k) using the standard formalism, described for example in Eisenstein & Hu (1998). Fourier components F(k) for the matter density fluctuation field are randomly generated following the power spectrum |F(k)| 2 = P(k = |k|). The matter density fluctuation field δρ/ρ is then computed through an FFT on the array of generated Fourier components. We next apply the growth factor to each cell in the cube, according to its redshift. This method is less accurate than the one implemented in CLASS Lesgourgues (2011) but the resulting spectra differs only marginally. This simplified method is sufficient, as our aim is mainly to quantify the loss of information induced by the photoz reconstruction on the matter power spectrum and as we do not try in this work to quantify uncertainties on cosmological parameters.
The density field grid is then clipped, setting cells with δρ/ρ < −1 to −1 to avoid cells with negative matter density. This clipping has no effect on the results presented in this paper, as we will use the power spectrum of the clipped grid as the reference power spectrum. We have also checked that the distortions of the power spectrum due to clipping, ranging from a factor 0.5-0.6 to 0.8 depending on the k-scale, do not significantly affect its overall shape and BAO features.

Simulation of the catalog
The density fluctuations are afterwards converted into galaxy number fluctuations, assuming proportionality of light to matter density (1 + δρ/ρ). The key ingredient for this step is the use of observed galaxy LF to populate each grid cell with a number of galaxies with absolute magnitudes and galaxy classes or spectral types following the LFs. Details of the procedure are provided in Gorecki et al. (2014), the main difference being that we have used LF parameters derived by Zucca et al. (2009) for the study presented here, instead of the one derived by Dahlen et al. (2005) used in our previous work. Both sets of LFs provide the distribution of galaxies divided in broad types, in several redshift ranges. We have used the Schechter parameters from Zucca et al. (2009) with fixed power law index (α). LF parameters are given for galaxies divided in three broad types, labeled as Early, Late or StarBurst, corresponding roughly to Elliptical, Spiral and Irregular morphological types. These three broad categories are then mapped into a library of spectral types.
The main steps for converting the density fluctuation grid to a list of galaxies are summarised below: -The total number of galaxies N within our survey volume is computed by integrating the LFs with a faint absolute magnitude limit well above the LSST detection threshold at all redshifts. This number N is then used to compute the average number of galaxies per BigCube cell. -For each cell, the average number of galaxies in the celln(x) is computed according to the local matter density 1 + δρ/ρ. The number of galaxies in the cell is then drawn with a Poisson distribution with meann(x). Galaxie positions are uniformly generated within each cell, then their angular positions and true redshifts are computed from their positions in the grid. An absolute magnitude and a type are assigned to each galaxy according to the multi-type, redshift dependent LFs. We have chosen to use the Zucca et al. (2009) parametrisation which, once extrapolated to high redshifts, provides a reasonable evolution of the number of galaxies. Only galaxies within a cone with half-opening angle of 60 degrees (defining a solid angle of π, so covering ≈10,000 deg 2 ) are kept. The catalog in our simulation properly covers the redshifts from 0.2 to 2.45. -We use a library of 51 interpolated SEDs from six main SEDs, composed of 4 SEDs of Coleman et al. (1980): Elliptical, Sbc, Scd or Im, and the 2 SEDs of Kinney et al. (1996): SB3 and SB2. Galaxies from each LF class are then distributed over a subset of these 51 interpolated SEDs. We then compute the apparent magnitudes in each of the six LSST bands (ugrizy) for each galaxy present in the simulation volume, taking into account the nominal LSST 10year photometric errors for each band. The photometric errors will depend on the distribution of visits per filter and on the ability to manage the atmospheric properties during observations, as shown in Graham et al. (2018). Note that these errors have been estimated for point-like sources and are applied to extended sources. Only galaxies with m i < 25.3, satisfying the so-called LSST golden selection cut, are kept for the subsequent analysis, allowing a reliable estimate of the photo-z.
As it will be shown and discussed in this paper, the effective density of galaxies observable in LSST as a function of redshift is a crucial ingredient to compute its expected performance for measuring the LSS power spectrum and the BAO scale. Many values of the Schechter parameters describing the LFs can be found in the litterature Ramos et al. (2011), Dahlen et al. (2005), Zucca et al. (2009) for instance. As expected, LF parameters derived from observations have some uncertainties and one finds significant differences when galaxy densities in the LSST survey are computed from different set of LFs.
In the left panel of Fig. 2, we show the expected galaxy surface density number as a function of the i-band magnitude limit. We compare the numbers obtained from the extrapolation used in the LSST Science Collaboration et al. (2009) and numbers derived from Dahlen et al. (2005) and Zucca et al. (2009) LF parameters. These curves are obtained by integrating the LF Schechter functions for each redshift, with the faint end absolute magnitude limit computed from the i-band magnitude limit, taking into account the K-correction and the luminosity distance. The observable galaxy density is then integrated as a function of redshift, over the cosmological volume element. As it has already been pointed out, by Chang et al. (2013) for instance, the expected galaxy density used in LSST Science Collaboration et al. (2009) is rather optimistic. Indeed, for the LSST golden selection cut, the Science book extrapolation yields ∼ 55 gal/arcmin 2 , compared to ∼ 36 gal/arcmin 2 for Dahlen et al. (2005) and ∼ 41 gal/arcmin 2 for Zucca et al. (2009). The initial LSST value of 55 gal/arcmin 2 seems to come from a too rough first guess.To explain the discrepancy between the two other sets of LFs, we compare their expected number of galaxies per Mpc 3 as a function of redshift for the LSST golden selection cut in the right panel of Fig. 2. The Zucca et al. (2009) LFs lead to a higher galaxy number density at all redshifts above z ≈ 0.6. So, once integrated up to z ≥ 0.8, the surface galaxy number density is higher with this set of Schechter parameters. Moreover the Zucca et al. (2009) LFs provides smoother, so more realistic, galaxy density evolution along the cosmic time.
Our simulated galaxy number density should also be compared to the available observed values. The recent Hyper Suprime-Cam Survey has properties rather similar to the expected ones of the LSST survey Medezinski et al. (2018). Their galaxy number density usable for photo-z reconstruction is of almost 22 galaxies per arc-min 2 , the one usable for weak-lensing is of almost 25 galaxies per arc-min 2 and it exceeds 30 galaxies x 10 x 10 -3 per arc-min 2 in some parts of the GAMA15H field Mandelbaum et al. (2018). So our galaxy number density sounds reasonable, in agreement with previous LSST forecast for weak-lensing too Chang et al. (2013).

Galaxy density = f(redshift) , Dahlen (triangle), Zucca (box) Galaxy density = f(redshift) , Dahlen (triangle), Zucca (box)
From the 28 billions of simulated galaxies, about 1.4 billion satisfy the LSST golden selection cut. This number is roughly a third of the "official" volume of the LSST catalog, firstly because only 10,000 square-degrees have been simulated instead of the 20,000 square-degrees that will be scanned by LSST, secondly because the galaxy density initially foreseen was probably overestimated, as we have pointed it out previously. Figure 3 shows the histograms of the differential number of galaxies as a function of the redshift, before and after the LSST golden selection cut, as well as the distribution per broad type. Our mock catalog extends from a redshift of 0.2 to a redshift of 2.45. About a tenth of the galaxies have a good enough photometry for cosmology purpose at z ≈ 1 and one thousandth at z ≈ 2.
Note that in the full simulation of the mock catalog, dust extinction, photometric errors and use of 51 interpolated SEDs (instead of 6 main SEDs) are included. This comes to be small differences between the numbers from the curve labeled Zucca, derived from the full simulation and the results labeled Zucca of the simplified model presented in Fig. 2.
In order to take into account realistic uncertainties on the redshift, random errors are added to the true redshift z s . Four error models are studied: a Gaussian error with σ = 0.03 * (1 + z s ), a more realistic photo-z reconstruction using PDF distributions described in 3.1, a photometric error improved by quality cuts on the BDT variable as described in 3.1.1, keeping 90 (bdt 90%) or 80 % (bdt 80%) of the galaxies.

Photometric redshift reconstruction
To guarantee the cosmological capabilities of LSST, requirements on the quality of the photo-z reconstruction are provided the interquartile range IQR of e z , is lower than 0.05 (the goal is lower than 0.02), the fraction of outliers f out defined as the fraction of galaxies with e z > 0.15 is lower than 10 %, the bias b defined as the median value of e z is lower than 0.003.

Method
The photo-z reconstruction is performed with a template fitting method presented in details in Gorecki et al. (2014). The SED library is made of 51 templates used for the photometry computation. Note that this step of the work is expected to be rather optimistic for LSST redshift reconstruction performance since our SED library completely represents the simulated observations. The method uses the prior proposed in Benítez (2000) to remove some degeneracies (mostly Lyman / Balmer breaks) based on magnitude distribution in the i-band. For each galaxy we have to compute a 3D-grid of χ 2 (z, T, E B−V ) where the redshift z, the galaxy type T and the extinction from inner dust E B−V are the three parameters determined by the photo-z reconstruction code. The extinction follows the Cardelli et al. (1989) or Calzetti et al. (1994) law, depending on the galaxy type. We marginalise the χ 2 grid over the two other parameters to get the marginalised 1D posterior probability density functions P(z), P(T ) and P(E B−V ). The redshift estimator can be chosen as z χ p (value of the triplet that minimise the χ 2 in the grid) or z marg p , value that maximises the posterior probability density function P(z). In this work we use the latter one: z p = z marg p . This code gives photo-z performances similar to other public codes (Ricol et al., in preparation) but allows us more freedom, in particular the possibility to compute our PDF functions.

Outliers rejection
The originality of the method is the outliers effective rejection with a machine learning technique based on the characteristics of the PDFs.
We have improved this technique in the present work. The Likelihood Ratio method presented in Gorecki et al. (2014) has been indeed replaced by a Boosted Decision Tree (BDT) algorithm based on the same discriminant parameters but more robust and performant. The parameters used in the BDT are: the number of peaks in the marginalised 1D posterior probability density functions denoted by N pk (θ), where θ is either z, T or E B−V , when N pk > 1, the logarithm of the ratio between the height of the secondary peak over the primary peak in the 1D posterior probability density functions, denoted R L (θ), when N pk > 1, the ratio of the probability associated with the secondary peak over the probability associated to the primary peak in the 1D posterior probability density functions, denoted by R pk (θ) (the probability is taken proportional to the integral of the PDF between two minima either side), the absolute difference between z pk and z marg pk , denoted by D pk = |z pk − z marg pk |, the maximum value of log(L) where L is the likelihood, The BDT method is trained on an independent sample of 100,000 galaxies. The impact of the training sample (number of galaxies, completeness) has been studied in details in Gorecki et al. (2014) and shows no significant bias within reasonable statistics.
After training, the BDT method provides a BDT value between -1 and 1 for each test sample galaxy, outliers having lower BDT values than good reconstructions. We can then apply a cut on this number.
The technics on photo-z reconstruction are continuously improved, see for instance Süveges et al. (2017), Cavuoti et al. (2017), Sadeh et al. (2016), Gomes et al. (2017), Pasquet et al. (2019). However, we do not expect significant changes in the main features of the reconstructed photo-z distributions and the impact of the LSS power spectrum reconstruction.

Fast photo-z computation
For a sake of computing time we have developed a fast photometric redshift reconstruction (hereafter FastPZ) tool that allows to quickly compute the photo-z for each galaxy. The FastPZ tool is based on true photo-z distributions sorted in bins of true redshift, absolute magnitude and broad type. We use 121 bins in absolute magnitude M (from -24 to -12 with a step of 0.1), 3 bins in broad type BT (Early, Late or StartBurst) and 61 bins in redshift z (from 0 to 3 with a step of 0.05) leading to a total of 21,780 bins. In each bin we simulate several thousands of photometric data, compute the photo-z for galaxies satisfying the LSST golden selection cut and construct the P(z p − z s |M, BT, z s ) distributions. For very low statistic bins we increase the number of galaxies in order to get reliable distributions.
The full method uses photometric information in the six filters. It is the one applicable to real data. In a simulation framework, the fluxes are first computed from the broad type, the absolute magnitude and the true redshift of each galaxy. The FastPZ method directly uses the 3D (BT, z s ) mapping to retrieve the reconstructed photo-z PDF from the broad type and the absolute magnitude of the galaxy. This method is able to compute 10 millions of photo-z's in 1 second while it takes several hundreds of hours with the full method, resulting in a gain of CPU of about 1 million.
We have checked that performances of the FastPZ tool and the whole redshift reconstruction are very similar (Ricol et al., in preparation). Figure 4 presents the results of the FastPZ and the performances of the outliers rejection with the BDT method applied on our mock catalog of ≈1.4 billion galaxies. The BDT cut value is tuned to keep a given percentage of the total number of galaxies. Figure 4 (top left) shows the density of photo-z z p as a function of the spectro-z z s . While most of the reconstructed redshifts lie close to the diagonal, the plane is almost filled by some "catastrophic" reconstructions (i.e. galaxies labelled as outliers). Nevertheless, the galaxy density is shown with a logarithmic colour scale, so at least one thousand times more galaxies lie in the diagonal area than in the green areas. Figure 4 (top right and bottom left) shows the same distribution as previously, but after use of the bdt 90% or bdt 80% cut to reject outliers. Galaxies lying in the diagonal area are mostly unaffected while all the space above the diagonale is now almost completely cleared out. The part below the diagonal is much cleaner too. If the BDT cut is always efficient, it is particularly powerful at high redshift (z s > 1.5) where the number of galaxies with "catastrophic" redshift is reduced by at least 2 orders of magnitude.
The quality of the photo-z reconstruction is evaluated with the estimators used by the LSST collaboration. These statistical properties of e z = (z s − z p )/(1 + z p ) are plotted as a function of the photo-z in Fig. 4 (bottom right). The LSST requirements are more or less satisfied by all the photo-z reconstructions up to z p ≈ 1.6. For higher redshifts, a BDT cut is mandatory, the interquartile range (IQR) remains close the requirement and the bias varies significantly. Note that a similar degradation of the photo-z reconstruction performance is observed above z = 1. Selection functions are computed as the ratio between "observed" galaxy redshift distributions (spectroscopic, Gaussian or photometric), satisfying the LSST golden selection cut, and the "true" redshift distribution of all galaxies (black line of Fig. 3). Of course we have to limit the magnitude when "true" galaxies are simulated. "No magnitude cut" means in fact m i < 27, which should be close to the depth of the stacked images after the 10year survey completion. Galaxies are simulated with absolute magnitude in the range [-24, -13]. This range is appropriate to our simulation as, even at the lower redshifts, the selection function remains below 1 but is close to 1, so we simulate enough, but not too many very faint galaxies.
The selection functions are shown in Fig. 5. The main shape, shown by the cyan line, directly reflects the LSST golden selection cut. The selection function with the Gaussian error model is very close to the one using spectro-z, but the ratio of the two functions exhibits an expected slight warp as the smoothing of a power-law-like distribution leads to a flattening of this distribution. Cases with photo-z error models are very different: the ratio between the selection function of any of the photo-z cases and the spectro-z case exhibits significant structures. Asymmetric e z distributions are responsible for these visible distorsions since they induce migration of galaxies from true redshift distribution into a distorted measured redshift distribution. It is particularly visible around z = 0.5 (see Fig. 6, top left). Difficulties in the photo-z reconstruction with asymmetric distributions around this redshift are rather generic, for instance it has been deeply studied by the SDSS collaboration Beck et al. (2016).
Additionally, catastrophic redshift reconstructions significantly affect the selection function at high redshift, let's say above z = 1.6. Indeed, a small fraction (a few percents) of the large low-redshift galaxy population can significantly contaminate (up to 30 %) the much less populated regions at high redshift. The use of the BDT cut makes the selection function slightly smoother as the IQR, the bias and the number of catastrophic photo-zare significantly reduced. The cost is an additional decrease of the number of usable galaxies, from 2 ‰ to less than 1 ‰ at z = 2 for instance.
It is interesting to pay attention on the origin of the bias. A residual bias can be corrected for only if it is attributed to a determination method that is known to systematically over or underestimate a measurement. It appears not to be the case here, as illustrated by Fig 6. The normalised histograms of e z have been plotted for 4 bins in redshift chosen for their various bias values (visible as the gap between the dashed black and the coloured vertical lines). The e z distributions have their maximum near zero, but when they are strongly asymmetric, the means differ significantly from the median. Here, applying global shifts to the photo-z distribution would be improper. Around z p =0.51 or 1.89, the bias in the photo-z case is far beyond the requirements but the BDT cut significantly decreases the asymmetry of the e z distribution and the bias becomes marginally compatible with the requirements at the cost of a significant loss of galaxies. At the opposite, at z p = 1.05 or 1.20, the bias is small, close to the requirement, and the IQR and the fraction of outliers are satisfactory (see Fig. 4): there is clearly a systematic effect but it remains compatible with the requirements and the BDTcut is not able to improve the symmetry of the e z distributions.    Table 2. Fraction of galaxies f gal with |e z | = |z s −z p |/(1+z p ) lower than several thresholds for the three photometric error models. The threshold of 0.02 is the goal, 0.05 is the requirement ; 0.15 defines the outliers.

Number density of galaxies
The redshift evolution of the galaxy number density (in [Mpc −3 ]), for galaxies satisfying the LSST golden selection cut, with and without BDT quality cut is shown in top panel of Fig. 5 (right vertical axis). Additionally, the average galaxy number density for few redshift ranges is given in Tab. 1. The impact of the error model on the galaxy density is driven by the BDT cut: 10 or 20 % of the galaxies are lost with the bdt 90% or bdt 80% cuts, by definition. One can notice the differences on the number of galaxies between the first two redshift bins, using Gaussian or photo-z redshifts: we retrieve the partial redistribution of the galaxies around z = 0.5, already seen in the shape of the selection functions, when photo-z are used. Table 2 gives the fraction of galaxies with relative redshift difference e z lower than some thresholds. The LSST requirement on the fractional photo-z error is 5 % with a goal of 2 %. Galaxies with a fractional photo-z error of 15 % are considered as outliers. The three columns of Tab. 2 correspond to these three thresholds.

Computation on the power spectra at different redshifts
Our aim is to quantify the impact of photometric redshifts on the LSS power spectrum P(k) and the BAO scale s A determination in LSST. We have thus chosen to use a Fourier Transform based procedure, which is a rather simple, robust and well tested method to determine the LSS power spectrum. Other methods, such as direct computation of the two-point correlation function are often used when analysing observed galaxy catalogs, Szalay et al. (2003) or Anderson et al. (2012) for instance. These methods can indeed be better suited to real data, as they can handle more easily inhomogeneous sampling of space, blind spots due to bright stars for instance, which require the use of masks, but more time consuming than FFT. Nevertheless, difficulties related to Fourier-space analysis can be overcome . Assuming a fiducial cosmology, galaxy angular positions and redshifts are converted into cartesian positions which are used to project the galaxies (weighted by the inverse of the selection function) into a 3D-grid n obs (r). There is a difficulty for this grid-FFT method. Cartesian grids are not well adapted to the spherical geometry and a clean definition of the redshift range. We have overcome this difficulty by the use of several grids, each set paving the spherical shell in a given redshift range, as described below.
A Fast Fourier Transform (FFT) is so applied to compute the Fourier modes F(k) of the grid n obs (r) and the power spectrum of each normalised, mean subtracted galaxy number density grid: The BAO scale is then extracted from the power spectrum through a fit of a damped sinusoid to the ratio of the observed power spectrum to a wiggle less (no BAO) power spectrum (see Sect. 4.3).

Multiple grids covering a redshift range
First, the volume of universe covered by the simulated galaxy catalog is organised as several sets of 3D-grids, each set covering a given redshift range. Euclidian (x, y, z) axes are defined with respect to the observer, with the Oz axis corresponding to the line of sight through the center of the field. A given direction Ω = (θ, ϕ) is defined by two angles, θ being the angle with respect to Oz and ϕ the angle of the projection of Ω on the xOy plane with Ox axis.
The grid thicknesses are a compromise between a reasonably small redshift range, sufficient statistics and large enough volume to be sensitive to low k-values (k min ∼ 0.005). The margin with respect to the initial BigCube limits must be sufficient to avoid artificial loss of galaxies, as the photo-z errors can be large, especially at high redshifts.
We have defined three sets of 5 grids each, centred at redshifts z = 0.5, 0.9, 1.3, each grid being subdivided into 8 × 8 × 8 Mpc 3 cells. One grid is centred along the Euclidian z axis while the others are rotated by 40 degrees in θ and scattered at 0, 90, 180, 270 degrees in ϕ. A 3D-view of the grids is drawn in Fig. 7: the initial BigCube is represented by the white box, the field-ofview by the grey area while grids are drawn in colours according to their redshift range. The black lines mark out the BigCube. The grey area shows the field of view of π sr which is filled by galaxies from z = 0.2 to z = 2.45. The 5 grids used to compute each power spectrum are drawn in blue, orange or red according to their central redshift. Table 3 summarises the main characteristics of these three grid sets. After projection of the galaxy catalog into the grids, each cell will contain the number of galaxies with a position falling in it, weighted by the inverse of the selection function corresponding to the considered error model at the appropriate redshift. Figure 8 shows the galaxy density contours of two slices through the center of the z = 0.9 central grid. The (x, y) slice corresponds to the transverse plane and the (z, y) slice contains the line-of-sight Oz axis. While density contours are isotropic and small structures are well contrasted with spectro-z (left panels), features appear along the radial (redshift) direction and small structures have faded out with photo-z (here bdt 80%, right panels).

Power spectra and noise estimation
We have computed power spectra P obs (k) for each of the five redshift error models: spectroscopic redshifts (no-error), redshifts with gaussian error σ z = 0.03(1 + z) and photo-z reconstruction without or with 90% or 80% BDT cut.
We also compute the shot-noise contribution by simulation. A separate set of grids is filled by Poisson noise using the mean galaxy density at the redshift of each cell. Further steps -application of the error model on the redshift or selection function correction for instance -are then applied as for grids filled by galaxies. The power spectra of the shot-noise grids P SN are flat and the shot-noise contribution is properly approximated by a constant, as expected, which is determined with a small statistical uncertainty.
The shot-noise subtracted power spectrum is defined by P D (k) = P obs (k) 3D−grids − P SN , where the subscript D stands for damped. Indeed, the recovered power spectrum is damped due to redshift errors, compared to the underlying galaxy distribution power spectrum. Theoretical (input) and recovered power spectra from simulated galaxy catalogs, at the three redshifts and for the five redshift error models, are shown in figure 9. Fig. 9. Recovered power spectra P D (k) computed from the 5 grids centred at each redshift bin, after subtraction of the shotnoise contribution. Black lines correspond to the theoretical (input) power spectra while other colours refer to the five redshift error models. The line thickness identifies the grids central redshift, with the thickness increasing with the redshift.
One can see the global decrease in amplitude at all scales when the redshift increases, by comparing for instance the theoretical shapes (black lines). It is related to the increasing growth factor with cosmic time. The power spectra recovered from catalogs with spectro-z for the three redshift ranges (cyan curves) follow the theoretical shapes at low k, but a moderate damping can be seen, starting around k = 0.1, which is mainly due to the sampling with 8 3 Mpc 3 cells.
The damping of the power spectrum produced by the photometric redshift smearing is clearly visible when errors on redshift are introduced. The damping factor reaches a factor ≈10 at the BAO scale, around 150 Mpc (k ≈ 0.04).
The BDT cut reduces the photo-z dispersion, so reduces the damping: the recovered power spectrum amplitude increases with more stringent BDT requirement. Note that the differences are tiny between the green, pink and purple medium thickness curves, as photo-z performance is already good around z = 0.9 without any BDT cut. The amplitude of the recovered spectra from the grids centred at z = 0.5 and z = 1.3 are more sensitive to the BDT cut.
The power spectra for the grids centred at z = 1.3 start to flatten at high k because they are not far to be shot-noise dominated with an average of only two galaxies per cell (see Tab. 3).
The statistical errors associated to the recovered power spectra are given by: where V is the total volume of the grids in a given redshift range and δ k is the sampling width in wavenumber. We have checked that the dispersion of the recovered power spectra from different mock catalogs do follow the above relation, although with limited number of catalogs, due to CPU and storage intensive computations needed to generate and analyse the catalogs.  Table 3. Geometrical description of the grids used for the power spectrum computation and mean number of galaxies falling in one of the five grids in each set, with and without BDT cut. Grids are composed of w × w × t cells of 8 3 Mpc 3 , with w and t the width and thickness values given in the table. The fractional statistical uncertainty on the recovered power spectrum σ P /P(k) is plotted in Fig. 10. It depends naturally on the wavenumber k, but also on the redshift interval and on the redshift error model. One can distinguish two regimes on these curves: -The fractional power spectrum error σ P /P(k) is dominated by the cosmic variance at low wavenumber (k < 0.015), for all of the five error models and all redshift intervals. It remains true with spectroscopic redshifts up to, at least, k ≈ 0.15. The cosmic variance contribution is larger for low redshift as the grids are smaller and it evolves as 1/k. -At medium or high wave-numbers, the fractional statistical error σ P /P(k) is dominated by the shot-noise contribution. The lower limit in wave number for this regime depends on the redshift range. The shot-noise contribution is significantly lower when spectro-z are used. Indeed the shot-noise levels, which depend on the mean galaxy density, are very similar for the spectroscopic, Gaussian and photometric cases. However, their relative value with respect to the power spectrum P D (k) increase significantly as P D (k) are damped due to radial smearing (Gaussian or photo-z error models). Note that even with spectro-z, for the 3D-grids centred at z = 1.3, the relative error contribution flattens at k ≈ 0.2, as the shot-noise starts to overwhelm the LSS power spectrum.
In summary, we can expect a more accurate BAO scale determination from the grids centred at z = 0.9, compared to the grids centred at z = 0.5 and z = 1.3. The precision on the recovered power spectrum is limited by the cosmic variance at low red-shift (z = 0.5) and by the shot-noise at high redshift (z = 1.3). Note that non-linearities will also soften the oscillations above k ≈ 0.1 Mpc −1 .

Extraction of the BAO scale
The baryon acoustic oscillations are subdominant with respect to the global matter power spectrum shape, as they are hard to see even on theoretical curves (black lines on Fig. 9). Thereby, the power spectrum, damped by any feature affecting the data or the computation method, follows a global shape with the small superimposed oscillations.
We do not want to assume any shape of the damping induced by the smearing produced by photo-z errors. So we cannot use an analytical model as it is done for Gaussian error model Glazebrook & Blake (2005). The appendix contains the description of the procedure that we have developed to estimate the smooth, wiggle-less, power spectrum from the observed one. The oscillating component in the spectrum is extracted, through the fitting of a damped sinusoid, similar to the Wiggle only method Glazebrook & Blake (2005) where the amplitude, the damping scale and the oscillation scale are left as free parameters.
As mentioned in Sect. 2, we have used a simple model in this simulation, ignoring non-linear effects or bias on the LSS power spectrum and mock galaxy catalog generation. Indeed, non-linear clustering affects the power spectrum, leading in particular to a damping of the BAOs features at small scales Crocce & Scoccimarro (2008), Rasera et al. (2014), Obuljen et al. (2017) or Seo & Eisenstein (2007). In order to limit over-estimating LSST capability to recover the BAO scale, we have restricted the k-range used to extract the oscillating component in the power spectrum and to determine the BAO scale s a . We have used two k-ranges, a very conservative one where only k ≤ 0.1 h/Mpc −1 (i.e. k ≤ 0.07 Mpc −1 ) have been kept, and a second one, using wave modes up to k ≤ 0.15 h/Mpc −1 (i.e. k ≤ 0.1/Mpc −1 ). Indeed the impact of non linear clustering for low k-modes (k ≤ 0.1 h/Mpc −1 ) can be safely neglected. However, as one can see for instance from Rasera et al. (2014), the damping of the BAO features due to non-linear clustering is limited up to 0.15 h/Mpc −1 , specially at higher redshifts (z ≥ 1), which is more in focus in this work. The comparison of the reconstructed BAO scale error from these two k-ranges gives an indication of the amount of information in larger k-modes for different redshift bins.
For illustration purpose, we show the oscillating component of the LSS power spectrum in the Fourier space, as well as the fitted damped sinusoid, for the redshift z = 0.9 on Fig. 11.
The estimated errors on s A are gathered in Fig. 12 for the two tested k-ranges . In agreement with previous considerations, results obtained for 3D-grids centred at z = 0.9 are more precise than results obtained from 3D-grids centred at lower or higher Fig. 11. Recovered oscillation part of the power spectra in Fourier space for the grids centred at z = 0.9 considering, from top to bottom, spectro-z, photo-z without and with bdt 80% cut. The coloured lines are the fitted oscillations using the simple "Wiggle only" description. The BAO scale is at the first intersection between this fitted damped sinusoid and the horizontal black line. The expected value of k A from the fiducial Planck 2015 ΛCDM model (0.0417 Mpc −1 ) is shown by the vertical line. redshifts. The results are two or three times worse if the k-modes between 0.07 and 0.1 Mpc −1 are removed. Indeed the loss of half of the second oscillation impacts the ability to precisely recover the BAO scale. Nevertheless it does not suppress it as the error remains below 5 % in all cases.
The errors are probably underestimated, especially in some cases, so it prevents from proper estimation of the impact of the BDT cut on the recovery of the BAO scale. Indeed, the reduced χ 2 are reasonably close to 1 when spectro-z are used and for all error models for grids centred at z = 0.9 and z = 1.3. But the reduced χ 2 ranges from 5 to 6 when the fit is performed from grids centred at z = 0.5 with Gaussian or photometric error on the redshift. We interpret this as a hint that another component in the error computation related to the error on the redshift should be included. This component is mainly hidden by the shot-noise at higher redshifts. It is due to the redshift dispersion and not to the bias or the presence of outliers as the χ 2 's are similar with the Gaussian error model (with no bias and virtually no outlier) and with the photo-z error model.

Interpretation and discussion
We will try to explain here some of the general behaviours that we have observed using the full simulation in the previous section. We will then use a simple simulation tool implementing these effects to get BAO scale determination uncertainty in a LSST-like survey, compared to a fiducial spectroscopic survey.
The use of photo-z induces two main effects on the galaxy distribution. A first one is the smearing along the radial direction, due to reconstructed redshift uncertainties, and a second one is the presence of outliers, due to catastrophic redshifts. We can write the observed galaxy number densities n obs (r) along the line of sight r from which the underlying LSS matter power spectrum is computed as: n obs (r) = n pz g (r) + n out (r) where n pz g (resp. n out ) denotes galaxy population with reasonable photo-z (resp. outliers). Introducing the outlier fraction f out , we have the following relations between the different average number densities: n pz g = (1 − f out )n obs ;n out = f outnobs .
The observed matter distribution power spectrum is computed from the galaxy number density field renormalised by the average density : P obs (k) : FFT [n obs (r)/n obs − 1] .
Neglecting the correlation between galaxies with correctly reconstructed redshifts and outliers, the observed power spectrum can be written as: The different terms of this equation correspond to: -The P g (k) × η(k) term corresponds to the power spectrum of the galaxy number density field radially smeared due to photo-z errors, leading to a damping of the power spectrum (0 < η(k) ≤ 1). η(k) follows a scaling law: η(k) = f (k × σ R ) with σ R the standard deviation of the smearing along the radial direction as described in Blake & Glazebrook (2003). -Outliers correspond to galaxies from different redshifts shuffled to a large extent, so P out (k) P g (k); they contribute to the overall noise in the observed galaxy power spectrum. However, the outliers contribution would be negligible in most cases, as long as f out < 10%.
-P SN is the combined shot-noise power spectrum from the two populations: (1 − f out )n obs n 2 obs + f outnobs n 2 obs = 1 n obs We have computed the damping function η(k), corresponding to the ratio of the recovered power spectrum to the input power spectrum, for different levels of smearing along the radial direction. The left panel of Fig. 13 shows the damping function η(k) for four values of the standard deviation σ R = 50, 75, 100, 150 Mpc of Gaussian smearing along the radial direction. The damping function follows very well a scaling law, η(k) = f (k/k 0 ) where k 0 = 1 σ R , as shown in Fig. 13. The damping function is well represented by the following analytic function We have also plotted σ R (z) = c H(z) × σ pz (z) as a function of redshift on the right panel of Fig. 13, using the redshift dependent σ pz (z) from full photo-z reconstruction of Sect. 3 with bdt 90% selection cut.
We have carried a study of the BAO scale reconstruction uncertainty using a toy-program where the observed galaxy power spectrum and associated errors are computed using the expressions given above. The galaxy power spectrum has been damped using a redshift dependent radial smearing σ R (z), as represented by the IQR variable in Fig. 4, and a fixed value of 5% for the outlier fraction. Note that σ R (z) is very irregular, as the IQR is in Fig. 4; this variability is not due to a lack of statistics but to galaxies spectra features seen by the photo-z method. We have used redshift dependent galaxy number density following the values obtained in our full simulation, slightly below the ones shown in Fig. 2. We computed the ratio of the observed power spectrum to a theoretical power spectrum without BAO oscillations R(k) = (P obs (k) − P SN ) / (P no−osc (k) * η(k)). The BAO scale s A is then determined by fitting a damped sinus function A exp (k/k d ) sin (s A k) to the ratio R(k), with three free parameters: A, k d , s A , over the restricted k-range 0.03 ≤ k ≤ 0.1 Mpc −1 , equivalent to 0.04 ≤ k ≤ 0.15 hMpc −1 . A constant quadratic error of 0.4% has been included to compensate partially for the simplicity of this fitting method. The increase of the uncertainty due to photo-z smearing is however marginally sensitive to the fitting procedure. The error is determined from the distribution of reconstructed BAO scales s A .
The survey volumes given in Tab. 3 correspond to a survey of slightly less than 4,000 deg 2 . Using our toy-program and for Ω surv = 4, 000 deg 2 , we obtain a BAO scale uncertainty σ s A of 1.9 Mpc (≈ 1.3%) and 2.2 Mpc (≈ 1.5%) for spectro-z and photo-z, with k max = 0.1 hMpc −1 for the redshift bin centred at z = 0.9, in reasonable agreement with the error bars represented in Fig. 12. It should be stressed that the uncertainties given by the toy-program should be considered as a lower limit of the true error bars, as the galaxy power spectrum and the one without BAO oscillations, as well as the damping function η(k) are supposed to be perfectly known. However, the comparison between spectro-z and photo-z remains meaningful.
We have used this toy-program to compute σ s A for an LSSTlike survey and an effective survey area Ω surv = 10, 000 deg 2 , in six redshift bins in the range [0.4 -2.2]. The results are summarised in Tab. 4, where one can see the increase of the error on the BAO scale due to photo-z. Despite high galaxy number density, the relatively large value of σ s A around z ∼ 0.5 can be explained by the more limited survey volume and larger photoz dispersions, which has an even larger impact due to smaller Hubble parameter H(z). The BAO scale would be rather well constrained by the LSST survey in the redshift range 0.7 z 1.6, thanks to good photo-z reconstruction and large galaxy number densities. The degradation of BAO scale determination is visible for redshifts above z ∼ 1.6 and even more clearly above z ∼ 2, where σ s A is increased by a factor ≈ 4 in the case of photo-z, compared to a full spectro-z.
We have also included forecasts of σ s A for a fiducial spectroscopic survey with realistic galaxy number densities in Tab. 4. Spectroscopic surveys naturally have a significantly lower galaxy number densities than photometric surveys which limit their statistical power to map the LSS. To determine the galaxy number density for our fiducial spectroscopic survey, we have used the foreseen number of objects in the DESI survey Aghamousa et al. (2016). They expect to reach ∼ 1625 objects per deg 2 up to redshift ∼ 2.1, by considering LRG's up to redshift 1 (0.4 < z < 1.0), ELG's in the redshift range 0.6 < z < 1.6 and QSO's up to redshift z ∼ 2.1. This galaxy density is about 75 times less than the one expected for LSST ( 125000 per deg 2 ). However, to be conservative, we have applied a factor 50 to the LSST galaxy number densities for the first 4 redshift bins, up to z < 1.6, and a factor 30 for the last two redshift bins 1.6 < z < 2.2 to obtain the galaxy densitiesn gal for computing forecasts for our fiducial spectroscopic survey.
The amount of information available in the high k-modes can be evaluated by comparing the gain in the BAO scale precision by extending the k-range in the fit, i.e. by fixing k max to 0.1 instead of 0.07 Mpc −1 . Such an extension would lead to a decrease of the relative uncertainty σ s A by almost a factor of 2. It is probably slightly less if the natural smoothing produced by non-linear effects is taken into account. The gain is more limited at higher redshifts as the shot-noise becomes dominant. The ability to properly model the non-linear part of the LSS power spectrum may give access to a still larger k-range. A hint of the improvement is given by the last column, for a fiducial spectroscopic survey, with oscillations fitted up to k = 0.2 Mpc −1 . Note that such small scales are mainly whipped out, hidden by the shot-noise, if photo-z are used (see Fig. 10).
Comparing the columns of Tab. 4 shows the robustness of the BAO scale as a standard ruler, even if a relatively small fraction of the galaxies is used or if the redshift suffers from some dispersion. This parameter is statistically mostly immune to these defects below z ≈ 1.5. Nevertheless, the LSS power spectrum is significantly damped if photo-z are used. So using the whole shape, and not only the BAO scale, would require a very precise knowledge of the photo-z properties at the origin of the damping function η(k), while it is more directly provided by spectro-z surveys.
Here, only the isotropic BAO scale has been considered. However, it should be kept in mind that the BAO probe is more powerful in spectroscopic surveys, as they will be able to determine the BAO scale in the transverse and radial directions independently, and to measure the redshift space distortions, while LSST will be, mostly, sensitive to the transverse BAO scale due to photo-z smearing.

Conclusion and perspectives
The determination of accurate photometric redshifts of galaxies for redshifts up to 2, at least, is one the main challenges of the LSST survey. We have evaluated the impact of realistic photo-z uncertainties on the LSS power spectrum and the BAO scale uncertainty. The number density of usable galaxies and its evolution with redshift is one of the main parameters with major impact on cosmology with LSST. We have determined the expected galaxy number density in the LSST survey, which decreases from ∼ 0.015 Mpc −3 at redshift z ∼ 1 to ∼ 0.0015 Mpc −3 at redshift z ∼ 1 and associated photo-z errors. We have shown   Table 4. BAO scale determination relative uncertainty σ s A for different redshift ranges, for an ideal survey (left), for an LSST-like photometric survey (middle), and for a fiducial spectroscopic survey (right) with Ω surv = 10, 000 deg 2 .n gal is the galaxy number density in units of 10 −5 Mpc −3 . The spectro-z redshifts are used for the ideal and the spectroscopic survey, and photo-z with errors similar to the reconstructed photo-z with the bdt 90% quality cut are used for the photometric survey. The columns giving σ s A differ by the k-range used: k max1 means k ≤ 0.07 Mpc −1 , k max2 means k ≤ 0.1 Mpc −1 and k max3 means k ≤ 0.2 Mpc −1 .
that LSST should be able to recover the BAO scale with few percents uncertainty up to redshift z 1.5.
Around z = 1, photo-z are accurate, with low bias and there is a small fraction of outliers. Therefore, LSST should be able to map accurately the galaxy distribution at this crucial stage of the history of the Universe, when the dark energy starts to dominate over matter. The redshift of closer or more distant galaxies is less accurately measured in LSST, due to degeneracies between redshift and galaxy type. At low redshifts, the use of additional information like a BDT cut is helpful, leaving enough galaxies to properly compute the matter power spectrum and extract the BAO scale. At high redshifts (z 1.5 − 2), the observed galaxy number density is small and cannot compensate any more the photo-z smearing and the BAO signal is mainly washed out. Our studies indicate that LSST will be able to recover with precision the BAO scale up to z ≈ 1.5, with a photoz reconstruction performances within requirements, confirming previous studies e.g. Zhan & Tyson (2018). However, our study also shows that previous conclusions were rather optimistic regarding higher redshifts, as the recovered LSS power spectrum suffers larger uncertainties, due to the combination of a lower galaxy number density and poorer photo-z reconstruction.
Using spherical shells and spherical harmonic transform instead of Euclidian grids and Fourier transform is better suited to the analysis of galaxy surveys with large sky coverage. In addition, the theoretical framework for LSS analysis with spherical shells has been extensively developed in recent years, for instance Bonvin & Durrer (2011), Lanusse et al. (2015, Campagne et al. (2017). We plan to carry a study of the impact of photo-z with separate determination of the radial and transverse BAO scales using spherical shells. At low redshift, specially around z ∼ 0.5, the LSS power spectrum uncertainty is not limited by shot-noise in LSST, but suffers from photo-z spread and outliers. Identifying a population of galaxies with reliable photo-z at low redshifts is another useful follow-up study.
The polynomial description of the global shape B is determined as follows: computing abscissas of the inflexion points where no contribution of baryonic oscillation is expected -they depend on the assumed value of the BAO scale, deriving from data the ordinates of these points by averaging the power spectrum around these abscissas, fitting this set of inflexion points by a polynomial of fifth degree.
This method is illustrated by Fig. A.1. We have used power spectra weighted by the square of the spatial wave number (P(k)×k 2 ) to enhance the readability. The baseline derived by this method is smooth by construction and adapt itself to include all kinds of damping. The initial power spectrum is drawn in black, the inflexion points are indicated by the blue crosses and the red curve is the result of the fit, providing the global shape of the input power spectrum.
This method has been validated with results obtained from grids filled with galaxies derived from matter distribution unaffected by baryonic oscillations. Such a power spectrum, with baryons but without baryonic oscillation, are available in the Eisenstein approximation Eisenstein & Hu (1998).