visual3d:documentation:pipeline:signal_commands:shift_frames
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:shift_frames [2024/06/19 12:53] – sgranger | visual3d:documentation:pipeline:signal_commands:shift_frames [2024/11/15 21:10] (current) – Brought page up to pipeline command format. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{|| | + | ===== Shift Frames ===== |
- | in some cases, | + | In some cases, |
- | shift_frames.png | + | < |
+ | Shift_Frames | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
- | the command | + | ==== Parameters ==== |
+ | |||
+ | ^ Parameter ^ Description ^ | ||
+ | | SIGNAL_TYPES | The Type(s) of the signal to be shifted. | | ||
+ | | SIGNAL_NAMES| The Name(s) of the signal to be shifted. | | ||
+ | | SIGNAL_FOLDER | The Folder(s) of the signal to be shifted. | | ||
+ | | RESULT_SUFFIX | The suffix to append to the signal' | ||
+ | | RESULT_FOLDER | The folder in which to store the shifted signal. | | ||
+ | | FRAME_SHIFT| The number of frames to shift. Can be an [[visual3d: | ||
+ | | REPLACEMENT_VALUE | The value to replace any unknown values caused by the shift. The default value is 0, except when the **Signal_Type** parameter is a **TARGET** in which case **[[visual3d: | ||
+ | |||
+ | ==== Dialog ==== | ||
+ | |||
+ | The Shift_Frames command can be edited interactively using the following dialog. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | ==== Notes ==== | ||
+ | |||
+ | * When a signal | ||
+ | * When a signal is shifted | ||
+ | * These unknown values can be specified | ||
+ | * If no **/ | ||
+ | |||
+ | ==== Examples ==== | ||
+ | |||
+ | With Visual3D' | ||
+ | |||
+ | === Example 1: Shift a single signal === | ||
+ | |||
+ | Shift the signal 1FX by one analog frame and to replace the first frame with the value -99 | ||
< | < | ||
- | shift_frames | + | Shift_Frames |
- | /signal_types=analog | + | /SIGNAL_TYPES=ANALOG |
- | ! /signal_names= | + | /SIGNAL_NAMES=1FX |
- | ! /signal_folder=original | + | ! /SIGNAL_FOLDER=ORIGINAL |
- | ! /result_suffix= | + | ! /RESULT_SUFFIX= |
- | ! /result_folder=processed | + | ! /RESULT_FOLDER=PROCESSED |
- | /frame_shift= the number of frames to shift (expression) | + | /FRAME_SHIFT=1 |
- | /replacement_value= the value to replace the unknown values caused by the shift (expression). | + | /REPLACEMENT_VALUE=-99 |
; | ; | ||
</ | </ | ||
- | * when a signal is shifted forward in time, the frames at the beginning of the file have unknown values. | + | === Example 2: Shift all analog signals using an expression === |
- | * when a signal is shifted backward in time, the frames at the end of the file have unknown values. | + | |
- | * these unknown values can be specified by the **/ | + | |
- | * if no **/ | + | |
- | for example, shift all analog signals in time based on the value of a metric | + | Shift all analog signals in time based on the value of a Metric |
< | < | ||
- | ! shift frames | + | ! Shift Frames |
- | shift_frames | + | Shift_Frames |
- | /signal_types=analog | + | /SIGNAL_TYPES=ANALOG |
- | ! /signal_names= | + | ! /SIGNAL_NAMES= |
- | ! /signal_folder=original | + | ! /SIGNAL_FOLDER=ORIGINAL |
- | ! /result_suffix= | + | ! /RESULT_SUFFIX= |
- | ! /result_folder=processed | + | ! /RESULT_FOLDER=PROCESSED |
- | /frame_shift= metric::processed::shift | + | /FRAME_SHIFT= METRIC::PROCESSED::SHIFT |
- | /replacement_value= data_not_found | + | /REPLACEMENT_VALUE= DATA_NOT_FOUND |
; | ; | ||
</ | </ | ||
- | **note:** force, cofp, and freemoment | + | **NOTE:** [[visual3d: |
- | + | ||
- | for example, to shift the signal 1fx by one analog frame and to replace the first frame with the value -99 | + | |
- | **shift_frames** | ||
- | / | ||
- | / | ||
- | ! / | ||
- | ! / | ||
- | ! / | ||
- | / | ||
- | / | ||
- | **:** | ||
- | }} |
visual3d/documentation/pipeline/signal_commands/shift_frames.1718801602.txt.gz · Last modified: 2024/06/19 12:53 by sgranger