pyspeckit 0.1 documentation

PySpecKit

An extensible spectroscopic analysis toolkit for astronomy.

If you’re just getting started, see the examples page.

Download the January 2012 version, the latest commit, see Installation and Requirements, or see our pypi entry.

Supported file types and their formats:

Classes

  • spectrum can read a variety of individual spectra types
    • Spectrum The Spectrum class, which is the core of pyspeckit. The __init__ procedure opens a spectrum file.
    • Spectra A group of Spectrums. Generally for when you have multiple wavelength observations you want to stitch together (e.g., two filterbanks on a heterodyne system, or the red/blue spectra from a multi-band spectrometer like the Double Imaging Spectrograph)
    • ObsBlock An Observation Block - multiple spectra of different objects or different times covering the same wavelength range
  • Cubes is used to deal with data cubes and has functionality similar to GAIA and ds9.
    • Cube A Cube of Spectra. Has features to collapse the cube along the spectral axis and fit spectra to each element of the cube. Is meant to replicate Starlink’s GAIA in some ways, but with less emphasis on speed and much greater emphasis on spectral line fitting.

Features

  • Baseline Fitting describes baseline & continuum fitting.
  • Model Fitting describes the general process of model fitting.
  • Measurements is a toolkit for performing EQW, column, and other measurements...
  • Units contains the all-important SpectroscopicAxis class that is used to deal with coordinate transformations
  • Registration describes the extensible qualities of pyspeckit