Skip to main content

Query for SDSS datarelease 18

Project description

QuerySDSS is a Python script that utilizes the Astropy and Astroquery libraries to retrieve data from the Sloan Digital Sky Survey (SDSS) Data Release 18 (DR18). This script fetches information about celestial objects including their nature (galaxy, star, quasar), redshift, coordinates, positions, and flux values.

Requirements

  • Python 3.x

  • Astroquery

  • Astropy

You can install the required packages using the following command:

pip install astroquery astropy

How to Install

Clone this repository to your local machine using the following command:

git clone https://github.com/aCosmicDebbuger/querySDSS.git
cd querySDSS

or you can use pip

pip install querySDSS

Usage:

Just opena a terminal where the file is located and run

python3 querySDSS.py

or if you need to import it:

from querySDSS.querySDSS.querySDSS import query_sdss_data

a = query_sdss_data(num_observations=3000)
print(a)

You’ll get a table of SDSS data.

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

querySDSS-2.0.tar.gz (2.7 kB view hashes)

Uploaded Source

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