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```

```bash

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.1.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.1-py3-none-any.whl (1.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tnbs_stim_clean-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 7eb3017eac226d279b5633edb95ae4d4ad74df82de5cca573bd4cdedcfde9b7b
MD5 09f972bed7205edc4ee052ca50e9728a
BLAKE2b-256 c353e9b403360ba81d783a844203d9ad39c3c73aa9a19e329042ee4308e5104e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for tnbs_stim_clean-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c6503ff41a7b589a310b3ee9bf5f86c2372bcc7f5775c1dd9b80db3027b82f8c
MD5 f861b60338057716f6a058afc0eeced5
BLAKE2b-256 80bd9897fb248837ffd5b9528218e24be7335f83232f7fe041d49894d37ced1e

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