Skip to content

Wraps the Multitaper.jl package so as to work in python

License

Notifications You must be signed in to change notification settings

lootie/multitaperpy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multitaperpy

Wraps the Multitaper.jl package so as to work in python

Installation

Please install using

$ pip install -e git+https://github.com/lootie/multitaperpy.git#egg=multitaperpy

Using multitaperpy requires that Julia is installed and in the path, along with Multitaper.jl and PyCall.jl. To install Julia, download a generic binary from the JuliaLang site and add it to your path. To install Julia packages required for multitaperpy, open up Python interpreter then run:

>>> import multitaperpy
>>> multitaperpy.install()

and you're good! Note that one might additionally require

>>> from julia.api import Julia
>>> jl = Julia(compiled_modules=False)

before one accesses basic functionality, i.e.

from multitaperpy import multispec 
import numpy as np

multispec.multispec(np.random.rand(100))

and you may also need PyJulia

$ python3 -m pip install --user julia

Paper

If you make use of multitaperpy, and thus Multitaper.jl, please cite the following paper: DOI.

Acknowledgment

This material is based upon work supported by the U.S. Department of Energy, Office of Science, Office of Basic Energy Sciences.

About

Wraps the Multitaper.jl package so as to work in python

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published