barak.absorb.find_tau¶
- barak.absorb.find_tau(wa, lines, atom, per_trans=False)[source]¶
Given a wavelength array, a reference atom.dat file read with readatom, and a list of lines giving the ion, redshift, log10(column density) and b parameter, return the tau at each wavelength from all these transitions.
lines can also be the name of a VPFIT fort.26 format file.
Note this assumes the wavelength array has small enough pixel separations so that the profiles are properly sampled.