Home | Trees | Indices | Help |
---|
|
Functions | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Variables | |
__package__ =
|
Function Details |
The Lyman-alpha wavelength shift given light-travel distance. Wavelengths are in Angstroms. Returns lambda(z), lambda(z - Deltaz), z, z - Deltaz |
Recombination rate coefficients for HII, HeII and HeIII. Parameterstemp is the temperature in K species is 'H', 'He0', or 'He1'. case is 'A' or 'B'. NotesFrom Hui and Gnedin (1997MNRAS.292...27H). Valid for He0 for temperatures between 5e3 and 5e5 K. |
The ionized fraction of the universe using perturbation theory. Parametersz: Redshift values at which to evaluate the ionized fraction. coeff_ion: Coefficient giving the ratio between collapse fraction and ionized fraction (neglecting recombinations and assuming all photons are instantly absorbed). temp_min: Either the minimum Virial temperature (in Kelvin) or minimum mass of halos (in solar masses) contributing to reionization. passed_temp_min: Boolean Set this to True if you pass a minimum mass, False (default) if you pass a minimum Virial temperature. cosmo: dict Cosmological parameters. NotesSee Furlanetto et al. (2004ApJ...613....1F). |
Return a function giving ionization_from_collapse as a function of redshift (based on interpolation). Calling the resulting function is much faster than evaluating ionization_from_collapse. |
Clumping factor as a function of redshift used by Bagla et al. 2009. See Bagla, Kulkarni & Padmanabhan (2009MNRAS.397..971B). |
Clumping factor as a function of redshift used by Haiman & Bryan (2006). See Haiman & Bryan (2006ApJ...650....7H). |
Clumping factor as a function of redshift estimated from Chary (2008) Chary, R.-R. 2008, ApJ, 680, 32 (2008ApJ...680...32C) shows a nice plot (Figure 2a) of clumping factor for neutral and ionized gas with and without halos included and adopts the clumping factor for ionized gas without source halos (but with other halos), which rises (apparently, from the graph) as a constant powerlaw from ~2 and z=15 to 6 at z=8, steepens to reach 8 at z=7, and ~17 at z=5. This function returns the values of a piecewise powerlaw (as a function of redshift) interpolated/extrapolated through those points. |
Integrate IGM ionization and recombination given an ionization function.
cosmo: dict Dictionary specifying the cosmological parameters. |
cosmo: dict Dictionary specifying the cosmological parameters. |
Integrate the ionization history given an ionizing luminosity function, ignoring recombinations. Parameters
NotesIgnores recombinations. The ionization rate is computed as ratedensity / nn, where nn = nH + xHe * nHe. So if xHe is 1.0, we are assuming that helium becomes singly ionized at proportionally the same rate as hydrogen. If xHe is 2.0, we are assuming helium becomes fully ionizing at proportionally the same rate as hydrogen. The returened x is therefore the ionized fraction of hydrogen, and the ionized fraction of helium is xHe * x. |
The electron scattering optical depth given ionized filling factor vs. redshift. Parametersx_ionH: array Ionized fraction of hydrogen as a function of z. Should be [0,1]. x_ionHe: array Set x_ionHE to X_HeII + 2 * X_HeIII, where X_HeII is the fraction of helium that is singly ionized, and X_HeII is the fraction of helium that is doubly ionized. See Notes below.
cosmo: cosmological parameters uses: 'X_H' and/or 'Y_He', plus parameters needed for hubble_z Returns
NotesThe precision of your result depends on the spacing of the input arrays. When in doubt, try doubling your z resolution and see if the optical depth values have converged. 100% singly ionized helium means x_ionHe = 1.0, 100% doubly ionized helium means x_ionHe = 2.0 If you want helium to be singly ionized at the same rate as hydrogen, set x_ionHe = x_ionH. If you want helium to be doubly ionized at the same rate as hydrogen is ionized, set x_ionHe = 2 * x_ionH. |
Optical depth assuming instantaneous reionization and a flat universe. Calculates the optical depth due to Thompson scattering off free electrons in the IGM. Parameters
cosmo: cosmological parameters Returns
tau_star: array or scalar NotesSee, e.g. Griffiths et al. (arxiv:astro-ph/9812125v3, note that the published version [ 1999MNRAS.308..854G] has typos) |
Recombination rate density from Madau, Haardt, & Rees 1999. Assumes hydrogen is fully ionized. Units are s^-1 coMpc^-3. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Tue Mar 27 20:49:15 2012 | http://epydoc.sourceforge.net |