Skip to content

akhilkrishnar0/DECaLSQuery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DECaLSQuery

=======

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.

Installation

  1. Clone the repository:
    git clone https://github.com/akhilkrishnar0/DECaLSQuery.git
    cd DECaLSQuery
    

Unable to Install DECaLSQuery via pip see this: #1

  1. Install dependencies: pip install -r requirements.txt

  2. 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")
    
    
    
    
  3. Add requirements.txt: This file contains the necessary dependencies.

   astroquery
   astropy
   requests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages