Skip to main content

Module for accessing the HSC-SSP database

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hscquery-0.2.1.tar.gz (4.7 kB view hashes)

Uploaded Source

Built Distribution

hscquery-0.2.1-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page