Python library for multitaper spectral estimations
PostScript Fortran Python TeX Matlab Makefile
Switch branches/tags
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

mtspec - Multitaper Spectral Estimation

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




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.