Skip to main content

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


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

tnbsclean-0.1.8-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file tnbsclean-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: tnbsclean-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.2

File hashes

Hashes for tnbsclean-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 7531cf6d7cbee935edecb6634567a36388c90825baec286ca5e1a5d47fd2df91
MD5 eef4bf54bcf0edfa20c602b51e1e1e77
BLAKE2b-256 de4734cd74c8179ec9d21722c871ff93018fd15ca977b4c4373eb7e6996f7cf6

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