delta_v_90

spectacle.analysis.delta_v_90(x, y)[source] [edit on github]

Calculate the dispersion that encompasses the central 90 percent of the apparant optical depth. Follows the formulation defined in Prochaska & Wolf (1997).

Parameters
xQuantity

The dispersion axis. Can be either wavelength or velocity space.

yarray-like

Flux or optical depth array. Note that the calculation assumes that the data is optical depth. If providing flux, it will be converted to apparant optical depth.