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 13:39] – removed 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, [[visual3d: | ||
+ | |||
+ | < | ||
+ | Shift_Frames | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== 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 is shifted forward in time, the frames at the beginning of the file have unknown values. | ||
+ | * 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 **/ | ||
+ | |||
+ | ==== 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 | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | === Example 2: Shift all analog signals using an expression === | ||
+ | |||
+ | Shift all analog signals in time based on the value of a Metric signal and replace the unknown values with **DATA_NOT_FOUND** (e.g. no value). | ||
+ | |||
+ | < | ||
+ | ! Shift Frames - the shift value METRIC:: | ||
+ | Shift_Frames | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | **NOTE:** [[visual3d: | ||
+ | |||
visual3d/documentation/pipeline/signal_commands/shift_frames.1718804345.txt.gz · Last modified: 2024/06/19 13:39 by sgranger