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

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.16.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.16-py3-none-any.whl (346.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wonambi-7.16.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.16.tar.gz
Algorithm Hash digest
SHA256 d478f1779584b80b5cbfbb3121c853cd6def2a52f8303ac53decc6744a5957db
MD5 1a5ba63912d6c4e9ae203673095ae4df
BLAKE2b-256 c8221d747d6aa4526bd2cf2ef9d8e8a252f7bfcc0832022bbf5707868143a4a1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: wonambi-7.16-py3-none-any.whl
  • Upload date:
  • Size: 346.0 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.16-py3-none-any.whl
Algorithm Hash digest
SHA256 93c684ac486f3a5adbc2371a1527593dadd52f59a9c7091f8fd6395933fb33ea
MD5 f8497b54f0aab46e870a19da765f476d
BLAKE2b-256 7d96f74d57915b1a632b5b0b52cdc76f85a092b57f337334d8cf4060c1373f3f

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