Skip to content

aaryapatil/tapify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tapify

Logo

Build Status License Docs

A Multitaper Periodogram package for computing the power spectrum of a time-series with minimal spectral leakage and reduced variance.

Documentation

Read the documentation at tapify.readthedocs.io

The following is a basic use case to get you started:

from tapify import MultiTaper

mt_object = MultiTaper(data, t=time, NW=4, K=7)
freq, power = mt_object.periodogram(method='fft',
                                    adaptive_weighting=True,
                                    N_padded='default')

Installation

pip install tapify

python setup.py install

Attribution

Please cite Patil, Eadie, Speagle, Thomson (2022) https://arxiv.org/abs/2209.15027 if you use this code in your research.