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.17

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.17.tar.gz (325.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wonambi-7.17-py3-none-any.whl (346.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wonambi-7.17.tar.gz
  • Upload date:
  • Size: 325.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for wonambi-7.17.tar.gz
Algorithm Hash digest
SHA256 d3f1c87294b9580b3d6445087ce3a03fd13d3f37e46760ee551b3c8dec086413
MD5 b094cc246866c6c0ee17bf40c8864b8a
BLAKE2b-256 a4acdf50ab1ccd21b2af8d1dea5c9fabbd9053d34a7665e4c3ecf6aca52bd0fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wonambi-7.17-py3-none-any.whl
  • Upload date:
  • Size: 346.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for wonambi-7.17-py3-none-any.whl
Algorithm Hash digest
SHA256 71b5e51858b271b9795155d52cac44fcd2c313afa1391287f9238ac4ce5539b3
MD5 744e6ef9ae2b23b95d3b72149f679c81
BLAKE2b-256 a386bc827acecccaf4e5e310bd62c5d7a2de83ce976012f7680f9f9e1597f5b7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page