This site uses cookies. By continuing to use this site you agree to our use of cookies. To find out more, see our Privacy and Cookies policy.

A Hybrid Approach Toward Simulating Reionization: Coupling Ray Tracing with Excursion Sets

Published 2019 December 12 © 2019. The American Astronomical Society. All rights reserved.
, , Citation Dinesh Raut 2019 ApJ 887 81 DOI 10.3847/1538-4357/ab5054

Download Article PDF
DownloadArticle ePub

You need an eReader or compatible software to experience the benefits of the ePub3 file format.

0004-637X/887/1/81

Abstract

This paper introduces a new method of generating 21 cm maps that is based on ideas from ray tracing and excursion sets. In this method, photons generated in each grid cell are computed using the excursion set ideas while their propagation is accounted for by ray tracing. The method requires the overdensity field over a grid as a starting point. Then the usual reionization parameters, minimum mass of collapsed halos (Mmin), number of ionizing photons deposited in the intergalactic medium per collapsed baryon (nion), and ratio of ionization rate to recombination rate (represented through nrec) are used. Thus, this is a hybrid method that utilizes the results of theoretically motivated excursion sets and combines them with the computationally intensive procedure of ray tracing. As the method integrates simple principles of both the approaches, it is expected to yield precise and fast estimates of the power spectrum on the scales of interest (0.1 Mpc−1 ≲ k ≲ 1.0 Mpc−1).

Export citation and abstract BibTeX RIS

1. Introduction

Epoch of reionization is a problem of great interest in modern cosmology (see, for example, Gnedin & Ostriker 1997; Barkana & Loeb 2001; Furlanetto et al. 2009; Zaroubi 2013; Cooray et al. 2019). It is challenging both observationally (see, e.g., Bernardi et al. 2009; Harker et al. 2010; Parsons et al. 2010) and theoretically (see, e.g., Madau et al. 1997; Ciardi et al. 2000; Benson et al. 2006; Furlanetto et al. 2006). This epoch can be studied with the redshifted 21 cm line originating from neutral hydrogen. This was first suggested decades ago (Sunyaev & Zeldovich 1975). This paper introduces a new method of generating 21 cm brightness temperature maps. The method is both simple and intuitive and can generate small resolution maps in a few minutes.

In this method, after getting the overdensity field from N-body simulations, excursion set ideas are used to compute the collapse fraction of each grid cell. This is done corresponding to a given minimum mass of collapsed halos (Mmin). Then the reionization parameter, the number of ionizing photons deposited in intergalactic medium (IGM) per collapsed baryon in stars (nion), is used to yield the number of ionizing photons produced in each grid cell. These generated photons are then propagated via ray tracing. During this step, recombinations are accounted for through the parameter nrec which represents the ratio of ionization rate to recombination rate. During the propagation step, two parameters are used, the step size or the distance by which each photon ray advances in each step and the Photon ray count which is the number of Photon rays that are used at the beginning of propagation. These parameters are chosen such that a reasonably stable 21 cm brightness temperature distribution is obtained in a fairly good amount of time. Ideally one would like to have many photon rays and a very small step size.

The organization of the paper is as follows. Section 2.1 presents the n-body simulations used for the study. Section 2.2 discusses the core ideas behind the method and Section 2.3 discusses the method in detail. Section 2.6 discusses the stability of the 21 cm brightness temperature distribution produced at the end of simulations with respect to the step size and photon ray count, the parameters that are chosen by hand. Section 2.7 briefly touches upon model parameters and their impact on 21 cm power spectrum. In the last section, Section 3, I talk about various future directions.

2. Simulating Reionization

2.1. N-body Simulations

As we know, the first luminous objects started to form around a redshift of 30 or so. One can perform n-body simulations to get the density distribution of dark matter at these redshifts (z ≲ 30). One can then use the excursion set formalism to identify the fraction of matter that has collapsed to form stars and galaxies from this density distribution. I have used the outputs of Illustris-2 simulations (Genel et al. 2014) to get the density distributions. The cosmological parameters used are wmap-9 (Hinshaw et al. 2013): Ωm = 0.2726, Ωb = 0.0456, σ8 = 0.821, and h = 0.704.

