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
borsar
is not yet released on PyPI
so to install you have to download it from GitHub using pip in the following way:
pip install git+https://github.com/mmagnuski/borsar
or, 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
python setup.py develop
both methods require you to have git 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.1.tar.gz
.
File metadata
- Download URL: borsar-0.1.tar.gz
- Upload date:
- Size: 614.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b18b470559e46b29703227cd9f1313d2d3a9ffaca5fa264a7be6f02a89614365 |
|
MD5 | 65e8b2e6377fab12c37a1529e119c840 |
|
BLAKE2b-256 | 66495af47969ec7d17e56854ff9d7a6f3f91df25a43308ff656f79ac80c97ca3 |
File details
Details for the file borsar-0.1-py3-none-any.whl
.
File metadata
- Download URL: borsar-0.1-py3-none-any.whl
- Upload date:
- Size: 624.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.12.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be95811b00c988cfdf5348bbb5defd34ed20161293af3bccc172650a0992bcf |
|
MD5 | 5dce4ffda93583f19488364af87f3006 |
|
BLAKE2b-256 | 1152d61928f1ffa71d2b8dada5a63457e757029e0e2f65fc98f1859d4393a18a |