Skip to main content

Spectrum Analysis Tools

Project description

SPECTRUM : Spectral Analysis in Python

https://badge.fury.io/py/spectrum.svg https://github.com/cokelaer/spectrum/actions/workflows/main.yml/badge.svg?branch=master https://coveralls.io/repos/cokelaer/spectrum/badge.png?branch=master https://anaconda.org/conda-forge/spectrum/badges/license.svg https://anaconda.org/conda-forge/spectrum/badges/installer/conda.svg https://anaconda.org/conda-forge/spectrum/badges/downloads.svg http://joss.theoj.org/papers/e4e34e78e4a670f2ca9a6a97ce9d3b8e/status.svg
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

http://www.thomas-cokelaer.info/software/spectrum/html/_images/psd_all.png

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 available

The 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 spectrum

To 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

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)

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

spectrum-0.9.0.tar.gz (231.5 kB view details)

Uploaded Source

File details

Details for the file spectrum-0.9.0.tar.gz.

File metadata

  • Download URL: spectrum-0.9.0.tar.gz
  • Upload date:
  • Size: 231.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.14

File hashes

Hashes for spectrum-0.9.0.tar.gz
Algorithm Hash digest
SHA256 4539347e7cdb9ea4ea63ca76033eed8bf54f283dc4a42e966464734c279809cd
MD5 e5e2fcd687a99de354f1ba574adb2cc7
BLAKE2b-256 cc95d8b0f22084cb179d37bf3f3121a0f617e335370a7f7ab8df0e02a2c62098

See more details on using hashes here.

Supported by

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