'Spectrum'

'Spectrum': Spectral Analysis in Python - Published in JOSS (2017)

https://github.com/cokelaer/spectrum

Science Score: 95.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    3 of 21 committers (14.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

arma fourier pburg periodogram psd python spectral

Scientific Fields

Mathematics Computer Science - 84% confidence
Last synced: 4 months ago · JSON representation

Repository

Spectral Analysis in Python

Basic Info
Statistics
  • Stars: 357
  • Watchers: 19
  • Forks: 90
  • Open Issues: 5
  • Releases: 7
Topics
arma fourier pburg periodogram psd python spectral
Created over 11 years ago · Last pushed 11 months ago
Metadata Files
Readme Contributing License Authors

README.rst

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/version.svg
    :target: https://anaconda.org/conda-forge/spectrum/badges/version.svg

.. 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 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      * 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

Owner

  • Name: Thomas Cokelaer
  • Login: cokelaer
  • Kind: user
  • Location: Paris, France
  • Company: Institut Pasteur

Bioinformatician, Scientific Software Developer, Python developer

JOSS Publication

'Spectrum': Spectral Analysis in Python
Published
October 27, 2017
Volume 2, Issue 18, Page 348
Authors
Thomas Cokelaer ORCID
Institut Pasteur - Bioinformatics and Biostatistics Hub - C3BI, USR 3756 IP CNRS - Paris, France
Juergen Hasch ORCID
Robert Bosch GmbH: Renningen, Baden-Württemberg, Germany
Editor
Arfon Smith ORCID
Tags
spectral analysis periodogram yule-walker multi-tapering burg ARMA eigen-values tapering windows

GitHub Events

Total
  • Create event: 2
  • Release event: 3
  • Issues event: 5
  • Watch event: 23
  • Issue comment event: 3
  • Push event: 9
  • Pull request event: 2
  • Pull request review event: 2
  • Fork event: 1
Last Year
  • Create event: 2
  • Release event: 3
  • Issues event: 5
  • Watch event: 23
  • Issue comment event: 3
  • Push event: 9
  • Pull request event: 2
  • Pull request review event: 2
  • Fork event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 315
  • Total Committers: 21
  • Avg Commits per committer: 15.0
  • Development Distribution Score (DDS): 0.095
Past Year
  • Commits: 8
  • Committers: 1
  • Avg Commits per committer: 8.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Thomas Cokelaer c****r@g****m 285
Craig Stringham c****g@c****m 3
Aaron Nielsen a****n@i****m 3
Juergen Hasch p****n@e****e 3
Jürgen Hasch j****h@e****e 2
Arfon Smith a****n 2
Erik Tollerud e****d@g****m 2
Takeshi Ikuma (LSUHSC) t****a@l****u 2
Avichai a****i@b****m 1
Moritz Ritter m****r@a****m 1
Aaron Nielsen a****n@a****m 1
Claas Flint c****t@y****e 1
Davide Zilli z****e@g****m 1
Mark Butala b****a@i****u 1
Max Strobel m****8@g****m 1
Raquib-ul Alam (Kanak) a****k@g****m 1
Sam Hollow z****4@l****k 1
Svante Stadler s****r@g****m 1
WANG Longqi i****l@g****m 1
Yuval Globerson y****g@g****m 1
carlkl c****r@g****m 1

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 60
  • Total pull requests: 24
  • Average time to close issues: 7 months
  • Average time to close pull requests: 6 months
  • Total issue authors: 40
  • Total pull request authors: 19
  • Average comments per issue: 1.67
  • Average comments per pull request: 1.88
  • Merged pull requests: 24
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 1
  • Pull requests: 0
  • Average time to close issues: 18 days
  • Average time to close pull requests: N/A
  • Issue authors: 1
  • Pull request authors: 0
  • Average comments per issue: 1.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • cokelaer (12)
  • Aikhjarto (3)
  • eteq (3)
  • patrickcgray (2)
  • senis000 (2)
  • alfredo-f (2)
  • wanglongqi (2)
  • xaratustrah (2)
  • cdeil (1)
  • roitnedurp (1)
  • DaboudetClaire (1)
  • gemeinl (1)
  • Strong-Curious (1)
  • wulmer (1)
  • agharibans (1)
Pull Request Authors
  • anielsen001 (4)
  • juhasch (2)
  • eteq (2)
  • cl445 (2)
  • butala (2)
  • svantana (1)
  • alamkanak (1)
  • wanglongqi (1)
  • maxstrobel (1)
  • gozzilli (1)
  • sambnh (1)
  • tikuma-lsuhsc (1)
  • arfon (1)
  • moritz-ritter (1)
  • carlkl (1)
Top Labels
Issue Labels
question (3) enhancement (3) bug (3) help wanted (1)
Pull Request Labels

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 26,201 last-month
  • Total docker downloads: 10
  • Total dependent packages: 5
    (may contain duplicates)
  • Total dependent repositories: 69
    (may contain duplicates)
  • Total versions: 32
  • Total maintainers: 1
pypi.org: spectrum

Spectrum Analysis Tools

  • Versions: 26
  • Dependent Packages: 5
  • Dependent Repositories: 68
  • Downloads: 26,201 Last month
  • Docker Downloads: 10
Rankings
Dependent repos count: 1.8%
Downloads: 2.2%
Dependent packages count: 2.4%
Average: 3.2%
Stargazers count: 3.6%
Docker downloads count: 4.3%
Forks count: 4.8%
Maintainers (1)
Last synced: 4 months ago
conda-forge.org: spectrum
  • Versions: 6
  • Dependent Packages: 0
  • Dependent Repositories: 1
Rankings
Forks count: 20.0%
Stargazers count: 22.6%
Dependent repos count: 24.2%
Average: 29.6%
Dependent packages count: 51.5%
Last synced: 4 months ago

Dependencies

requirements.txt pypi
  • easydev *
  • matplotlib *
  • numpy *
  • scipy *
.github/workflows/main.yml actions
  • actions/checkout v2 composite
  • actions/setup-python v2 composite
.github/workflows/pypi.yml actions
  • actions/checkout master composite
  • actions/setup-python v1 composite
  • pypa/gh-action-pypi-publish master composite
environment.yml pypi
setup.py pypi