DESI Targeting
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bin final minor clean up of code in binary executables Sep 14, 2018
db 1) put admin-level scripts for loading and verifying the database int… Oct 27, 2016
doc Merge branch 'master' into fix-386 Sep 22, 2018
etc add provenance for lyamock metadata Apr 18, 2017
py/desitarget Merge branch 'master' into fix-386 Sep 22, 2018
.gitignore add notebook checkpoints to gitignore Apr 4, 2017
.travis.yml another attempt at Travis, more codestyle Sep 19, 2018
LICENSE.rst fix license file Oct 30, 2017 clean up lots of files. May 18, 2016
README.rst still searching for a good way to force no DISPLAY for unit tests wit… Sep 19, 2018




This package contains scripts and packages for selecting DESI targets from photometric catalogs.


You can install these tools in a variety of ways. Here are several that may be of interest:

  1. Manually running from the git checkout. Add the "bin" directory to your $PATH environment variable and add the "py" directory to your $PYTHONPATH environment variable.

  2. Install (and uninstall) a symlink to your live git checkout:

    $>  python develop --prefix=/path/to/somewhere
    $>  python develop --prefix=/path/to/somewhere --uninstall
  3. Install a fixed version of the tools:

    $>  python install --prefix=/path/to/somewhere


If you have tagged a version and wish to set the package version based on your current git location:

$>  python version

And then install as usual

Full Documentation

Please visit desitarget on Read the Docs

Documentation Status

Travis Build Status

Travis Build Status

Test Coverage Status

Test Coverage Status


desitarget is free software licensed under a 3-clause BSD-style license. For details see the LICENSE.rst file.