2.2. Core Idea of the Method

The method used in this paper is intermediate between theoretical semianalytic methods, which are based on excursion set ideas (Furlanetto et al. 2004; Choudhury et al. 2009; Mesinger et al. 2011), and extensively numerical methods, which are based on ray-tracing algorithms (Abel et al. 1999; Razoumov & Scott 1999; Nakamoto et al. 2001). Our method is closest to the hybrid approach of Trac & Cen (2007), Lee et al. (2008), and Zheng et al. (2011). This earlier work focused more on small-scale structure and hence is computationally more intensive. In our approach, excursion set ideas are used to compute the effective number of ionizing photons produced by the collapsed objects. But, for computing the ionization status of the IGM, instead of excursion set ideas, ray-tracing is applied. The idea is to compute the ionizing photons produced in each grid cell and then propagate them in small steps. Obviously, it is not possible to propagate all the photons, but it is possible to propagate a large number of photon rays so as to get a stable brightness temperature distribution in the end. Each photon ray carries a weight that indicates the number of ionizing photons the ray carries. As a photon ray propagates through IGM it would ionize the neutral hydrogen and its weight would decrement depending upon the number of neutral hydrogen atoms it encounters. The method is based on the assumption that ionizing photons will always ionize a neutral atom almost immediately. This is alright as the cross-section for ionization is very high for the situations considered (xH i ≫ 10−4).

2.3. Details of Methodology for Generating 21 cm Maps

The algorithm details are outlined in Figure 1

Figure 1.

Figure 1. Flowchart of the method algorithm.

Standard image High-resolution image

After getting the overdensity distribution from N-body simulations, the first step is to compute the collapse fraction fcoll for each grid cell using excursion set formulations (Press & Schechter 1974; Bardeen et al. 1986; Bond et al. 1991; Lacey & Cole 1993; Liddle & Lyth 2000):

Equation (1)

Here, δm is the mean linear overdensity of the grid cell, m is the total mass in the grid cell, σ2(m) is the variance of density fluctuations on the scale m, ${\sigma }_{\min }^{2}={\sigma }^{2}({M}_{\min })$, Mmin is the minimum mass of ionizing sources and δc(z) is the critical density for collapse at redshift z. The grid size used is 643 while the box size is (106.5 Mpc)3.

The second step is to compute the number of ionizing photons nγ dumped in the IGM in a grid cell by the objects that are collapsed in that cell:

Equation (2)

Here, nion is number of ionizing photons deposited in the IGM per collapsed baryon, nH is hydrogen density and YHe is helium fraction (Choudhury et al. 2009). Note that nion is closely related to the ζ parameter that is usually encountered in 21 cm literature (Furlanetto et al. 2004)

Equation (3)

Here, fesc is the escape fraction of the ionizing photons, f* is the star formation efficiency and Nγ/b is the number of ionizing photons produces per baryon in stars. Thus, nion is nothing but ζ without the ${\left(1+{n}_{\mathrm{rec}}\right)}^{-1}$ factor. If r is the ratio of recombination rate to ionization rate then one has $1-r\,={\left(1+{n}_{\mathrm{rec}}\right)}^{-1}$ or $r={n}_{\mathrm{rec}}/(1+{n}_{\mathrm{rec}})$. This factor is incorporated while propagation of photons. Thus, if in a certain step, n1 number of hydrogen atoms are ionized in a grid cell then $r\cdot {n}_{1}$ are added back to the cell to account for recombination.

Next step is to create photon rays. About 10 million photon rays are created and a weight value is assigned to each ray based on the total number of photons that are created in the whole simulation box. We have weight = total photons/ray count. Each grid cell will have a number of photon rays created, given by rays = nγ/weight. These rays are assigned initial positions and initial direction randomly inside the grid cell. The process is repeated for each grid cell.

Once photon rays are generated, they are propagated at each step by step size. The mean free path of individual photons in the IGM is very small. If the step size is assigned this value, then it would take a long time for the simulations to run. So a value of 0.05 of the grid cell size was assigned to it and stability of the simulations with respect to this step size value is considered.

After this, at each step, neutral hydrogen is ionized and photon rays are annihilated (or have their weight decremented). This is explained in detail in Figure 2. Position of each photon ray is tracked. Each photon ray carries an ID which tells you the grid cell that it has arrived into. Once this is done, photon rays with the same ID (implying that they are in the same grid cell) are considered together. Their weights are sorted and weights are decremented based on the number of neutral hydrogen atoms present in that grid cell. For example, if the cell is already completely ionized then all the photon rays that arrive in that cell will have their weights unchanged. On the other hand, if the total of all the photon ray weights that arrive in a grid cell is smaller than the total number of neutral hydrogen atoms present in the cell, then all the photon ray weights would go to zero and the neutral hydrogen count in that cell is decremented by the total of the photon ray weights. For in-between scenarios, the neutral hydrogen to be ionized is distributed equally between all the photon rays. If there are n photon rays arriving in the cell with the number of neutral hydrogen atoms NH i, then the weight of each photon ray is decremented by NH i/n. If for a given photon ray, its weight is less than this number then the additional load is shared equally between all the remaining photon rays. This process is well defined as we start sorting the photon ray weights and decrementing the weight from the ray with the lowest weight.

Figure 2.

Figure 2. Details of annihilation of photon rays.

Standard image High-resolution image

The procedure is repeated until all the photon rays are completely annihilated. Practically, for a quick termination of the algorithm, the propagation is stopped once the total of all the photon ray weights falls below 0.01% of its initial value.

2.4. 21 cm Maps and Power Spectrum

At the end of propagation one gets neutral hydrogen distribution that is left in each grid cell. This is used to compute the neutral hydrogen fraction ${x}_{{\rm{H}}{\rm{I}}}$ in that cell, and then the 21 cm brightness temperature in milli-kelvin units is computed using the well-known expression (Wouthuysen 1952; Field 1959; Madau et al. 1997; Furlanetto et al. 2006)

Equation (4)

While computing the brightness temperature we assume Tγ ≪ Ts, that is, the cosmic microwave background temperature is much less than the spin temperature (see, e.g., Ghara et al. 2015).

Figure 3 plots 21 cm maps (δTb) along with density field and initial photon field (${N}_{\gamma }^{0}$). As seen from Figure 3, the density field, which is proportional to ($1+\delta $), is similar due to the difference in the redshift being small. But, the collapse fraction, $\left\langle {f}_{\mathrm{coll}}\right\rangle $, is fairly different giving different ${N}_{\gamma }^{0}$ and δTb distributions. Also, due to the presence of more neutral hydrogen, the redshift 9 maps have the maximum structure.

Figure 3.

Figure 3. 21 cm maps. The first row is for redshift 7, second for redshift 8, and third for redshift 9. The first column is a slice of (1 + δ), the second column is the same slice plotted for the number of ionizing photons produced on the scale of average neutral hydrogen density per grid cell and the third column is the same slice for final 21 cm brightness temperature in mK units. The fiducial parameters used were nion = 6, nrec = 1 (Sobacchi & Mesinger 2014), and Mmin = 108 M (Barkana & Loeb 2001).

Standard image High-resolution image

After getting the brightness temperature distribution, the next step is to get the power spectrum. The power spectrum obtained for the fiducial model is depicted in Figure 4. To get the power spectrum, the 21 cm brightness temperature distribution, $\delta {T}_{b}\,\equiv {\delta }_{21}$, is Fourier transformed and then the dimensionless power spectrum is obtained using the following prescription:

Equation (5)

Equation (6)

The spherically averaged power spectrum is obtained by averaging Δ2(k) over all possible angles:

Equation (7)

where $\mu ={k}_{\parallel }/k$ is the cosine of the angle that wavevector k makes with the line-of-sight direction.

Figure 4.

Figure 4. Power spectrum of 21 cm brightness temperature distribution for three redshifts.

Standard image High-resolution image

The power spectrum obtained is of expected magnitude (see, e.g., Mesinger et al. 2011) and also seems to show the expected trend with respect to the redshift.

2.5. Salient Features of the Method

