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 [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
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. | + | 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. | + | This is useful if you want to compare the coefficients across trials and/or across subjects. |
- | see also [[visual3d:documentation:pipeline:metric_commands:metric_compute_power_from_dft_coefficients|compute power from dft coefficients]] | + | See also [[Visual3D:Documentation:Pipeline:Metric_Commands:Metric_Compute_Power_From_DFT_Coefficients|Compute Power from DFT coefficients]] |
- | computedftdialog.jpg | + | {{: |
- | ==== pipeline command ==== | + | === Pipeline Command |
- | **metric_compute_dft_coefficients** | + | **Metric_Compute_DFT_Coefficients** |
- | /signal_types= | + | /SIGNAL_TYPES= |
- | ! /signal_names= | + | ! /SIGNAL_NAMES= |
- | ! /signal_folder=original | + | ! /SIGNAL_FOLDER=ORIGINAL |
- | ! /signal_components=all_components | + | ! /SIGNAL_COMPONENTS=ALL_COMPONENTS |
- | ! /result_suffix=_dft | + | ! /RESULT_SUFFIX=_DFT |
- | ! /result_folder=dft | + | ! /RESULT_FOLDER=DFT |
- | !/[[visual3d:documentation:c3d_signal_types:event_label_data_type#event_sequence|event_sequence]]= | + | !/[[Visual3D:Documentation:C3D_Signal_Types:EVENT_LABEL_Data_Type#Event_Sequence|EVENT_SEQUENCE]]= |
- | !/[[visual3d:documentation:c3d_signal_types:event_label_data_type#exclude_events|exclude_events]]= | + | !/[[Visual3D:Documentation:C3D_Signal_Types:EVENT_LABEL_Data_Type#Exclude_Events|EXCLUDE_EVENTS]]= |
- | ! /start_frame= | + | ! /START_FRAME= |
- | ! /end_frame= | + | ! /END_FRAME= |
- | ! /use_point_rate=true | + | ! /USE_POINT_RATE=TRUE |
- | ! /base_frequency= | + | ! /BASE_FREQUENCY= |
- | /num_frequencies=4 | + | /NUM_FREQUENCIES=4 |
**;** | **;** | ||
- | ==== signal_components ==== | + | === Signal_Components |
+ | |||
+ | Each component of the signal will generate a metric signal containing the coefficients for that component of the signal. | ||
- | 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