Skip to content

djfarrow/hetdex-line-classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Line Classification Tool

Description

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).

Setup

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 .

Known issues

  1. Currently Python 3 is not supported.
  2. Colors aren't used in the probability yet.

References

If you use this code in a paper, please cite

References for numbers in the example config

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

and cosmology from

About

Code to assign a probability of being Lyman-alpha to a detected line source

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages