Skip to main content

Pure EEG power during paralysis

Power spectra of pure EEG from two temporarily paralysed subjects.

Data from (Fig 1, B-traces):

Scalp electrical recording during paralysis: Quantitative evidence that EEG frequencies above 20 Hz are contaminated by EMG Emma M. Whitham, Kenneth J. Pope, Sean P. Fitzgibbon, Trent Lewis, C. Richard Clark, Stephen Loveless, Marita Broberg, Angus Wallace, Dylan DeLosAngeles, Peter Lillie, Andrew Hardy, Rik. Clinical Neurophysiology Volume 118, Issue 8, August 2007, Pages 1877-1888.

Please cite as “Data from …” as outlined above. This has been advised by Elsevier’s Copyrights Coordinator.

Usage

To obtain the average PSD over all experiments just use the default constructor:

p = NMB_EEG_From_WhithamEtAl()

If you want to extract the PSD of dataset one do:

p = NMB_EEG_From_WhithamEtAl(1)

Obtain the power spectral density in V^2/Hz use:

psd = p.EEGVariance(f)

where f can be either a single frequency or a numpy array. The lowest permitted frequency is f_signal_min and the highest f_signal_max.

The total power of the entire frequency range from f_signal_min to f_signal_max is:

totalEEGPower = p.totalEEGPower()

Because EEGVariance(f) accepts a numpy array plotting the spectrum is simply:

f = np.linspace(p.f_signal_min,p.f_signal_max,100)
plt.plot(f,p.EEGVariance(f))

Usage example

Run:

plot_paralysed_EEG_PSD.py

from the github page: https://github.com/berndporr/nmb_eeg

Credit

Bernd Porr <bernd.porr@glasgow.ac.uk>

https://zenodo.org/badge/529194569.svg

Metadata

Release files for nmb_eeg 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nmb_eeg 1.0
File Size Uploaded Provenance
nmb_eeg-1.0.tar.gz 75.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nmb_eeg 1.0
File Interpreter ABI Platform
nmb_eeg-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 93.3 kB

Release files / nmb_eeg-1.0.tar.gz

Download URL nmb_eeg-1.0.tar.gz
Size 75.0 kB
Tags Source
SHA-256 checksum
How to use checksums
7f7addeb5519e3fc5f298e14e154266d2552e6d63a2a8b265b3825d743bf479c
BLAKE2b-256 checksum
How to use checksums
36bf69c3edb211447ebd35f147f760736df1c09a693056e413b6e5221742672b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.8

Release files / nmb_eeg-1.0-py3-none-any.whl

Download URL nmb_eeg-1.0-py3-none-any.whl
Size 18.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3edb55527bec0f1963b931b4788bff133b8f3b8844d5c461254804d0df73a5ba
BLAKE2b-256 checksum
How to use checksums
5a59468da458a9de88ed053d7cd11b725f8a57e6ac705a5f83bc446b9f600001
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.8

Security for nmb_eeg 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page