visual3d:documentation:pipeline:metric_commands:metric_compute_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_dft_coefficients [2024/06/19 12:51] – sgranger | visual3d:documentation:pipeline:metric_commands:metric_compute_dft_coefficients [2025/06/20 20:09] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{the discrete fourier transform of a signal | + | ====== Metric Compute DFT Coefficients ====== |
- | this command computes | + | The Discrete Fourier Transform of a Signal |
- | the form of the dft is as follows: | + | This command computes a metric signal containing |
+ | |||
+ | 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) + .... | 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 | + | where **w** = 2 * PI * Base_Frequency |
+ | |||
+ | The distinct difference between a DFT and an FFT is that the DFT allows the user the option to specify the base frequency. | ||
+ | |||
+ | This is useful if you want to compare the coefficients across trials and/or across subjects. It also means that the base frequency has physical meaning, such as stride frequency. | ||
- | the distinct difference between a dft and an fft is that the dft allows the user the option to specify the base frequency. | + | See also [[Visual3D: |
- | this is useful if you want to compare the coefficients across trials and/or across subjects. it also means that the base frequency has physical meaning, such as stride frequency. | + | {{: |
- | see also [[visual3d: | + | === Pipeline Command === |
- | computedftdialog.jpg | + | < |
+ | Metric_Compute_DFT_Coefficients | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
- | ==== pipeline command ==== | + | === Signal_Components |
- | **metric_compute_dft_coefficients** | + | Each component of the signal will generate a metric signal containing the coefficients for that component of the signal. |
- | / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | !/ | + | |
- | !/ | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | ! / | + | |
- | / | + | |
- | **;** | + | |
- | ==== signal_components ==== | + | |
- | each component | + | === Number |
- | ==== number of frequencies ==== | + | The parameter Num_Frequencies determines the number of coefficients that will be stored in the resulting metric signal. |
- | the parameter num_frequencies determines | + | If Num_Frequencies is empty, |
- | if num_frequencies is empty, the number is determined consistent with a standard dft or fft. | + | Num_Frequencies = 1 + NumFrames/2 |
- | num_frequencies | + | where the Maximum Number of Frequencies |
- | where the maximum number of frequencies | + | === Event_Sequence === |
- | ==== event_sequence ==== | + | The [[Visual3D: |
- | the [[visual3d: | + | === Base_Frequency === |
- | ==== base_frequency ==== | + | If BASE_FREQUENCY is empty, |
- | if base_frequency is empty, | + | Frequency= SamplingRate/ |
+ | Else | ||
- | frequency= samplingrate/ | + | Frequency= Numerical value or Expression |
- | else | + | === Resulting Metric Signal === |
- | frequency= numerical value or expression | + | The metric signal |
- | ==== resulting | + | |
- | the metric | + | The Base_Frequency and coefficients are stored as components of the signal. |
- | the base_frequency and coefficients | + | If there are multiple ranges |
- | if there are multiple ranges of data, there will be a " | + | see also : [[Visual3D: |
- | see also : [[visual3d: | ||
- | }} |
visual3d/documentation/pipeline/metric_commands/metric_compute_dft_coefficients.1718801475.txt.gz · Last modified: 2024/06/19 12:51 by sgranger