This documentation is for astroML version 0.2

This page


astroML Mailing List

GitHub Issue Tracker


Scipy 2012 (15 minute talk)

Scipy 2013 (20 minute talk)


If you use the software, please consider citing astroML.

11.4.2. astroML.datasets.fetch_sdss_spectrum

astroML.datasets.fetch_sdss_spectrum(plate, mjd, fiber, data_home=None, download_if_missing=True, cache_to_disk=True)

Fetch an SDSS spectrum from the Data Archive Server

Parameters :

plate: integer :

plate number of desired spectrum

mjd: integer :

mean julian date of desired spectrum

fiber: integer :

fiber number of desired spectrum

Returns :

spec: :class:`` object :

An object wrapper for the fits data