The DEEP2 DEIMOS Data Pipeline

This website provides information regarding the acquisition and implementation of the DEEP2 DEIMOS data reduction software. For general information regarding the DEEP2 Galaxy Redshift Survey or the DEIMOS instrument, see the DEEP survey website.


Reducing data from recent DEIMOS longslit masks requires the most recent version of the pipeline.  This code is considered beta as it has not been passed through extensive verification as previous releases were, but we do not anticipate any problems for non-longslit masks, as changes are minor.

The most recent fully-tested release is v1_1_4.  Release notes are available here.
For those interested in updating an existing version of the spec2d code, instructions for updating your code are given here. For new users, please follow the instructions below to download the SDSS and UCB code.


The DEEP2 DEIMOS data pipeline was devloped by the DEEP2 team at the University of California-Berkeley (UCB). The pipeline is based upon the Sloan Digital Sky Survey (SDSS) spectral reduction package as written by David Schlegel, Scott Burles, and Doug Finkbeiner. Nearly all of the pipeline code is written in IDL and is maintained under CVS, a powerful unix utility that is available on all unix platforms. The UCB CVS repository contains all of the DEIMOS specific code (spec2d package), but the core IDL utilities (idlutils package) are maintained by the SDSS team at Princeton. You will need both packages to properly use the DEIMOS data pipeline. Here are step-by-step instructions for downloading the UCB and Princeton code.

The DEIMOS pipeline software, contained in the spec2d package, was specifically designed for the purpose of reducing DEEP2 survey data. Considerable efforts were made by the DEEP2 team at UCB to generalize the pipeline for general mask designs and instrument setups. The success of the pipeline will undoubtedly vary depending on the choice of grating, the wavelength range of the data, and the slitmask design specifications. At present, the pipeline is best suited for handling data taken with the 1200 line/mm grating tilted towards the red (lambda_c ~ 7700Å). It is important to note that the DEEP2 DEIMOS code is not fully generalized; the pipeline has certain limitations such as the inability to account for dithering. Please see our brief notes for more on this and other issues regarding slitmask design. The spec2d reduction package takes the raw DEIMOS data as its input and produces a variety of outputs including 2-d slit spectra and 1-d object spectra. For more details on the spec2d code and its data products, please read the following spec2d primer. For assistance in running the pipeline, refer to the spec2d cookbook. Please direct questions and comments regarding this website to cooper@astron.berkeley.edu.

To better facilitate the dissemination of information regarding the status of the spec2d pipeline (release of new versions of the code, etc.), a spec2d users email list has been organized. If you wish to be added to this email list, please send an email request to cooper@astron.berkeley.edu with the following Subject line: "subscribe to spec2d_users list". Major announcements including version release details will also be posted at this website. In addition, refer to our FAQ page for possible answers to any questions that you might have.

For any publications employing data reduced using the spec2d pipeline please include the following statement as an acknowledgement: The analysis pipeline used to reduce the DEIMOS data was developed at UC Berkeley with support from NSF grant AST-0071048.

In addition, please include citations to both Newman et al. (2013) and Cooper et al. (2012).




created by Michael Cooper
last updated 08nov03