This method of generating 21 cm maps has the following features:

  • 1.  
    A simple and intuitive method where excursion set formalism is used only for getting the collapse fraction.
  • 2.  
    An explicitly photon conserving method where one can compute the mean neutral hydrogen fraction once one knows, the mean collapse fraction ($\left\langle {f}_{\mathrm{coll}}\right\rangle $) and the other two reionization parameters (nion and nrec).
  • 3.  
    The expression for mean neutral hydrogen fraction is: ${\bar{x}}_{{\rm{H}}{\rm{I}}}=1-\tfrac{{n}_{\mathrm{ion}}\left\langle {f}_{\mathrm{coll}}\right\rangle }{(1+{n}_{\mathrm{rec}})(1-\left\langle {f}_{\mathrm{coll}}\right\rangle )(1-{Y}_{\mathrm{He}}/2)}$.
  • 4.  
    Method is fairly fast. It takes about 3–4 minutes to propagate 10 million photon rays and generate a temperature cube (64 × 64 × 64) on an ordinary intel core i5 machine with 8 GB memory.
  • 5.  
    It is precise even with a small number of photon rays as it automatically assigns more rays to more overdense regions or more luminous objects.

2.6. Stability Analysis

To check if the reionization procedure is giving a convergent answer, two tests were performed. In the first test, the step size was halved, twice, from the value chosen earlier, that is, it was made to be 0.025 and 0.0125 of the grid cell size. And, in the second test, the number of photon rays was doubled, again twice, to 20 million and 40 million. The effect of these two procedures on temperature maps and power spectrum is summarized in Tables 1 and 2 respectively. In the case of temperature maps the quantity listed is $\left\langle | {\rm{\Delta }}\delta {T}_{b}| \right\rangle /\left\langle \delta {T}_{b}\right\rangle $, where $| {\rm{\Delta }}\delta {T}_{b}| $ is the absolute value of the difference in brightness temperature measured with respect to the fiducial case, that is, with respect to step size of .05 and ray count of 10 million case. In this case, $\left\langle \right\rangle $ indicates the average over all the grid cells.

Table 1.  Percentage Change in Temperature Maps with Respect to the Fiducial Case

Redshift Step Size Ray Count Step Size Ray Count
  0.025 20 Million 0.0125 40 Million
7 5.16% 1.0% 4.88% 1.3%
8 3.66% 0.8% 3.42% 1.1%
9 2.62% 0.7% 2.44% 0.94%

Download table as:  ASCIITypeset image

Table 2.  Percentage Change in Power Spectrum with Respect to Fiducial Case

Redshift Step Size Ray Count Step Size Ray Count
  0.025 20 Million 0.0125 40 Million
7 0.7% 0.25% 1.08% 0.38%
8 0.4% 0.33% 0.61% 0.5%
9 0.3% 0.42% 0.44% 0.63%

Download table as:  ASCIITypeset image

As seen from Table 1, the change in δTb averaged over the whole grid cell is small (≲5%). Also the increment in going from the double to the four times case is smaller than going from the fiducial to the double case. In the case of changing step size, the percentage change is nearly the same. In the case of the power spectrum, in Table 2, the quantity listed is $\left\langle {\rm{\Delta }}{{\rm{\Delta }}}^{2}(k)/{{\rm{\Delta }}}^{2}(k)\right\rangle $, that is a fractional change in 21 cm power spectrum averaged over all k values. The smallness of values in the second table indicates that the procedure of getting the power spectrum has nearly converged. Again the increment in going from the double (half) to the four times (one-fourth) case is smaller than going from the fiducial to the double (half) case. To see the effect over different scales, the change in power spectrum for different scales is plotted in Figure 5. As seen from the figure, the change is very small (≈1 or 2%) for large scales and reasonably small (≈5%–10%) for small scales.

Figure 5.

Figure 5. Change in 21 cm power spectrum with respect to the change in step size and photon ray count. Solid lines are for change in step size (0.05–0.025) while dashed lines are for change in photon ray count (107–2 × 107).

Standard image High-resolution image

