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
hscquery
depends on astropy
and future
packages.
hscquery
can be easily installed using pip
:
pip install hscquery
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