Skip to main content

Toolkit for fitting and manipulating spectroscopic data in python

Project description

<pyspeckit.bitbucket.org>

This is a code framework designed to allow for analysis of spectroscopic data from a wide variety of astronomical instruments. It is motivated by the lack of general spectroscopic analysis tools applicable at multiple wavelengths (compare to IRAF, SPLAT, etc. - these are wavelength-specific and/or do not make user scripting easy).

Initial implementation focuses on optical and radio applications, e.g. gaussian and voigt profile fitting, baseline/continuum fitting, and equivalent width measurements. However, the design is meant to be extensible. We want additional features to be trivial to implement.

In that vein, there is a growing set of spectral models implemented. The model and hyperfinemodel classes makes model implementation quite straightforward, if not trivial (you still have to plug in the right frequency offsets and relative line strengths).

Plotting is straightforward, as is usually the case with matplotlib-based codes. We have a few different methods of error bar plotting implemented, a decent (and expanding) units class for pretty printing of spectroscopic units, and different methods of fit plotting.

We’re also looking for more users to give us more use cases! Contact us at pyspeckit@gmail.com

Requirements: matplotlib numpy

Preferably at least one of: pyfits atpy asciitable

Optional: scipy

A good model for our code is atpy, from which we derived inspiration for the “register functions” capability.

Authors: Adam Ginsburg Jordan Mirocha (or both of us at pyspeckit@gmail.com)

The PySpecKit logo uses the Voyager 1 image of Earth known as the “Pale Blue Dot” [ original source | reprocessed image ]

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyspeckit-0.1.3.tar.gz (1.0 MB view details)

Uploaded Source

File details

Details for the file pyspeckit-0.1.3.tar.gz.

File metadata

  • Download URL: pyspeckit-0.1.3.tar.gz
  • Upload date:
  • Size: 1.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyspeckit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 711d73efa56923bd4a5409e628f6509d81b858e9bc160fa73e2b4af4f6014978
MD5 11c8d4f8a8949d8e231e4732970cb910
BLAKE2b-256 f1dfa34e051662a65ca56a6f7559be2ca07e635025dcf39f555f52c7307f6f88

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page