Figure 6 shows the probability distribution of δTb obtained for the three redshifts. To check whether the temperature distribution is converged or not, another number is considered. This number is half the area in between the two distributions of δTb, one obtained in the fiducial case (step size of 0.05 and ray count of 10 million) and the other obtained in the changed parameter case. The results are depicted in Table 3. For computing the area, the total range of δTb values was divided into about 100 bins. As seen from the table the difference is smaller than or of the order of 1% (for completely different distributions this number would be 1). Again the increment in going from the double (half) to the four times (one-fourth) case is smaller than going from the fiducial to the double (half) case. This indicates that the step size of .05 and the ray count of 10 million is reasonably adequate for the simulations.

Figure 6.

Figure 6. Probability distribution of δTb for the three redshifts for fiducial choice of parameters.

Standard image High-resolution image

Table 3.  Area in between the P(δTb) Curves

Redshift Step Size Ray count Step Size Ray Count
  0.025 20 Million 0.0125 40 Million
7 2.8 × 10−3 6.5 × 10−3 2.9 × 10−3 7.7 × 10−3
8 4.0 × 10−3 8.6 × 10−3 4.9 × 10−3 1.1 × 10−2
9 3.6 × 10−3 7.7 × 10−3 4.9 × 10−3 9.1 × 10−3

Note. One of the curves corresponds to the fiducial case. The other curve is for the change in one of the fiducial parameters as indicated in the following table.

Download table as:  ASCIITypeset image

2.7. Reionization Model Parameters and Their Impact on Power Spectrum

The parameters of this model are nion, nrec, and Mmin. The third parameter, Mmin, directly impacts the collapse fraction and hence would have to be considered immediately after getting the overdensity from n-body simulations. The fiducial values of these parameters were 6.0, 1.0, and 108M respectively. Mmin ∼ 108 M is a choice that is prescribed by atomic line cooling (Barkana & Loeb 2001). nrec ∼ 1 is motivated by semianalytic models (Sobacchi & Mesinger 2014). If one chooses nion = 6 the mean neutral hydrogen fraction for this choice of parameters is 0.37, 0.57, and 0.7 for redshifts 7, 8, and 9 respectively. This set of values is close to (although not exactly the same as) the values that are consistent with CMBR and Lyα data (Raut & Choudhury 2018). One can ask the question, how would the power spectrum change if any one of these values is perturbed? The results are depicted in Figure 7. As seen from Figure 7, the power spectrum on small scales increases if one increases nrec or decreases nion or increases Mmin. This is understandable as with these changes one is effectively producing a lower number of photons and hence available neutral hydrogen is more and hence the signal is more. Such a behavior has been observed before by many authors (see, e.g., Lidz et al. 2008; Mesinger et al. 2011; Greig & Mesinger 2015; Cohen et al. 2018). On the largest scales the behavior needs to be reexamined using larger data cubes so as to suppress cosmic variance. But, it is arguable whether these modes can be measured accurately by future telescopes like SKA1-Low.1

Figure 7.

Figure 7. Behavior of the 21 cm power spectrum with respect to the change in model parameters.

Standard image High-resolution image

3. Discussion and Future Work

The model of reionization presented in this work can be improved through various additions. Instead of using simulation boxes outputted only at different final redshifts, one can couple the algorithm to n-body simulations and compute the collapse fraction incremented at each step of n-body simulations starting from, say, a redshift of 30 (see, e.g., Trac & Cen 2007; Thomas et al. 2009). Thus instead of computing the collapse fraction only once, it would be computed at each step of n-body simulations and a corresponding number of photons would be deposited in the IGM at each step. One can introduce the additional complication of nion dependence. It could be made a function of mass of the collapsed halo. This amounts to improving the subgrid prescription. Such modifications have been considered before (see, e.g., White & Frenk 1991; Baugh et al. 1998; Guiderdoni et al. 1998). One can also make nrec, which is constant in this work, depend on the local density and ionization fraction (see, e.g., Razoumov & Scott 1999; Ciardi et al. 2000; Nakamoto et al. 2001; Shull et al. 2012). If all these effects are incorporated correctly together, the evolved algorithm could yield a complete picture of reionization.

I thank the Illustris collaboration for making their simulation products available.

Footnotes

Please wait… references are loading.
10.3847/1538-4357/ab5054