tnbs_stim_clean
Description
tnbs_stim_clean provides functionality to clean EEG, MEG, and other time-series data from mne-python by removing unwanted stimuli using the tnbs_stim_clean 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 tnbs_stim_clean
Example use
import tnbs_stim_clean 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)
Metadata
Release files for tnbs-stim-clean 0.1.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tnbs_stim_clean-0.1.6.tar.gz | 1.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tnbs_stim_clean-0.1.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.2 kB
Release files / tnbs_stim_clean-0.1.6.tar.gz
| Download URL | tnbs_stim_clean-0.1.6.tar.gz |
|---|---|
| Size | 1.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3977d984ad4cc18a955629ebd1f356128147f4710c5fc35500940b357bcc1ded
|
|
BLAKE2b-256 checksum How to use checksums |
5865a88515aa7ad1927344ed41632c55d03284bef1430d111017ece50589f629
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|
Release files / tnbs_stim_clean-0.1.6-py3-none-any.whl
| Download URL | tnbs_stim_clean-0.1.6-py3-none-any.whl |
|---|---|
| Size | 1.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4d17e40d0927e4872ccabaa1e9d85fe8929f2b5a6f770d827e0895ef9f9023b7
|
|
BLAKE2b-256 checksum How to use checksums |
5310a2acd07738e0b4d0f32c18eb31a6a2ae1d28d6ebc1eb34833046bab87616
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.11.2
|