Site Map

Understanding SDSS spectroscopic data

In SDSS, spectra for many objects are taken simultaneously. This is possible because the spectrographs are connected by fiber optic cables to an aluminum plate in the telescope's focal plane. With this arrangement in mind, any SDSS spectrum can be identified with three numbers:

  • Plate, an integer indicating which SDSS plug plate was used to collect the spectrum
  • MJD, an integer denoting the Modified Julian Date of the night when the observation was carried out. Some plates were observed more than once; these different observations will have different MJD values.
  • FiberID, an integer denoting the fiber number (1 to 640 for SDSS-I/II; 1 to 1000 for BOSS)

SDSS spectra were collected by a series of spectroscopic programs, described below. The SDSS Tenth Data Release (summer 2013) will include data from APOGEE as well.

When analyzing spectral lines in SDSS data, remember that the SDSS wavelength scale is based on vacuum wavelengths.

An aluminum plate
about 1 meter across with 640 small holes drilled
An SDSS plate

The spectrographs

All previous SDSS spectroscopic data (Data Releases 1-8), including all SEGUE and SEGUE-2 data, was taken with the SDSS spectrograph. With Data Release 9, we release the first data from a new instrument: the BOSS spectrograph.

The table below gives some important information about SDSS spectra measured with both spectrographs. More information is available in The Scope of DR9: Spectroscopic data statistics.

Feature SDSS BOSS
Fibers per plate 640 1,000
Fiber diameter 3 arcsec (180 μm) 2 arcsec (120 μm)
Wavelength coverage 3800-9200 Å 3650-10,400 Å
Resolution 1500 at 3800 Å, 2500 at 9000 Å
Pixel spacing log-wavelength (10-4 dex)
Units 10-17 erg cm-2 s-1 Å-1
Wavelength calibration < 5 km/s
Wavelength reference heliocentric vacuum wavelengths

Identifying SDSS spectra

The SDSS measures many spectra in a single observation: 640 at a time with the SDSS spectrograph (used in SDSS-I, -II and in the SEGUE surveys) and 1000 with the BOSS spectrograph (used in the SDSS-III BOSS survey). The SDSS does this by means of a plate, an aluminum disk placed in the focal plane of the telescope. Each plate corresponds to a specific patch of sky, and is pre-drilled with holes corresponding to the sky positions of objects in that area, meaning that each area requires its own unique plate.

Some plates were observed in a single night; others were observed over multiple nights. Still others had intentionally repeated spectroscopic observations, with the same plate being re-observed several times. Thus, in addition to a plate number, identifying an SDSS spectrum requires knowing the MJD (modified Julian date) on which that spectrum was observed.

Each hole on each plate corresponds to one object on the sky. Optical fibers plugged into each hole bring the light from the focal plane to the pseudoslit of the spectrographs. Thus, each spectrum is also referenced by the number of the fiber (fiberID) with which it was collected. Plates used by the BOSS spectroscopic program had 1,000 fibers each; plates used by earlier SDSS spectroscopic programs had 640 fibers each. If a plate is observed on more than one MJD, the fibers will be replugged; thus a given fiberID on different MJDs will correspond to different objects on the sky.

In addition to the plate-MJD-fiberID system, SkyServer uses a unique number that encodes (64-bit hash) both plate-MJD-fiberID and the RUN2D reduction value of the spectroscopic redshift pipeline. This quantity, specObjID, is unique to each spectrum. You should use it to join tables in your SkyServer SQL queries.

Plate information

In both SAS and CAS, we provide information about each plate, including design information, observing conditions, signal-to-noise and overall quality. We discuss in more detail elsewhere the targeting criteria and data quality flags. Included in the latter is how to find which plates are "primary" observations.

Each plate has a radius of 1.49 deg. In addition, fibers cannot be placed more closely together than 55 arcsec (SDSS) or 62 arcsec (BOSS) due to the finite size of the fiber cladding. Finally, no target can be closer than 100 arcsec to the center of the plate, because of the center post on the plate.

The general design information about each plate is given by two parameters:

  1. SURVEY, a string denoting the survey this plate is associated with within SDSS-III. In DR9, SURVEY is one of "sdss", "boss", "segue1" or "segue2".
  2. PROGRAMNAME, a string denoting which program within a given survey this plate is associated with.

As implied in this list, spectra were collected in a series of surveys, each of which consisted of specific plate numbers. The largest survey was the SDSS Legacy Survey, which completed the original SDSS spectroscopic survey plan. Other SDSS spectroscopic surveys include the Sloan Extension for Galactic Understanding and Exploration (SEGUE) and its successor SEGUE-2, and the Baryon Oscillation Spectroscopic Survey (BOSS).

SDSS Legacy and SEGUE-1 cover plate numbers from 266 to 2974. SEGUE-2 covers plate numbers 3000 to 3509; all spectra on these plates were measured with the SDSS-I/-II spectrograph. Plate numbers 3510 or larger are BOSS plates, taken with the new BOSS spectrograph.

