Skip to main content

Python implementation of some Brainstorm functions

Project description

Pystorm

Python implementation of various functions from the Brainstorm repository, often written for GPU compatibility and/or jit compilation.

Note on the current scope of Pystorm

Pystorm does not handle interactions with Brainstorm or matlab and, in its current state, does not handle loading of data files.

It mainly operates as a library of functions to perform operations on data directly (e.g., numpy array of sensor signals and imaging kernel).

It aims to be lightweight, fast, and hopefully easily scalable to parallel computing and high performance computing.

It can be installed using pip through pypi where it is named pystorm3:

python -m pip install pystorm3

or

pip install pystorm3.

Pystorm functions

Currently implemented

  • Power spectral density estimation (PSD Welch method, physical units only) in source and sensor space (can operate on GPU)
  • Band-pass filtering (equivalent to "bst-hfilter-2019")
  • Hilbert transform
  • Amplitude envelope correlation (equivalent to "penv" and "oenv"). Can only be applied on signal directly for now: does not work with (sensor, kernel) input.

Coming soon

Currently not implemented

  • Handling of unconstrained sources

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pystorm3-0.1.8.tar.gz (33.0 kB view hashes)

Uploaded Source

Built Distribution

pystorm3-0.1.8-py3-none-any.whl (35.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page