Skip to main content

Package for analysis of single-neuron spike data.

Project description

pylabianca

Python tools for spike analysis.

pylabianca:

  • allows to read, analyse spike rate and statistically compare conditions in just a few steps
  • follows the convenient API of mne-python
  • provides two straightforward objects for storing spiking data: Spikes and SpikeEpochs
  • allow storing trial-level metadata in these object (just like mne-python) and selecting trials based on these metadata
  • returns xarrays (arrays with labeled dimensions and coordinates) as output from operations like cross-correlation, spiking rate calculation or decoding analysis
  • these xarrays inherit all the trial-level metadata and can be visualised splitting by conditions using pylabianca.viz.plot_shaded or native xarray plotting
  • the xarrays can be statistically tested with cluster based permutation test comparing condition metadata

installation

pylabianca can be installed using pip:

pip install pylabianca

To get most up-to-date version you can also install directly from github:

pip install git+https://github.com/labianca/pylabianca

what's new?

See whats_new.md for documentation of recent changes in pylabianca.

docs

Online docs are currently under construction.

Below you can find jupyter notebook examples showcasing pylabianca features.

To better understand the data formats read natively by pylabianca (and how to read other formats) see data formats page.

sample data

You can get example human data that are used in the examples here.
The preprocessed FieldTrip data used in the examples are available here.

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

pylabianca-0.2.0.tar.gz (90.1 kB view details)

Uploaded Source

Built Distribution

pylabianca-0.2.0-py3-none-any.whl (101.6 kB view details)

Uploaded Python 3

File details

Details for the file pylabianca-0.2.0.tar.gz.

File metadata

  • Download URL: pylabianca-0.2.0.tar.gz
  • Upload date:
  • Size: 90.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for pylabianca-0.2.0.tar.gz
Algorithm Hash digest
SHA256 d0ca01d79afda16399987a4f3691b2004c15e7d1ccab816342b42128694e74cd
MD5 652f58f08813cdea1cb475c2f6786229
BLAKE2b-256 448b42ebb00c043d219e49d2153636160d8fbbf210f60b6be891e286bc41d6b5

See more details on using hashes here.

File details

Details for the file pylabianca-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: pylabianca-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 101.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.0

File hashes

Hashes for pylabianca-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b31f761b8851c3fc6863a08491d546c5421529cc006f0383d9c8cf8ac9c69ca6
MD5 048b5a9daa62ad37f311ea988ef93712
BLAKE2b-256 9006d5dace8ad30c261b306ddbad2b301aecfd2839db1699b3d163f96d6abf48

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