Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cokelaer/spectrum
Spectral Analysis in Python
https://github.com/cokelaer/spectrum
arma fourier pburg periodogram psd python spectral
Last synced: 7 days ago
JSON representation
Spectral Analysis in Python
- Host: GitHub
- URL: https://github.com/cokelaer/spectrum
- Owner: cokelaer
- License: bsd-3-clause
- Created: 2014-09-01T18:26:09.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-12-08T22:39:01.000Z (about 2 months ago)
- Last Synced: 2025-01-19T05:34:26.553Z (14 days ago)
- Topics: arma, fourier, pburg, periodogram, psd, python, spectral
- Language: Python
- Homepage: http://pyspectrum.readthedocs.io
- Size: 973 KB
- Stars: 342
- Watchers: 19
- Forks: 90
- Open Issues: 5
-
Metadata Files:
- Readme: README.rst
- Contributing: CONTRIBUTING.rst
- License: LICENSE
- Authors: AUTHORS.rst
Awesome Lists containing this project
- awesome-chemistry-nmr-nuclear-magnetic-resonance - SPECTRUM : Spectral Analysis in Python - Spectral Analysis in Python. [documentation](https://pyspectrum.readthedocs.io/en/latest/quickstart.html). (NMR GitHub Projects used link)
README
SPECTRUM : Spectral Analysis in Python
==========================================.. image:: https://badge.fury.io/py/spectrum.svg
:target: https://pypi.python.org/pypi/spectrum.. image:: https://github.com/cokelaer/spectrum/actions/workflows/main.yml/badge.svg?branch=master
:target: https://github.com/cokelaer/spectrum/actions/workflows/main.yml.. image:: https://coveralls.io/repos/cokelaer/spectrum/badge.png?branch=master
:target: https://coveralls.io/r/cokelaer/spectrum?branch=master.. image:: https://anaconda.org/conda-forge/spectrum/badges/license.svg
:target: https://anaconda.org/conda-forge/spectrum.. image:: https://anaconda.org/conda-forge/spectrum/badges/installer/conda.svg
:target: https://conda.anaconda.org/conda-forge.. image:: https://anaconda.org/conda-forge/spectrum/badges/downloads.svg
:target: https://anaconda.org/conda-forge/spectrum.. image:: http://joss.theoj.org/papers/e4e34e78e4a670f2ca9a6a97ce9d3b8e/status.svg
:target: http://joss.theoj.org/papers/e4e34e78e4a670f2ca9a6a97ce9d3b8e:contributions: Please join https://github.com/cokelaer/spectrum
:contributors: https://github.com/cokelaer/spectrum/graphs/contributors
:issues: Please use https://github.com/cokelaer/spectrum/issues
:documentation: http://pyspectrum.readthedocs.io/
:Citation: Cokelaer et al, (2017), 'Spectrum': Spectral Analysis in Python, Journal of Open Source Software, 2(18), 348, doi:10.21105/joss.00348.. image:: http://www.thomas-cokelaer.info/software/spectrum/html/_images/psd_all.png
:class: align-right
:width: 50%**Spectrum** contains tools to estimate Power Spectral Densities using methods based on Fourier transform, Parametric methods or eigenvalues analysis:
* The Fourier methods are based upon correlogram, periodogram and Welch estimates. Standard tapering windows (Hann, Hamming, Blackman) and more exotic ones are available (DPSS, Taylor, ...).
* The parametric methods are based on Yule-Walker, BURG, MA and ARMA, covariance and modified covariance methods.
* Non-parametric methods based on eigen analysis (e.g., MUSIC) and minimum variance analysis are also implemented.
* Multitapering is also availableThe targetted audience is diverse. Although the use of power spectrum of a
signal is fundamental in electrical engineering (e.g. radio communications,
radar), it has a wide range of applications from cosmology (e.g., detection of
gravitational waves in 2016), to music (pattern detection) or biology (mass
spectroscopy).Quick Installation
=====================**spectrum** is available on Pypi::
pip install spectrum
and **conda**::
conda config --append channels conda-forge
conda install spectrumTo install the **conda** executable itself, please see https://www.continuum.io/downloads .
Contributions
==================Please see `github `_ for any issues/bugs/comments/contributions.
Changelog (summary)
============================= ============================================================
release description
========== ============================================================
0.9.0 * handles new numpy API (keeping back compatiblity).
* included https://github.com/cokelaer/spectrum/pull/73
thanks to @butala contribution to speed up fft.
* fix rho calculation in burg algo thanks to contri
https://github.com/cokelaer/spectrum/pull/82 from @cl445
* remove warnings/deprecation related to pkgresources, numpy
and scipy.
* ran black through entire code.
0.8.1 * move CI to github actions
* include python 3.9 support
* include PR from tikuma-lshhsc contributor to speedup
eigenfre module
* fix deprecated warnings
========== ============================================================Some notebooks (external contributions)
-------------------------------------------* http://nbviewer.ipython.org/gist/juhasch/5182528