visual3d:documentation:pipeline:metric_commands:metric_compute_power_from_dft_coefficients
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:metric_commands:metric_compute_power_from_dft_coefficients [2024/07/12 13:30] – removed sgranger | visual3d:documentation:pipeline:metric_commands:metric_compute_power_from_dft_coefficients [2025/09/22 19:03] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Metric Compute Power From DFT Coefficients ====== | ||
+ | |||
+ | The power in a signal can be computed from the [[Visual3D: | ||
+ | |||
+ | The form of the DFT is as follows: | ||
+ | |||
+ | p(t)= p0 + p1 sin(**w** t) + p2 cos(**w** t) + p3 sin(2**w** t) + p4 cos(2 **w** t) + .... | ||
+ | |||
+ | where **w** = 2 * PI * Base_Frequency | ||
+ | |||
+ | the power at a given frequency is given as the sum of the squares of the coefficients. | ||
+ | |||
+ | For example, the power at the Base_Frequency is given by (p1^2 + p2^2) the power at 2 * Base_Frequency is given by (p3^2 + p3^2) | ||
+ | |||
+ | This can be useful when looking at muscle related signals like EMGs. | ||
+ | |||
+ | ====Pipeline Command==== | ||
+ | |||
+ | The command below is as seen on the Visual3D application, | ||
+ | |||
+ | < | ||
+ | Metric_Compute_Power_From_DFT_Coefficients | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Additionally (starting in Visual3D Version 5) the Mean and Median Frequency are computed. | ||
+ | |||
+ | These two metrics are commonly used to describe changes related to muscle fatigue. | ||
+ | |||
+ | ====Command Parameters==== | ||
+ | - Table with parameters and descriptions (include link to parameter wiki pages if they are available) | ||
+ | |||
+ | The following table shows the command parameters and descriptions: | ||
+ | |||
+ | |**SIGNAL_TYPES**|**Specify Signal Types**| | ||
+ | |**SIGNAL_FOLDER**|**Specify folder containing signals**| | ||
+ | |**SIGNAL_NAMES**|**Specify names of signals to be processed**| | ||
+ | |**RESULT_FOLDER**|**Specify destination folder for results**| | ||
+ | |**RESULT_SUFFIX**|**Specify suffix attached to resulting signals**| | ||
+ | |||
+ | ====Examples==== | ||
+ | |||
+ | ===Simple example=== | ||
+ | |||
+ | ===Complex example== | ||
+ | |||
+ | ====Notes==== | ||
+ | |||
+ | === Signal Components === | ||
+ | |||
+ | The resulting Metric signal has two components. | ||
+ | |||
+ | The first component is the frequency. | ||
+ | The second component is the power at the associated frequency. | ||
+ | === Median Frequency === | ||
+ | |||
+ | The Median Frequency is the Frequency at which the Integral of the Power Spectrum to that Frequency equals half the Integral of the Total Power Spectrum (e.g. divides the power spectrum in two) | ||
+ | |||
+ | {{: | ||
+ | |||
+ | === Mean Frequency === | ||
+ | |||
+ | The Mean Frequency is the Ratio of the Integral of the Frequency*Power over the Integral of the Power. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | === _STATS === | ||
+ | |||
+ | An additional result signal appended with _STATS is also created. | ||
+ | |||
+ | This signal contains the median frequency (component 1) and mean frequency (component 2) | ||
+ | |||
+ | |||
visual3d/documentation/pipeline/metric_commands/metric_compute_power_from_dft_coefficients.1720791006.txt.gz · Last modified: 2024/07/12 13:30 by sgranger