=======
DECaLSQuery is a Python package that allows users to query the DECaLS catalog for image cutouts. This package provides an easy-to-use interface for downloading JPG and FITS images of galaxies from the DECaLS survey.
- Clone the repository:
git clone https://github.com/akhilkrishnar0/DECaLSQuery.git cd DECaLSQuery
Unable to Install DECaLSQuery via pip see this: #1
-
Install dependencies: pip install -r requirements.txt
-
Usage:
from astropy.coordinates import SkyCoord from decalsquery import DECaLSQuery # Define coordinates of the galaxy coordinates = SkyCoord(ra=173.145238, dec=53.06792, unit='deg') # Initialize DECaLSQuery object query = DECaLSQuery(output_dir='downloads') # Query and download both JPG and FITS images query.query_region(coordinates, size=100, download_type='both', galid="example_galaxy")
-
Add
requirements.txt: This file contains the necessary dependencies.
astroquery
astropy
requests