Python tutorials

Plotting mean metallicity with spatial location in the Galaxy
APOGEE
Star
Summary
Infrared
MWM
DR19
DR20

This tutorial explores Galactic trends in metallicity and alpha abundance using the ASPCAP allStar file

Author: Danny Horta

Last modified: 2026-03-27 12:05:54

Exploring and Plotting BOSS Spectra with their Alternative Model Fits
BOSS
QSO
Summary
Spectra
Optical
BHM
DR19
DR20

This tutorial demonstrates how to find the pipeline redshift and model fits, then presents an alternative redshift model fit.

Author: Sean Morrison

Last modified: 2026-03-07 12:05:54

BHM in the classroom
BOSS
QSO
Summary
Optical
Classroom
BHM
DR19
DR20

This tutorial is an exercise for exploring BOSS spectra in the classroom.

Author: Niall Deacon

Last modified: 2026-03-27 12:24:54

Exploring and Plotting the different BOSS Spectra Coadds and their Model Fits
BOSS
QSO
Summary
Spectra
Optical
BHM
DR19
DR20

This tutorial demonstrates how to find spectra from individual BOSS exposures and the coadded spectra.

Author: Sean Morrison

Last modified: 2026-03-27 12:24:54

Galactic Genesis Tutorial
APOGEE
Star
Summary
Infrared
MWM
DR19
DR20

This notebook demonstrates best practices for working with Galactic Genesis data, including selecting GG targets and using quality flags.

Authors: Maddie Lucey, GG team

Last modified: 2026-03-27 12:24:54

MWM in the Classroom
APOGEE
Star
Summary
Infrared
Classroom
MWM
DR19
DR20

This tutorial explores the Galaxy around the Sun using MWM data.

Author: Niall Deacon

Last modified: 2026-03-27 16:24:54

Comparing M Dwarfs Results from ASPCAP and BossNet
BOSS
APOGEE
Summary
Star
Optical
Infrared
MWM
DR19
DR20

This tutorial identifies M dwarfs in APOGEE and BOSS Summarys and compares the results.

Author: Ilija Medan

Last modified: 2026-03-27 16:24:54

Using SDSS-V Targeting Flags with semaphore
Summary
Optical
Infrared
Star
QSO
MWM
BHM
DR19
DR20

This tutorial uses the semaphore package to select SDSS targets by their targeting flags.

Authors: Andy Casey, Sean Morrison

Last modified: 2026-03-27 16:24:54

Using BOSS Pixel Masks
BOSS
QSO
Spectra
Optical
BHM
DR19
DR20

This tutorial focuses on working with BOSS Data and how to uses the various masks to flag and exclude bad data.

Author: Sean Morrison

Last modified: 2026-03-27 16:24:54

Checking whether SDSS has a spectrum for me
BOSS
APOGEE
Star
Summary
Optical
Infrared
MWM
BHM
DR19
DR20

This tutorial uses the allspec file to find all SDSS observations of an object

Authors: Michael R. Blanton, John Donor

Last modified: 2026-05-07 12:24:54

HR Diagram with Gaia magnitudes
APOGEE
Star
Summary
Infrared
MWM
DR19
DR20

This tutorial uses the ASPCAP Summary to plot an HR diagram with Gaia absolute magnitudes.

Author: Emily Griffith

Last modified: 2026-03-27 12:27:54

Machine Learning with Galactic Genesis: Predicting Stellar Ages
APOGEE
Star
Summary
Infrared
MWM
DR19
DR20

This tutorial combines the all star ASPCAP file and a catalog of stellar ages to train a machine learning model.

Authors: Jamie Tayar, John Donor

Last modified: 2026-03-27 16:24:54

Identifying Which Observations Utilized Fiber Offsets
BOSS
Star
Summary
Optical
BHM
MWM
DR19
DR20

This tutorial provides insight into the fiber offsets used to target brighter stars.

Author: Ilija Medan

Last modified: 2026-03-27 16:24:54

Comparing Stars Between Files using the sdss_id
BOSS
APOGEE
Star
Summary
Optical
Infrared
MWM
BHM
DR19
DR20

This tutorial uses sdss_id to match targets between two Summary files.

Author: Zach Way

