User Tools

Site Tools


visual3d:documentation:pipeline:metric_commands:metric_compute_dft_coefficients

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:pipeline:metric_commands:metric_compute_dft_coefficients [2025/09/17 19:25] wikisysopvisual3d:documentation:pipeline:metric_commands:metric_compute_dft_coefficients [2025/09/23 15:08] (current) – [Examples] wikisysop
Line 58: Line 58:
  
 ====Examples==== ====Examples====
-===Simple example===+===Simple example: Compute DFT coefficients for Analog signals===
  
-Showing functionality of the command, using a diagram possibly to show output.+One of the primary applications of the **Compute DFT Coefficients** command is to perform analysis of analog signals like force readings and EMGs. Here we compute the DFT coefficients for a folder containing EMG and force plate data.
  
-===Complex example===+Start by identifying the name and location of the intended folder, this can be done in the **Signals and Events** tab.
  
-Combine with other commands and show step-by-step process for frequent use case+{{:visual3d:documentation:pipeline:metric_commands:dft_tutorial_folder.png?250|}} 
 + 
 +Now, add the **Compute DFT Coefficients** command to your pipeline and modify it to include the intended folder, with the event sequence defined for the right stance phase. It should look something like this: 
 + 
 +<code> 
 +Metric_Compute_DFT_Coefficients 
 +/SIGNAL_TYPES=ANALOG 
 +/SIGNAL_FOLDER=ORIGINAL 
 +/SIGNAL_NAMES=EMG* 
 +! /SIGNAL_COMPONENTS=ALL_COMPONENTS 
 +/RESULT_FOLDER=DFT 
 +! /RESULT_SUFFIX=_DFT 
 +/EVENT_SEQUENCE=RON+ROFF 
 +! /EXCLUDE_EVENTS= 
 +! /START_FRAME= 
 +! /END_FRAME= 
 +! /BASE_FREQUENCY= 
 +! /NUM_FREQUENCIES=4 
 +
 +</code> 
 + 
 +Click **Execute Pipeline** and navigate back to the **Signals and Events** tab. You should now see a **DFT** folder within the **Metric** folder containing the coefficients for each processed signal. 
 +===Complex example===
  
 +To see how this command can be used to compute EMG power data please go to [[Visual3D:Documentation:Pipeline:Metric_Commands:Metric_Compute_Power_From_DFT_Coefficients|Compute Power from DFT coefficients]].
visual3d/documentation/pipeline/metric_commands/metric_compute_dft_coefficients.1758137158.txt.gz · Last modified: 2025/09/17 19:25 by wikisysop