Author: Behrouz Safari
License: MIT
sdss
A python package for retrieving and analysing data from SDSS (Sloan Digital Sky Survey)
Installation
Install the latest version of sdss from PyPI:
pip install sdss
Requirements are numpy, requests, Pillow, matplotlib and pandas.
Quick start
Let's create a Region:
from sdss import Region
ra = 179.689293428354
dec = -0.454379056007667
reg = Region(ra, dec, fov=0.033)
To see the image:
reg.show()
To see the image in three gri filter bands (green, red, infrared) separately:
reg.show3b()
To find nearest objects:
df_obj = reg.nearest_objects()
To find nearest objects with spectrum:
df_sp = reg.nearest_spects()
See more examples at astrodatascience.net