specutils
Package for spectroscopic astronomical data
Decision gist · record as of 2026-08-14
Yes, if you work with astronomical spectroscopy in Python and need standard data representations to integrate multiple tools. The package is actively maintained, has low install friction, carries no known vulnerabilities, and is part of the established Astropy ecosystem. Install it as a foundation layer rather than expecting it to be a complete analysis suite—it is explicitly designed as a toolbox for building workflows, not a turnkey solution.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later
- Low friction installation with a pure-Python wheel.
- Active maintenance with a recent release 74 days ago.
License · maintenance · safety
BSD 3-Clause (permissive) — BSD 3-Clause is permissive and imposes minimal restrictions; you can use, modify, and distribute specutils in commercial or proprietary projects provided you include the license notice.
last release 2026-06-01 (74 days) · last repo commit 2026-08-01 · 202 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 84,840 downloads/mo, #13,967 on PyPI
Alternatives
Verify before relying
pip install specutils
import specutils
# Use specutils with numpy, scipy, astropy, gwcs, asdf for spectral analysis- Specific spectroscopic analysis capabilities beyond basic operations and data representation
- Performance characteristics or scalability limits for large spectral datasets
- Compatibility with particular spectroscopy file formats or reduction pipelines
What it is and what it does
Specutils is an Astropy affiliated package that defines standard Python representations for astronomical spectra and provides basic tools to work with them. It is designed as a "hub" to unite the Python spectroscopy community around shared data structures and functionality, rather than as a comprehensive analysis suite. The package acts as a toolbox providing foundational pieces that can be assembled into scientific workflows or connected with other reduction pipelines and analysis tools.
The package requires Python 3.11 or later and depends on a stack of scientific libraries: numpy and scipy for numerical operations, astropy for core astronomy functionality, gwcs for world coordinate systems, and the asdf ecosystem for serialization. It is not intended to meet all possible spectroscopic analysis needs, but rather to facilitate interoperability between disparate tools through shared representations of spectroscopic data.
Use it for
- Build custom spectroscopic analysis workflows by combining specutils data structures with domain-specific reduction pipelines
- Connect multiple spectroscopy tools and reduction packages through standardized Python representations of spectra
- Perform basic spectral operations on astronomical data using a shared community standard
- Develop higher-level spectroscopy analysis applications on top of specutils' foundational representations
- Integrate spectroscopic data from different sources into a unified Python analysis environment
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you work with astronomical spectroscopy in Python and need standard data representations to integrate multiple tools.
The package is actively maintained, has low install friction, carries no known vulnerabilities, and is part of the established Astropy ecosystem. Install it as a foundation layer rather than expecting it to be a complete analysis suite—it is explicitly designed as a toolbox for building workflows, not a turnkey solution.
Install
specutils on PyPI
Before you install
Low friction installation with a pure-Python wheel. Active maintenance with a recent release 74 days ago. Depends on established scientific packages (numpy, scipy, astropy, gwcs, asdf) that are widely used and well-maintained.
Requires Python 3.11 or later
License in practice
BSD 3-Clause is permissive and imposes minimal restrictions; you can use, modify, and distribute specutils in commercial or proprietary projects provided you include the license notice.
Quickstart
pip install specutils
import specutils
# Use specutils with numpy, scipy, astropy, gwcs, asdf for spectral analysis
Verify before relying
- Specific spectroscopic analysis capabilities beyond basic operations and data representation
- Performance characteristics or scalability limits for large spectral datasets
- Compatibility with particular spectroscopy file formats or reduction pipelines
Package facts
| License | BSD 3-Clause permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 7 packagesnumpyscipyastropygwcsasdf-astropyasdfndcube |
| Maintenance | Actively maintained 74 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 84,840 / month, #13,967 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Topic :: Scientific/Engineering :: AstronomyTopic :: Software Development :: Libraries |
Evidence: specutils-2.4.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “astronomical spectroscopy tools”
- specutilsSpecutils provides Python representations of astronomical spectra and…
- pyvoPyVO provides Python access to Virtual Observatory data archives,…
- libhreelsLibhreels reads, analyzes, and simulates high-resolution electron…
Give your agent the search over MCP, or paste the wish link into any chat.
More Libraries packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Provides parsing, arithmetic, and recurrence rule computation for dates and times, with timezone support and iCalendar RFC compliance.
Install it if you need to parse flexible date strings, compute relative dates, handle timezones, or work with recurrence rules—it's the de facto choice for these tasks.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
pytest is a testing framework that lets you write test functions using plain assert statements and automatically discovers and runs them, with detailed failure reporting.
See also astroquery · libhreels · photutils · pyds9 · gwcs · regions · pybaselines · asdf-astropy · astropy-healpix · pymzml