Skip to main content

No project description provided

Project description

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

# 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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tnbs_stim_clean-0.1.4.tar.gz (1.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tnbs_stim_clean-0.1.4-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

Details for the file tnbs_stim_clean-0.1.4.tar.gz.

File metadata

  • Download URL: tnbs_stim_clean-0.1.4.tar.gz
  • Upload date:
  • Size: 1.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for tnbs_stim_clean-0.1.4.tar.gz
Algorithm Hash digest
SHA256 d85c7cd9323595d5ae0506eba161b5993437313615550ca5556fd5964e6d5906
MD5 8a691b2d0117d83ed2ce0eab6faa7b21
BLAKE2b-256 f17a7d5d9dd1f51ed2fe471dc43c600b1d5a0a51fbfdd27a8c7249431afdb9de

See more details on using hashes here.

File details

Details for the file tnbs_stim_clean-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for tnbs_stim_clean-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0e10f9020a6cc6ef708f7b96e58759162518ace1ffe79583db550a7e112defa4
MD5 8f5b9e46ecf6c9bde4d440b4ef23d1a4
BLAKE2b-256 95205be92e44b03ba44001992c2902c7dcc84c8140d34b2e8d193696ccd9cb11

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page