Skip to main content

tools for electrophysiological analysis, especially cluster-based tests.

Project description

CircleCI Coverage Status

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 results
  • Clusters 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 of minnbchan 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


Download files

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

Source Distribution

borsar-0.1.tar.gz (614.4 kB view details)

Uploaded Source

Built Distribution

borsar-0.1-py3-none-any.whl (624.0 kB view details)

Uploaded Python 3

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

Hashes for borsar-0.1.tar.gz
Algorithm Hash digest
SHA256 b18b470559e46b29703227cd9f1313d2d3a9ffaca5fa264a7be6f02a89614365
MD5 65e8b2e6377fab12c37a1529e119c840
BLAKE2b-256 66495af47969ec7d17e56854ff9d7a6f3f91df25a43308ff656f79ac80c97ca3

See more details on using hashes here.

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

Hashes for borsar-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2be95811b00c988cfdf5348bbb5defd34ed20161293af3bccc172650a0992bcf
MD5 5dce4ffda93583f19488364af87f3006
BLAKE2b-256 1152d61928f1ffa71d2b8dada5a63457e757029e0e2f65fc98f1859d4393a18a

See more details on using hashes here.

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