User Tools

Site Tools


visual3d:documentation:emg:processing:onset_based_on_tko

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:emg:processing:onset_based_on_tko [2024/06/14 17:23] – created sgrangervisual3d:documentation:emg:processing:onset_based_on_tko [2024/07/17 15:45] (current) – created sgranger
Line 1: Line 1:
-|===== Contents =====\\ \\ \\ \\ * [[#General_Processing_Steps|1 General Processing Steps]]\\ * [[#Helpful_Pipeline_Functions|2 Helpful Pipeline Functions]]\\ * [[#Meta_Commands|3 Meta Commands]]\\ * [[#Removing_Noise_from_EMG_Signals|4 Removing Noise from EMG Signals]]\\ * [[#Normalization_and_Scaling_Methods|5 Normalization and Scaling Methods]]|+====== Onset Based on TKO ======
  
-===== General Processing Steps =====+==== General Processing Steps ====
  
 Processing EMG signals typically follows some variation of the following steps: Processing EMG signals typically follows some variation of the following steps:
Line 14: Line 14:
 Visual3D has a number of helpful pipeline functions (linked below) that can automate the general processing steps. Visual3D has a number of helpful pipeline functions (linked below) that can automate the general processing steps.
  
-===== Helpful Pipeline Functions =====+==== Helpful Pipeline Functions ====
  
 The following links will redirect you to pages detailing the use of Visual3D pipeline commands that are commonly used in the general processing of EMG data: The following links will redirect you to pages detailing the use of Visual3D pipeline commands that are commonly used in the general processing of EMG data:
Line 25: Line 25:
   * [[Visual3D:Documentation:Pipeline:File_Commands:Assign_Tags_To_File|Assign Tags To File]]   * [[Visual3D:Documentation:Pipeline:File_Commands:Assign_Tags_To_File|Assign Tags To File]]
  
-===== Meta Commands =====+==== Meta Commands ====
  
 This page deals with several examples of using Visual3D [[Visual3D:Documentation:Pipeline:Meta_Commands:Meta_Commands_Overview|Meta-Commands]]. Meta commands are essentially a way for you to write and upload your own function to the Visual3D pipeline. They have the file extension **".v3m"**. Meta commands must be stored in a folder labelled **Meta-Commands**, which should be located in the Visual3D **Plugins** folder. The Plugins folder may not exist, so you may have to create it yourself. If you receive errors after running a meta-command, navigate to **Edit > Preferences** in Visual3D and check that the directory of the Plugins folder matches the location Visual3D is looking for it in. Restart Visual3D before running the command again. This page deals with several examples of using Visual3D [[Visual3D:Documentation:Pipeline:Meta_Commands:Meta_Commands_Overview|Meta-Commands]]. Meta commands are essentially a way for you to write and upload your own function to the Visual3D pipeline. They have the file extension **".v3m"**. Meta commands must be stored in a folder labelled **Meta-Commands**, which should be located in the Visual3D **Plugins** folder. The Plugins folder may not exist, so you may have to create it yourself. If you receive errors after running a meta-command, navigate to **Edit > Preferences** in Visual3D and check that the directory of the Plugins folder matches the location Visual3D is looking for it in. Restart Visual3D before running the command again.
  
-===== Removing Noise from EMG Signals =====+==== Removing Noise from EMG Signals ====
  
 **Download the [[https://www.has-motion.com/download/examples/EMG/EMG_NoiseReduction_Example.zip|EMG_NoiseReductionExample]] here.** **Download the [[https://www.has-motion.com/download/examples/EMG/EMG_NoiseReduction_Example.zip|EMG_NoiseReductionExample]] here.**
Line 117: Line 117:
 **3. Integrating EMG Signals:** Integrating EMG signals can be useful for quantifying muscle activity, comparing muscle activity between conditions, and assessing fatigue. The result of integrating an EMG signal (an iEMG) is a single metric value of microvolts or millivolts. While this isn't strictly a noise reduction method, it does have applications once a signal has been filtered. An example of using Visual3D's pipeline commands to integrate an EMG signal can be found here: [[Visual3D:Documentation:EMG:Processing:Normalize_EMG_Signal_to_Maximum_Within_Gait_Cycle|EMG Integrate]]. **3. Integrating EMG Signals:** Integrating EMG signals can be useful for quantifying muscle activity, comparing muscle activity between conditions, and assessing fatigue. The result of integrating an EMG signal (an iEMG) is a single metric value of microvolts or millivolts. While this isn't strictly a noise reduction method, it does have applications once a signal has been filtered. An example of using Visual3D's pipeline commands to integrate an EMG signal can be found here: [[Visual3D:Documentation:EMG:Processing:Normalize_EMG_Signal_to_Maximum_Within_Gait_Cycle|EMG Integrate]].
 **4. Removing Background Noise Example:** The [[Visual3D:Documentation:EMG:Processing_Tools|Removing Background Noise]] page shows an example of using the Visual3D pipeline and Meta Commands to implement a noise reduction algorithm. The algorithm finds the mean of the data, rectifies the data around a mean baseline, and calculates threshold values to store as a global variable. **4. Removing Background Noise Example:** The [[Visual3D:Documentation:EMG:Processing_Tools|Removing Background Noise]] page shows an example of using the Visual3D pipeline and Meta Commands to implement a noise reduction algorithm. The algorithm finds the mean of the data, rectifies the data around a mean baseline, and calculates threshold values to store as a global variable.
-===== Normalization and Scaling Methods =====+==== Normalization and Scaling Methods ====
  
 Normalizing data is a useful transformation for comparing signals across groups of data. This section discusses several methods of using Visual3D's pipeline features to normalize and scale EMG signals after they have been filtered. Normalizing data is a useful transformation for comparing signals across groups of data. This section discusses several methods of using Visual3D's pipeline features to normalize and scale EMG signals after they have been filtered.
Line 143: Line 143:
  
 Sample files and pipelines are available [[Visual3D:Documentation:EMG:Filtering:Removing_DC_Bias|here]]. Sample files and pipelines are available [[Visual3D:Documentation:EMG:Filtering:Removing_DC_Bias|here]].
-|**3. Normalize to Maximum within Gait Cycle:** The image to the (right) shows four "checkpoints" in normalizing a signal to the maximum within a gait cycle.\\ \\ * First graph: raw EMG signal with gait events RHS (pink) and RTO (purple). These correspond to the signal within ANALOG::ORIGINAL in the Sample_Workspace.cmz download.\\ * Second graph: the linear envelope (ANALOG::ENVELOPE) showing the rectified and smoothed signal with maximums A (~0.76) and B (~0.69).\\ * Third graph: all frames within each gait cycle set to the maximum value, and all other frames are set to zero.\\ * Fourth graph: the linear envelope signal is divided by the maximum of the corresponding gait cycle. Notice how the peaks of both cycles are now 1, and all values outside the defined event sequence are set to "data not found".\\ \\ Sample files and pipelines are available [[Visual3D:Documentation:EMG:Processing:Normalize_EMG_to_MVC|here]].  |  [[File:EMG_Normalized_Gait_Cycle.png|{{/images/thumb/2/22/EMG_Normalized_Gait_Cycle.png/500px-EMG_Normalized_Gait_Cycle.png?500x354}}]]|+|**3. Normalize to Maximum within Gait Cycle:** The image to the (right) shows four "checkpoints" in normalizing a signal to the maximum within a gait cycle.\\ \\ * First graph: raw EMG signal with gait events RHS (pink) and RTO (purple). These correspond to the signal within ANALOG::ORIGINAL in the Sample_Workspace.cmz download.\\ * Second graph: the linear envelope (ANALOG::ENVELOPE) showing the rectified and smoothed signal with maximums A (~0.76) and B (~0.69).\\ * Third graph: all frames within each gait cycle set to the maximum value, and all other frames are set to zero.\\ * Fourth graph: the linear envelope signal is divided by the maximum of the corresponding gait cycle. Notice how the peaks of both cycles are now 1, and all values outside the defined event sequence are set to "data not found".\\ \\ Sample files and pipelines are available [[Visual3D:Documentation:EMG:Processing:Normalize_EMG_to_MVC|here]].  |  {{:EMG_Normalized_Gait_Cycle.png}}|
  
- 
-Retrieved from "" 
  
  
visual3d/documentation/emg/processing/onset_based_on_tko.1718385782.txt.gz · Last modified: 2024/06/14 17:23 by sgranger