tools for electrophysiological analysis, especially cluster-based tests.
Project description
Various tools, objects and functions for EEG/MEG data analysis and visualisation. Some functionality that is available here may be later moved to mne-python.
borsar
includes:
PSD
object for manipulation of power spectral resultsClusters
object for storage, manipulation and plotting of clutser-based results, both in channel and sourcee space- efficient regression for multichannel data (
compute_regression_t
) cluster_based_regression
to perform regression tests in cluster-based permutation framework- numpy and numba implementations of cluster-based permutation tests in 3d space (for example in
channels x frequency x time
space) with optional filtering by minimum number of adjacent channels (min_adj_ch
, equivalent ofminnbchan
in fieldtrip). Topo
object for topomap plots that retains the topomap state, allows to mark channels, efficiently update data, change contour line width and style for one or multiple topomaps.
Installation
To get the official borsar version install using pip:
pip install borsar
The PyPI version may be sometimes behind the GitHub version so to install from GitHub you can use pip in the following way:
pip install git+https://github.com/mmagnuski/borsar
However, if you plan to frequently update the dev version and contribute to borsar
, install by cloning the repo with
git and installing in dev mode:
cd where_you_want_to_download_borsar
git clone https://github.com/mmagnuski/borsar
cd borsar
pip install -e .
the second and third method require git to be installed.
Documentation
Go to the online documentation for more information about usage examples or full API docs. :construction: be warned that documentation is under contstruction :construction:
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file borsar-0.2.tar.gz
.
File metadata
- Download URL: borsar-0.2.tar.gz
- Upload date:
- Size: 98.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f68776824d0de30e95b872411437c709fad3db72efaeced3df6e1354c1dabc27 |
|
MD5 | a64a1288cee2d0cb0f8d81a8317b563a |
|
BLAKE2b-256 | 4e75d41a11fee514cd11cb85021ffda948be383cf6252f4f25314461bd6588a3 |
File details
Details for the file borsar-0.2-py3-none-any.whl
.
File metadata
- Download URL: borsar-0.2-py3-none-any.whl
- Upload date:
- Size: 108.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cce2eceacd6d626e01db48b312e66e64e25088a0529a45faa04c84fee305dc3b |
|
MD5 | 26bed2de3d5b57c6abe8b2a6a3320beb |
|
BLAKE2b-256 | a0dc0c9bdc3d6e18e9837e78f830196fc8ab97661bd48035f93c41c6f3f83467 |