No project description provided
Project description
tnbsclean
Description
tnbsclean provides functionality to clean EEG, MEG, and other time-series data from mne-python by removing unwanted stimuli using the tnbsclean function. This is especially useful in preprocessing to remove noise or artifacts from signals caused by stimuli events.
Installation
You can install the package via pip from PyPI:
pip install tnbsclean
Example use
import tnbsclean as tnbs
# Example parameters
raw # Raw time series data in MNE's raw object format
half_win = 100 # Half window size around each stimulus (in samples) that will be chopped away from the artifact peak point
threshold = 0.0001 # Threshold above which stimulus is considered significant
# Apply stimulus cleaning
raw_cleaned = tnbs.stim_clean(raw, half_win, threshold)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tnbsclean-0.2.1.tar.gz.
File metadata
- Download URL: tnbsclean-0.2.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f436f25bfd014bddc6f9076fba4d22e4c23fbe937bd8ade76f235c8427e5ed35
|
|
| MD5 |
61a1708b99fc09e8d175fa56f4dfd77e
|
|
| BLAKE2b-256 |
ad86a846633cc23996e22ba61e122dd490cefeb8f82c825f11fdcbecae2ddc03
|
File details
Details for the file tnbsclean-0.2.1-py3-none-any.whl.
File metadata
- Download URL: tnbsclean-0.2.1-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
289c00a401c8713fe210cf075c29c91517c0ae8e996df3e535bd2307ed9c415e
|
|
| MD5 |
b92d4a74b14420db87f75d4d26b22adb
|
|
| BLAKE2b-256 |
74619c4ef84b6cb6592c5282e6c6967ab4d743744d7dd4a8a6c46266759b946f
|