Skip to main content

Package for spectroscopic astronomical data

Project description

GitHub Actions CI Status Coverage Status Documentation Status Powered by Astropy

Specutils is an Astropy affiliated package with the goal of providing a shared set of Python representations of astronomical spectra and basic tools to operate on these spectra. The effort is also meant to be a “hub”, helping to unite the Python astronomical spectroscopy community around shared effort, much as Astropy is meant to for the wider astronomy Python ecosystem. This broader effort is outlined in the APE13 document.

Note that Specutils is not intended to meet all possible spectroscopic analysis or reduction needs. While it provides some standard analysis functionality (following the Python philosophy of “batteries included”), it is best thought of as a “tool box” that provides pieces of functionality that can be used to build a particular scientific workflow or higher-level analysis tool. To that end, it is also meant to facilitate connecting together disparate reduction pipelines and analysis tools through shared Python representations of spectroscopic data.

Getting Started with Specutils

For details on installing and using Specutils, see the specutils documentation.

Note that Specutils now only supports Python 3. While some functionality may continue to work on Python 2, it is not tested and support cannot be guaranteed (due to the sunsetting of Python 2 support by the Python and Astropy development teams).

Migrating from Specutils 1.x to 2.x

For details about breaking changes coming in 2.0, please see the specutils documentation.

License

This project is Copyright (c) Specutils Developers and licensed under the terms of the BSD 3-Clause license. This package is based upon the Astropy package template which is licensed under the BSD 3-clause license. See the licenses folder for more information.

Contributing

We love contributions! specutils is open source, built on open source, and we’d love to have you hang out in our community.

Imposter syndrome disclaimer: We want your help. No, really.

There may be a little voice inside your head that is telling you that you’re not ready to be an open source contributor; that your skills aren’t nearly good enough to contribute. What could you possibly offer a project like this one?

We assure you - the little voice in your head is wrong. If you can write code at all, you can contribute code to open source. Contributing to open source projects is a fantastic way to advance one’s coding skills. Writing perfect code isn’t the measure of a good developer (that would disqualify all of us!); it’s trying to create something, making mistakes, and learning from those mistakes. That’s how we all improve, and we are happy to help others learn.

Being an open source contributor doesn’t just mean writing code, either. You can help out by writing documentation, tests, or even giving feedback about the project (and yes - that includes giving feedback about the contribution process). Some of these contributions may be the most valuable to the project as a whole, because you’re coming to the project with fresh eyes, so you can see the errors and assumptions that seasoned contributors have glossed over.

Note: This disclaimer was originally written by Adrienne Lowe for a PyCon talk, and was adapted by specutils based on its use in the README file for the MetPy project.

If you locally cloned this repo before 22 Mar 2021

The primary branch for this repo has been transitioned from master to main. If you have a local clone of this repository and want to keep your local branch in sync with this repo, you’ll need to do the following in your local clone from your terminal:

git fetch --all --prune
# you can stop here if you don't use your local "master"/"main" branch
git branch -m master main
git branch -u origin/main main

If you are using a GUI to manage your repos you’ll have to find the equivalent commands as it’s different for different programs. Alternatively, you can just delete your local clone and re-clone!

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

specutils-1.20.0.tar.gz (6.6 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

specutils-1.20.0-py3-none-any.whl (4.9 MB view details)

Uploaded Python 3

File details

Details for the file specutils-1.20.0.tar.gz.

File metadata

  • Download URL: specutils-1.20.0.tar.gz
  • Upload date:
  • Size: 6.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for specutils-1.20.0.tar.gz
Algorithm Hash digest
SHA256 51ee9d17e56d24e33c23e44c18be704a7621c80f544e208e63c9de6e75bacbeb
MD5 a658e8342423919bef047e9aa9c3e494
BLAKE2b-256 b8d4d705bd917ba0bf8ad51a0ab523dc0617739b2217e4e543dd9827f9dc8cd4

See more details on using hashes here.

File details

Details for the file specutils-1.20.0-py3-none-any.whl.

File metadata

  • Download URL: specutils-1.20.0-py3-none-any.whl
  • Upload date:
  • Size: 4.9 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.4

File hashes

Hashes for specutils-1.20.0-py3-none-any.whl
Algorithm Hash digest
SHA256 94add51e0ce285321e893156b5ac68f6c08aaf4ddc40190c417edf0bf7442128
MD5 fd5c86bae0dca29f7163f573c48ad395
BLAKE2b-256 50ccc9e3a0d9f2259ee9766a3e99c2d56df9acb8aab2af5c55d9e57ddcb8c5f5

See more details on using hashes here.

Supported by

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