barak.absorb.calc_DLA_trans¶
- barak.absorb.calc_DLA_trans(wa, redshift, vfwhm, logN=20.3, logZ=0, bHI=50, highions=True, molecules=False)[source]¶
Find the transmission after absorption by a DLA
Parameters : wa : array_like, shape (N,)
wavelength array.
redshift : float
The redshift of the DLA.
vfwhm : float
The resolution FWHM in km/s.
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.
bHI : float (40)
b parameter for the HI. Other species are assumed to be thermally broadened.
Returns : transmission : ndarray, shape (N,)
The transmission at each wavelength
ticks : ndarray, shape (M,)
Information for making ticks to show absorbing components.