barak.absorb.calc_DLA_tau¶
- barak.absorb.calc_DLA_tau(wa, z=0, logN=20.3, logZ=0, bHI=50, atom=None, verbose=1, highions=1, molecules=False)[source]¶
Create the optical depth due to absorption from a DLA.
The DLA is at z=0. The column density and metallicity can be varied. Solar Abundance ratios are assumed, with most of the atoms in the singly ionised state
Parameters : wa : array_like
Wavelength scale.
logZ : float (0)
log10 of the metal abundance relative to solar. For example 0 (the default) gives solar abundances, -1 gives 1/10th of solar.
verbose : bool (False)
Print helpful information
Returns : tau, ticks : ndarrays, structured array
tau at each wavelength and tick positions and names.