Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruizca/hscquery
Python module for querying the HSC-SSP database
https://github.com/ruizca/hscquery
astronomical-catalogs astronomy python27 python3
Last synced: 9 days ago
JSON representation
Python module for querying the HSC-SSP database
- Host: GitHub
- URL: https://github.com/ruizca/hscquery
- Owner: ruizca
- License: bsd-3-clause-clear
- Created: 2018-10-13T09:43:54.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-18T10:06:01.000Z (over 5 years ago)
- Last Synced: 2024-10-11T09:23:08.647Z (about 1 month ago)
- Topics: astronomical-catalogs, astronomy, python27, python3
- Language: Python
- Homepage: https://hscquery.readthedocs.io
- Size: 21.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
hscquery
========
.. inclusion-marker-main-readme``hscquery`` is a Python 2/3 module for querying the
*Hyper Suprime-Cam Subaru Strategic Program* database. `HSC-SSP`_Based on the python script developed by michitaro, NAOJ / HSC
Collaboration. `Source`_Dependencies
------------``hscquery`` depends on ``astropy`` and ``future`` packages.
Installation
------------``hscquery`` can be easily installed using ``pip``::
pip install hscquery
Example
-------
A simple example of using ``hscquery``::from hscquery import HSC
from astropy import units as u
from astropy.coordinates import SkyCoord
coords = SkyCoord(34.0, -5.0, unit='deg')
radius = 5.0 * u.arcsec
h = HSC(survey='wide')
data = h.query_region(coords, radius)
print data|astropy|
.. _HSC-SSP: https://hsc.mtk.nao.ac.jp/ssp/
.. _Source: https://hsc-gitlab.mtk.nao.ac.jp/snippets/17.. |astropy| image:: http://img.shields.io/badge/powered%20by-AstroPy-orange.svg?style=flat
:target: http://www.astropy.org/