Skip to content

mattyowl/sourcery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

288 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sourcery

A web application for interacting with astronomical source catalogues.

Sourcery displays an object catalog as a table, with clickable links that open a page for each source. Each source information page contains an image plot (with support for multiple images from different surveys, and overplotting catalogs and contours), controls for editing user-defined database fields (e.g., comments on each object), a table of objects found in NED in the same region, and a full table of the object properties.

The catalog can be queried to select subsets of objects, and the output can be exported as a .fits table, .csv, or DS9 .reg (region) file.

To get an idea of how Sourcery works and see some screenshots, take a look at the example.

Software needed

Sourcery itself is written in Python (v3+) and uses MongoDB (v8+) for data storage. In addition, it requires the following Python modules to be installed:

  • astLib
  • astropy
  • CherryPy
  • Cython
  • IPython (5.5.0; used for debugging only)
  • matplotlib
  • NumPy
  • Pillow
  • pymongo
  • requests
  • SciPy
  • pyvips
  • PyYAML
  • passlib
  • concurrent.futures

Installation

As root:

sudo python setup.py install

Or, in your home directory:

python setup.py install --prefix=$HOME/local

Then add $HOME/local/bin to $PATH, and e.g., $HOME/local/lib/python2.7/site-packages to $PYTHONPATH.

export PATH=$HOME/local/bin:$PATH    
export PYTHONPATH=$HOME/local/lib/python2.7/site-packages:$PYTHONPATH

Running Sourcery

See the example for a tutorial, some screenshots of what to expect, and an explanation of the configuration file.

See here for a step-by-step guide to deploying Sourcery on the Apache webserver running on Ubuntu 16.04.

Comments, bug reports, help, suggestions etc..

Please contact Matt Hilton matt.hilton@mykolab.com.

About

Web interface for astronomical source catalogues

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors