Quick EEG
Quick EEG is an open-source python package to make processing EEG simpler. It is a wrapper for MNE that streamlines processing pipelines.
Official documentaton and official release of package on pip to come.
Example Code
Example use case, which can be found in quickeeg/quickeeg_main.py
import os
import sys
sys.dont_write_bytecode = True
import numpy as np
from helpers.preprocessing import Preprocessing
from helpers.report import Report
if __name__ == '__main__':
###########################################
############## Example usage ##############
###########################################
#Subject information
path = os.path.join('quickeeg','data')
id = 'participant_001'
#Create pipeline
pipeline = ['load_data',
'rereference',
'filter',
'notch_filter',
'ica',
'marker_cleaning',
'epoching',
'baseline_correction',
'averaging']
#Processing parameters
target_markers = {'11': [f'{i}' for i in range(11, 20)],
'21': [f'{i}' for i in range(21, 30)],
'31': [f'{i}' for i in range(31, 40)]}
params = {'pipeline': pipeline,
'file_path': os.path.join(path, id),
'find_files_by_marker': 's11',
'reference_channels': 'average',
'bp_filter_cutoffs': [0.1, 50],
'notch_filter_freq': 60,
'ica_components': 20,
'eog_channel': ['1L', '1R'],
'target_markers': target_markers,
'epoching_times': [-.2, .8],
'baseline_times': [-.2, 0]}
#Run the pipeline
preprocessing = Preprocessing(**params)
preprocessing.process()
electrodes=list(np.arange(0,len(preprocessing.raw.ch_names)))
preprocessing.plot_erp(electrode_index=electrodes, save_plot=True)
#Build the report
reader_note = ' '.join(['This report was produced by the QuickEEG package.'])
custom_text = ['## Note for the reader',
reader_note]
report = Report(preprocessing)
report.build_report(custom_text)
Metadata
Release files for quickeeg 0.0.14
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| quickeeg-0.0.14.tar.gz | 10.0 kB | Without provenance | Details for quickeeg-0.0.14.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| quickeeg-0.0.14-py3-none-any.whl | Python 3 | none | any | Details for quickeeg-0.0.14-py3-none-any.whl |
Total release size: 22.2 kB
Release files / quickeeg-0.0.14.tar.gz
| Download URL | quickeeg-0.0.14.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fb417deff623d7fdf213d76d74c457699e1c78847b8b80c21793c2c2463d2357
|
|
BLAKE2b-256 checksum How to use checksums |
bd6e436892511de060c2f515b13ddb22e1ea8b61a8262646cba1823dcb9540fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Release files / quickeeg-0.0.14-py3-none-any.whl
| Download URL | quickeeg-0.0.14-py3-none-any.whl |
|---|---|
| Size | 12.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
537f523247fece013aa92eecea041b72270113b4f0529cb57b2a6a52bfefcb87
|
|
BLAKE2b-256 checksum How to use checksums |
dd4292459537d00edbcd14b18785b9f5c553d542eca745a7c968fc8e7c01606d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for quickeeg 0.0.14
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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.