Skip to main content

Tools for EEG, ECoG, iEEG, especially for sleep

Project description

Package for the analysis of EEG, ECoG and other electrophysiology modalities. Allows for visualization of the data and sleep stage scoring in a GUI. Provides automatic detectors for spindles and slow waves.

Features

  • Can read files of format:

    • Axon (.abf, ABF2 only)

    • BCI2000 (.dat)

    • Blackrock (.nev, .ns2, .ns3, .ns5)

    • Brain Vision (.vhdr, .vmrk, .eeg / .dat)

    • EEGLAB (.set, .set / .fdt)

    • European Data Format (.edf)

    • EGI MFF (.mff)

    • Fieldtrip (.mat)

    • mne FIFF (.fiff)

    • SystemPlus Micromed (.trc)

    • Moberg (“EEG,Composite,SampleSeries,Composite,MRIAmp,data”)

    • openephys (.continuous, .openephys)

    • BIDS-formatted data file

  • Interface for Sleep Scoring

  • Computes frequency analysis (spectrogram), time-frequency analysis (short-time spectrogram, Morlet wavelet)

  • Detection of spindles and slow waves

  • Pure Python

Installation

Install wonambi by running:

pip3 install wonambi

See Installation for details

If you want to scroll recordings and do some sleep scoring (requires PyQt5)

wonambi

Run it!

From the command line, simply type:

wonambi

To open a dataset directly, add the full path to the file you want to open:

wonambi /home/me/sleep_recordings.edf

Documentation

See Documentation

Change Log

See Change Log

Requirements

  • Python 3.6 or later

  • numpy

  • scipy

Optional Requirements

  • PyQt5 (optional for sleep scoring GUI)

  • python-vlc (optional, to watch embedded movies)

  • vispy (optional to plot 3D brain surfaces and electrodes)

  • h5py (optional to read FieldTrip Matlab files)

  • mne (optional, to export to mne FIFF files)

  • nibabel (optional to read freesurfer)

  • tensorpac (optional to run phase-amplitude analysis, tensorpac version should be 0.5.6)

  • fooof 1.0 (optional to run parametrization of power spectra)

Status

https://travis-ci.com/wonambi-python/wonambi.svg?branch=master https://codecov.io/gh/wonambi-python/wonambi/branch/master/graph/badge.svg

License

The project is licensed under the 3-clause BSD license.

Project details


Release history Release notifications | RSS feed

This version

7.14

Download files

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

Source Distribution

wonambi-7.14.tar.gz (324.5 kB view details)

Uploaded Source

Built Distribution

wonambi-7.14-py3-none-any.whl (344.9 kB view details)

Uploaded Python 3

File details

Details for the file wonambi-7.14.tar.gz.

File metadata

  • Download URL: wonambi-7.14.tar.gz
  • Upload date:
  • Size: 324.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for wonambi-7.14.tar.gz
Algorithm Hash digest
SHA256 ab84b01a6cdd2a7217e3f7b2d8bb091758eaf7517e0f00600994a755c389bc06
MD5 34aa58b0ad7aa0c24122cec35b7205e8
BLAKE2b-256 4bb5a7441090bd7a8c3bb7115c1c868a5b1bc06a48f02b471edf2bc4e761435f

See more details on using hashes here.

File details

Details for the file wonambi-7.14-py3-none-any.whl.

File metadata

  • Download URL: wonambi-7.14-py3-none-any.whl
  • Upload date:
  • Size: 344.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for wonambi-7.14-py3-none-any.whl
Algorithm Hash digest
SHA256 d3368d3ee014f4b9d5106ee0cb99247e7a3f3a3c235e45cdb4a894c246d68481
MD5 cfdb95590ee9a383d261830bc89970b1
BLAKE2b-256 cb42c84bc8c54b61eefd84617bd19b57a3dd019327fd4d0b185cad6ab3119efb

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