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:
PSDobject for manipulation of power spectral resultsClustersobject 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_regressionto 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 timespace) with optional filtering by minimum number of adjacent channels (min_adj_ch, equivalent ofminnbchanin fieldtrip). Topoobject 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. 🚧 be warned that documentation is under contstruction 🚧
Metadata
Release files for borsar 0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| borsar-0.2.tar.gz | 98.1 kB | Without provenance | Details for borsar-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| borsar-0.2-py3-none-any.whl | Python 3 | none | any | Details for borsar-0.2-py3-none-any.whl |
Total release size: 206.9 kB
Release files / borsar-0.2.tar.gz
| Download URL | borsar-0.2.tar.gz |
|---|---|
| Size | 98.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f68776824d0de30e95b872411437c709fad3db72efaeced3df6e1354c1dabc27
|
|
BLAKE2b-256 checksum How to use checksums |
4e75d41a11fee514cd11cb85021ffda948be383cf6252f4f25314461bd6588a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Release files / borsar-0.2-py3-none-any.whl
| Download URL | borsar-0.2-py3-none-any.whl |
|---|---|
| Size | 108.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cce2eceacd6d626e01db48b312e66e64e25088a0529a45faa04c84fee305dc3b
|
|
BLAKE2b-256 checksum How to use checksums |
a0dc0c9bdc3d6e18e9837e78f830196fc8ab97661bd48035f93c41c6f3f83467
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.11.4
|
Security for borsar 0.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.