mini-mne
A simplified wrapper around MNE-Python for teaching EEG data analysis. mini-mne exposes only the essential classes and methods, reducing the cognitive load for learners who are new to EEG preprocessing and analysis.
Installation
pip install --upgrade mini-mne
Requires Python ≥ 3.11.
Usage
mini-mne follows the standard EEG analysis pipeline: load continuous data → epoch around events → compute ERPs.
from mini_mne import SimpleRaw, SimpleEpoch, SimpleEvoked, plot_evokeds
# Load data (downloads the MNE ERP-CORE example dataset if no path is given)
raw = SimpleRaw()
# Inspect the data
print(raw)
print(raw.sampling_frequency) # Hz
print(raw.channel_names)
print(raw.duration) # seconds
# Preprocess
raw = raw.filter(l_freq=0.1, h_freq=40.0)
raw = raw.re_reference()
# Extract events from annotations
events, event_id = raw.get_events()
# Epoch the data
epochs = SimpleEpoch(raw, events, event_id,
tmin=-0.2, tmax=0.8,
baseline=(-0.2, 0),
reject={"eeg": 100e-6})
print(epochs)
print(epochs.event_types)
print(epochs.dropped_epochs)
# Compute ERPs
evokeds = epochs.average(by_event_type=True)
# Plot
plot_evokeds(evokeds)
Classes
| Class | Wraps | Purpose |
|---|---|---|
SimpleRaw |
mne.io.Raw |
Continuous EEG data |
SimpleEpoch |
mne.Epochs |
Segmented data around events |
SimpleEvoked |
mne.Evoked |
Averaged ERP |
Licence
mini-mne is licenced under the BSD-3-Clause licence.
Acknowledgements
mini-mne is built on top of MNE-Python. The default example dataset is from the ERP-CORE dataset (Kappenman et al., 2021).
Metadata
Release files for mini-mne 0.1.5
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 |
|---|---|---|---|---|
| mini_mne-0.1.5.tar.gz | 8.1 kB | Without provenance | Details for mini_mne-0.1.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mini_mne-0.1.5-py3-none-any.whl | Python 3 | none | any | Details for mini_mne-0.1.5-py3-none-any.whl |
Total release size: 19.2 kB
Release files / mini_mne-0.1.5.tar.gz
| Download URL | mini_mne-0.1.5.tar.gz |
|---|---|
| Size | 8.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3c1a280b2d4452e50fe0f9d76c0c6ebf653bc9cc256e0a6f263da88b7d37dfb7
|
|
BLAKE2b-256 checksum How to use checksums |
af87e5c837837b15c22f0d20f96b2fbd4fa48900968d464936156db08a4c9461
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / mini_mne-0.1.5-py3-none-any.whl
| Download URL | mini_mne-0.1.5-py3-none-any.whl |
|---|---|
| Size | 11.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
697112460df39877b87653ad120ec00c3e92ecdbc26548851e63dfdc96639725
|
|
BLAKE2b-256 checksum How to use checksums |
9c76a97b45ab99566a23db14a5a2519b0fc83f72604e484049fb82c70cd772e1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for mini-mne 0.1.5
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.