krischer / mtspec

Python library for multitaper spectral estimations
http://krischer.github.io/mtspec/
GNU General Public License v3.0
69 stars 44 forks source link

Unmaintained!!

This package is currently unmaintained so please use at your own risk. If you want to take over maintenance of this package, please let me know.

I'd recommend to use this package instead: https://github.com/gaprieto/multitaper

It is a Python implementation of the multitaper Fortran module (by the same author!) this package here wraps. Thus it makes sense to sunset this package and focus any potential efforts on the new Python implementation.


mtspec - Multitaper Spectral Estimation

Build Status Anaconda-Server Badge PyPI Version Supported Python versions License DOI

Documentation

Logo

Installation

Consult the documentation for all the details - this is the short version. If you use conda, just do

$ conda config --add channels conda-forge
$ conda install mtspec

Otherwise, make sure you have gfortran and numpy installed and run

$ pip install mtspec

About mtspec

mtspec is a Python (ctypes) wrapper for the Multitaper Spectrum Estimation Library mwlib.a by Germán A. Prieto.

Prieto, G. A., R. L. Parker, F. L. Vernon. (2009),
A Fortran 90 library for multitaper spectrum analysis,
Computers and Geosciences, 35, pp. 1701-1710.
doi:10.1016/ j.cageo.2008.06.007

It enables you to calculate Slepian windows, perform multitaper spectral estimations with various options, calculate Wigner-Ville time-frequency distributions, and construct coherence spectra with multitapers.