visual3d:documentation:pipeline:signal_commands:interpolate
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:signal_commands:interpolate [2024/06/19 12:53] – sgranger | visual3d:documentation:pipeline:signal_commands:interpolate [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{if there are unreliable data points (residuals < 0) in any signal it is possible to interpolate these gaps in the data using a spline interpolation. | + | ====== Interpolate ====== |
- | ===== visual3d version 4 ===== | + | If there are unreliable data points (residuals < 0) in any signal it is possible to interpolate these gaps in the data using a spline interpolation. |
- | the interpolation procedure performs a least-squares fit of an nth order polynomial to k data points. | + | ==== Visual3D Version 4 ==== |
+ | |||
+ | The interpolation procedure performs a least-squares fit of an nth order polynomial to k data points. | ||
|(x1, | |(x1, | ||
Line 10: | Line 12: | ||
- | |**interpolate** | + | |**Interpolate** |
- | |**/signal_types=** |the type of signal to be processed | + | |**/Signal_Types=** |The type of signal to be processed |
- | |**/signal_names=** |the names of the signals to be processed | + | |**/Signal_Names=** |The names of the signals to be processed |
- | |**/signal_folder=** |the name of the signal folder | + | |**/Signal_Folder=** |The name of the signal folder |
- | |**/num_fit=** |the number of frames of data before and after the " | + | |**/Num_Fit=** |The number of frames of data before and after the " |
- | |**/polynomial_order=**|the order of the polynomial used. | | + | |**/Polynomial_Order=**|The order of the polynomial used. | |
- | |**/maximum_gap=** |the maximum number of frames of data that can be replaced with interpolated values. | + | |**/Maximum_Gap=** |The maximum number of frames of data that can be replaced with interpolated values. |
- | interpolatedlg.png | + | {{: |
- | dialog | + | Dialog |
- | ==== using an expression in version | + | === Using an expression in Version |
- | this is considerable more klunky because it requires 3 commands instead of 1: | + | This is considerable more klunky because it requires 3 commands instead of 1: |
- | **evaluate_expression** | + | **Evaluate_Expression** |
- | /expression=0.1*parameters::point::rate | + | /EXPRESSION=0.1*PARAMETERS::POINT::RATE |
- | /result_name=rate | + | /RESULT_NAME=RATE |
- | /result_type=metric | + | /RESULT_TYPE=METRIC |
- | /result_folder=temp | + | /RESULT_FOLDER=TEMP |
**;** | **;** | ||
- | **set_pipeline_parameter_to_data_value** | + | **Set_Pipeline_Parameter_To_Data_Value** |
- | /parameter_name=gap | + | /PARAMETER_NAME=GAP |
- | /signal_types=metric | + | /SIGNAL_TYPES=METRIC |
- | /signal_names=rate | + | /SIGNAL_NAMES=RATE |
- | /signal_folder=temp | + | /SIGNAL_FOLDER=TEMP |
- | ! /signal_components=all_components | + | ! /SIGNAL_COMPONENTS=ALL_COMPONENTS |
**;** | **;** | ||
- | **interpolate** | + | **Interpolate** |
- | /signal_types=target | + | /SIGNAL_TYPES=TARGET |
- | ! /signal_names= | + | ! /SIGNAL_NAMES= |
- | ! /signal_folder=original | + | ! /SIGNAL_FOLDER=ORIGINAL |
- | ! /result_suffix= | + | ! /RESULT_SUFFIX= |
- | ! /result_folder=processed | + | ! /RESULT_FOLDER=PROCESSED |
- | /maximum_gap=::gap | + | /MAXIMUM_GAP=::GAP |
- | ! /num_fit=3 | + | ! /NUM_FIT=3 |
- | ! /polynomial_order=3 | + | ! /POLYNOMIAL_ORDER=3 |
**;** | **;** | ||
- | ===== visual3d version | + | ==== Visual3D Version |
- | in version 5 we permit the three numerical parameters to have expressions. | + | In version 5 we permit the three numerical parameters to have expressions. |
- | **interpolate** | + | **Interpolate** |
- | /signal_types=target | + | /SIGNAL_TYPES=TARGET |
- | ! /signal_names= | + | ! /SIGNAL_NAMES= |
- | ! /signal_folder=original | + | ! /SIGNAL_FOLDER=ORIGINAL |
- | ! /result_suffix= | + | ! /RESULT_SUFFIX= |
- | ! /result_folder=processed | + | ! /RESULT_FOLDER=PROCESSED |
- | /maximum_gap=0.1*parameters::point::rate | + | /MAXIMUM_GAP=0.1*PARAMETERS::POINT::RATE |
- | ! /num_fit=3 | + | ! /NUM_FIT=3 |
- | ! /polynomial_order=3 | + | ! /POLYNOMIAL_ORDER=3 |
**;** | **;** | ||
- | interpolatedlg2.jpg | + | {{: |
- | ==== using an expression in version 5 ==== | + | === Using an expression in version 5 === |
+ | |||
+ | Define the maximum size of the gap based on the POINT frame rate. | ||
+ | {{: | ||
- | define the maximum size of the gap based on the point frame rate. | ||
- | interpolatedlg3.jpg | ||
- | }}}}}} |
visual3d/documentation/pipeline/signal_commands/interpolate.1718801591.txt.gz · Last modified: 2024/06/19 12:53 by sgranger