Skip to content

A whiz-bang Web application for all-sky cone searches with tunable constraints

License

Notifications You must be signed in to change notification settings

hover2pi/cone_search_plus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cone_search_plus

Build Status Coverage Status Documentation Status

A whiz-bang Python package for all-sky cone searches with tunable constraints.

Requirements:

  • numpy
  • astropy
  • matplotlib
  • ephem
  • astroquery

Installation

Install via PYPI with

pip install cone_search_plus

or via Github with

git clone https://github.com/hover2pi/cone_search_plus.git
python cone_search_plus/setup.py install

Web Application

To run cone_search_plus as a Web application, do

python App/csp_app/app_csp.py

And then navigate to http://0.0.0.0:5000/ in your browser.

Documentation

Full documentation for the latest build can be found on ReadTheDocs.

The package also contains detailed Jupyter notebooks highlighting the core functionality of its primary classes, including

Demo

Here is a demo of the software:

# Imports
from cone_search_plus import csp
import astropy.units as q

# Coordinates of Trappist-1
ra = 346.6223683553692
dec = -05.0413976917903

# Make the SourceList object
sl = csp.SourceList([ra,dec], 2*q.arcmin)
  _r     USNO-A2.0    RAJ2000    DEJ2000   ACTflag Mflag Bmag Rmag  Epoch  
 arcm                   deg        deg                   mag  mag     yr   
------ ------------- ---------- ---------- ------- ----- ---- ---- --------
1.7118 0825-19856975 346.595528  -5.031456               18.3 17.2 1953.680
0.8099 0825-19857185 346.610139  -5.035592               17.4 15.5 1953.680
0.1138 0825-19857340 346.621587  -5.039667               18.8 18.2 1953.680
1.9556 0825-19857424 346.627275  -5.073620               18.7 17.7 1953.680
1.1837 0825-19857643 346.641906  -5.044656               17.9 17.0 1953.680
1.6607 0825-19857776 346.650070  -5.039175               15.2 14.7 1953.680
6 sources found within 2.0 arcmin

And plot it:

sl.proximity_plot()

png

Nice!

Licensed

This project is Copyright (c) Joe Filippazzo and licensed under the terms of the BSD 3-Clause license. See LICENSE for more information.

About

A whiz-bang Web application for all-sky cone searches with tunable constraints

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •