A tool to classify detected emission lines as OII or Lyman-alpha. Designed
for the HETDEX survey. Based on an idea and code from Leung et al 2017,
i.e. this paper. The
method described in that paper has been reimplemented in classification_prob_leung.
A new approach, that deals with errors on the equivalent width and involves fewer integrals
is also included in classification_prob and will be presented in Farrow et al (in prep).
To install, including packages needed for tests
pip install .[test]
if you want to run the tests then do
pytest
if you do not want to run tests you can just do
pip install .
- Currently Python 3 is not supported.
- Colors aren't used in the probability yet.
If you use this code in a paper, please cite
-
Leung et al 2017 - original code & method
-
Farrow et al 2021 - this code rewrite and the new P(LAE) method
If you use the configuration file in the test directory you'll also need to cite the following. It uses relative line strengths from
and luminosity/equivalent width functions from
-
Gronwall et al (in prep)
and cosmology from