Last modified: 2026-03-27 12:24:54

Accessing an APOGEE Spectrum with sdss-access
APOGEE
Star
Spectra
Infrared
MWM
DR19
DR20

This tutorial demonstrates how to retrieve an APOGEE spectrum using sdss-access and plot it.

Authors: Adam Wheeler, John Donor

Last modified: 2026-06-11 16:24:54

Plotting a BOSS Stellar Spectrum and Best Fit
BOSS
Star
Summary
Spectra
Optical
MWM
DR19
DR20

This tutorial uses sdss-access to retrieve spectra of an identified white dwarf, then plots the spectrum and best fit model.

Authors: Adam Wheeler, John Donor

Last modified: 2026-03-27 12:24:54

Accessing and comparing ASPCAP model spectra
APOGEE
Star
Spectra
Infrared
MWM
DR19
DR20

This tutorial extracts information from two different file types to compare ASPCAP stellar models to the observed spectrum.

Author: John Donor

Last modified: 2026-05-07 12:24:54

LVM Mosaic DAP tutorial
Summary
Spectra
Optical
LVM
DR20

This notebook documents the process of generating the plots from several tiles analyzed using the LVM DAP, creating mosaics.

Authors: Sebastian F. Sanchez, LVM team

Last modified: 2026-05-07 12:24:54

LVM Helix Nebula (NGC7293) SFrame tutorial
Summary
Spectra
Optical
LVM
DR20

The goal of this notebook is to show how to open, inspect, visualize, and interactively explore an LVM DRP SFrame product.

Authors: Sebastian F. Sanchez, LVM team

Last modified: 2026-05-07 12:24:54

LVM quality-control bitmask tutorial
Summary
Spectra
Optical
LVM
DR20

This notebook shows how to read the DR20 drpall, dapall, and qcall summary products, merge them into a single table, and decode the packed qa_bitmask values into human-readable quality flags for science selection.

Authors: Sebastian F. Sanchez, LVM team

Last modified: 2026-05-07 12:24:54

LVM DAP output-model generation
Summary
Spectra
Optical
LVM
DR20

This notebook is a tutorial version of the standalone gen_output_model.py workflow, included in the LVMDAP distribution.

Authors: Sebastian F. Sanchez, LVM team

Last modified: 2026-05-07 12:24:54

LVM DR20 Helix Nebula (NGC7293) DAP
Summary
Spectra
Optical
LVM
DR20

This notebook documents the process of generating the plots included on Sánchez et al. 2025

Authors: Sebastian F. Sanchez, LVM team

Last modified: 2026-05-07 12:24:54

Working with MOS target fits files
Summary
MWM
BHM
DR20

This notebook introduces MOS target files in the fits format

Authors: José Sánchez-Gallego, Pramod Gupta

Last modified: 2026-05-14 12:24:54

Working with MOS target parquet files
Summary
MWM
BHM
DR20

This notebook introduces MOS target files in the (recommended) parquet format

Authors: José Sánchez-Gallego, Pramod Gupta

Last modified: 2026-05-14 12:24:54

Using the BOSS Visual Inspection VAC
Spectra
Optical
BOSS
BHM
DR20

This notebook demonstrates usage and results from the BHM visual inspection VAC

Author: Tom Dwelly

Last modified: 2026-07-28 15:00:54

Fermi Blazar Spectral Analysis with blazarkit
Spectra
Optical
BOSS
BHM
DR20

This notebook demonstrates usage of the blazarkit package and results from the Fermi Blazar VAC

Author: Mohammed Iddrisu Nlowie

Last modified: 2026-07-28 15:00:54

Working with BOSS-CLAM Stellar Parameters
Summary
Optical
BOSS
BHM
DR20

This notebook demonstates access to stellar parameters from the BOSS-CLAM VAC

Author: Ilija Medan

Last modified: 2026-07-28 15:00:54

Open Clusters with OCCAM
Summary
Optical
BOSS
BHM
DR20

This notebook uses the BOSS OCCAM VAC to plot a Galactic metallicity gradient and evaluate cluster parameter reliability

Author: John Donor

Last modified: 2026-07-28 15:00:54

Tutorials last modified: 2026-07-28 16:00:00

Back to Top