Skip to content

Specutils Other Packages

Christopher Hanley edited this page Jun 20, 2013 · 13 revisions

Components of other packages than can be incorporated into specutils

There are many projects being developed in parallel with specutils, or prior to it, that have capabilities we want included in specutils. This wiki page is meant to track those capabilities and point specutils developers to code that can potentially be re-used in specutils (with some editing to meet astropy coding guidelines) or that should serve as a guideline for specutils development.

Projects

spylot

pyspeckit

There are many individual models that can easily be translated into astropy.models subclasses: http://pyspeckit.bitbucket.org/html/sphinx/models.html

Pyspeckit includes matplotlib-based GUI features for selecting data for continuum and/or line fitting. See: http://pyspeckit.readthedocs.org/en/latest/interactive.html for an example https://github.com/pyspeckit/pyspeckit/blob/master/pyspeckit/spectrum/interactive.py for source code

It also includes facilities for unit conversion that are now pretty much all implemented in astropy.units, but eventually this code: https://github.com/pyspeckit/pyspeckit/blob/master/pyspeckit/spectrum/units.py should include an example of how to use astropy.units for that purpose.

grism

pysynphot

This is a prototype module for manipulating spectra. It is intended for it to be used for synthetic photometry, i.e. constructing source spectra and then passing these spectra through an astronomical observatory (e.g. HST, JWST...). See: https://github.com/spacetelescope/pysynphot

Clone this wiki locally