Each survey has a number of different programs. For the "sdss" survey plates, the most common PROGRAMNAME is "legacy", which indicates the plates used for the primary spectroscopic survey. The SDSS also had a number of special programs, especially on Stripe 82. SEGUE-1 and SEGUE-2 were broken down into a number of different programs with somewhat different targeting parameters. The primary BOSS survey PROGRAMNAME is "boss".

There are also some parameters giving more detailed information, in particular CHUNK and PLATERUN. Most users can ignore these parameters; they give internal information about how exactly the plate design steps were executed.

Additional information for each plate is available, including the position of the plate on the sky, the date of observation, and other design information. A complete roster of this information can be found in the schema of the plateX table on CAS, and the plates file datamodel page.

Version numbers

Each spectrum was reduced by the SDSS Spectroscopic Pipeline. The pipeline has changed slightly over time, so it is important to track which version of the pipeline was used to reduce which spectra. Data Release 9 includes two parameters to track pipeline versions:

As of DR9, there are four possible values of RUN2D:

There are two possible values of RUNSSPP:

Fiber information

In both SAS and CAS, we provide information about each object within each plate as well. Each spectrum is labeled by its FIBERID, which for SDSS runs from 1 to 640, and from 1 to 1000 for BOSS. Note that if a plate has been observed on two different MJDs, the FIBERID in each does not necessarily correspond to the same location on the sky. The plates are plugged by human beings, and the same fiber is not necessarily plugged into the same hole each time a plate is plugged.

We discuss in more detail elsewhere the targeting criteria, the spectra themselves and catalog information, including data quality flags. Included in the latter is how to decide which spectra among repeat observations of the same object are "primary."

Finally, we distribute separate catalogs describing galaxy parameter measurements and stellar parameter measurements from the spectra.

About the Spectra

Some selected SDSS spectra.
Some selected SDSS spectra (click for a larger image)

The image to the right shows previews of 12 typical SDSS spectra. As described in the data access description, the spectra themselves are provided in spPlate files in FITS format. The primary HDU of each file contains an image which yields all 640 (SDSS) or 1000 (BOSS) spectra on each plate, each as a row in the image. These spectra are flux- and wavelength-calibrated. Additional HDUs contain the wavelength solution, variances, masks, and other information.

The logarithmic wavelength grid spacing is the same for all plates (log10 λi+1 - log10 λi = 0.0001) but the starting wavelength differs from plate to plate. All fibers on the same plate share exactly the same grid.

For more information, see the detailed descriptions of the BOSS spectrographs and the SDSS-I/-II spectrographs.

In subsequent HDU's, the spPlate files store the error and mask information. HDU1 stores the "inverse variance" of the uncertainties per pixel (i.e., one over sigma-squared). This quantity may be used, for example, in model fits to the spectra. It is set to zero for pixels that should be ignored entirely due to, e.g., bad columns (another way of thinking about it is that they have infinite error). In the spectra shown above the errors per pixel are shown as the grey band surrounding the spectrum; for masked pixels the grey band covers the full vertical extent of the figure.

The pixel mask information is stored in HDU2 and HDU3. These images yield a bitmask for each pixel, in particular the SPPIXMASK bitmask. Since the final spectrum is a combination of 3 or more individual exposures, it may be that some bits were flagged in some exposures but not in others. HDU2 is the "and mask", which lists all the bits that were set for that pixel in all exposures. HDU3 is the "or mask", which lists all the bits that were set for that pixel in any one (but not necessarily all) of the exposures. The "and mask" (HDU2) is the mask of greatest use.

Conversion between vacuum and air wavelengths

The SDSS data describing spectral line wavelengths use vacuum wavelengths. However, the wavelengths of atomic transitions are usually quoted at standard temperature and pressure (S.T.P.); this is how the CRC Handbook of Chemistry and Physics lists them for any transitions redward of 2000 Ångstroms.

Thus, recognizing spectral lines associated with atomic transitions may require converting the SDSS data to the equivalent values at S.T.P.

The IAU standard for conversion from air to vacuum wavelengths is given in Morton (1991, ApJS, 77, 119). For a vacuum wavelength (VAC) in Ångstroms, convert to air wavelength (AIR) using the equation:

AIR = VAC / (1.0 + 2.735182E-4 + 131.4182 / VAC^2 + 2.76249E8 / VAC^4)

These are the air and vacuum wavelength of some common transitions:

LineAirVacuum
H-beta4861.3634862.721
[O III]4958.9114960.295
[O III]5006.8435008.239
[N II]6548.056549.86
H-alpha6562.8016564.614
[N II]6583.456585.27
[S II]6716.446718.29
[S II]6730.826732.68

Note also that the wavelengths are also shifted such that measured velocities will be relative to the solar system barycentric at the mid-point of each 15-minute exposure (using TAI-BEG + 0.5 * EXPTIME from the header).