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 details)

Uploaded Source

File details

Details for the file querySDSS-2.0.tar.gz.

File metadata

  • Download URL: querySDSS-2.0.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for querySDSS-2.0.tar.gz
Algorithm Hash digest
SHA256 95a5c2fcb177d54123a1033ff61a9c42ef748369391179da731cd91a77678b5e
MD5 cb07c16284284abc9fb0de4f79724c51
BLAKE2b-256 79871598efad630507b5ba33a2c3986165c12d30f045e48d2138dcdb09086cee

See more details on using hashes here.

Supported by

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