SDSS SEGUE DR9 Stellar Spectra with SSPP Teff, log g and [Fe/H] Labels (233,013 Stars)

Provider
OneAstronomy, from SDSS-III SEGUE DR9 and the SSPP (Lee et al. 2008)
License
Public Domain (source)
Size
7 files
Format
Parquet, JSON (in sampled files)
Stored at
Hugging Face (https://huggingface.co/datasets/OneAstronomy/sspp-dr9-stellar-spectra)
Access
Free and public. No account with the data provider is needed.
Category
Astronomy & Space
Source
https://doi.org/10.1088/0004-6256/136/5/2022

About this dataset

Optical stellar spectra from the Sloan Digital Sky Survey SEGUE-1 and SEGUE-2 programs (Data Release 9), each labelled with atmospheric parameters from the SEGUE Stellar Parameter Pipeline (SSPP; Lee et al. 2008, Allende Prieto et al. 2008). 233,013 spectra are split 186,409 train, 23,302 validation and 23,302 test. Each row holds a flux-calibrated 1D spectrum resampled to a common grid of 3,878 wavelength bins over about 3,820 to 9,200 Angstrom (median-normalised flux, raw flux, inverse variance and bad-pixel mask; the grid is in wavelength_grid.json), the adopted effective temperature TEFF_ADOP (4,003 to 9,593 K), surface gravity LOGG_ADOP, metallicity FEH_ADOP (down to -4.35 dex), alpha enhancement AFE, radial velocity RV_ADOP, S/N, ra, dec, HEALPix index and SDSS SPECOBJID. Cuts: ZWARNING 0 or 16, finite Teff, log g and [Fe/H], and S/N at least 10. Data are Parquet under train/, validation/ and test/ (about 15 GB, measured 2026-11-16), readable with Hugging Face datasets, pandas or pyarrow. Uses: data-driven stellar parameter regression (The Cannon-style models, CNNs), metal-poor star searches and Galactic archaeology. SDSS states that all data in its public releases are in the public domain; cite Lee et al. 2008 and acknowledge SDSS-III.

How to load this dataset in Python

from datasets import load_dataset
ds = load_dataset("OneAstronomy/sspp-dr9-stellar-spectra")
print(ds)

Data structure

File types in sampled files: Parquet, JSON

Files

Example file: test/data.parquet

Analyze this dataset without downloading it

On Scigantic, SDSS SEGUE DR9 Stellar Spectra with SSPP Teff, log g and [Fe/H] Labels (233,013 Stars) opens in a hosted JupyterLab notebook with the data already mounted, so you can read files where they are stored instead of copying them first. Each notebook includes an AI assistant that can see the mounted files and write and run analysis code. Open the dataset page to launch a notebook, or browse the full catalog.

This page is also available as Markdown and as JSON.

Related Astronomy & Space datasets