Python tutorials

Working with MOS target fits files

Summary
MWM
BHM
DR20

This notebook introduces MOS target files in the fits format


This tutorial consists of an interactive Python notebook. The results are displayed here to show you what it does, but you can run it yourself if you have an account on the SciServer science platform.

This and other tutorials are available in the SciServer SDSS SAS DR20 Data Volume in the /home/idies/workspace/sdss_sas_dr20/dr20_tutorials directory. See the directions in the expandable section below.

Alternatively, you can download this tutorial notebook from GitHub, if you are logged in.

How to run this tutorial on SciServer

A specific image is available for working with SDSS data. In order to access both SDSS data and the suite of software tools you will need, create an account then when you create a new container follow these steps:

  • Choose the SDSS DR20 Docker image. This image contains the sdss_access python package, as well as astropyastroqueryspecutils and other useful libraries.
  • Include the SDSS SAS DR20 data volume. It will be mounted in the Jupyter session under /home/idies/workspace/sdss_sas_dr20/.
  • Once in a notebook, make sure the py312 python kernel is selected.

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

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

Back to list of Python tutorials

Back to Top