hscquery

Module for accessing the HSC-SSP database


Keywords
astronomical-catalogs, astronomy, python27, python3
License
BSD-3-Clause
Install
pip install hscquery==0.2.1

Documentation

hscquery

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