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/07/16 19:32] – created 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 ====== | + | ===== Shift Frames |
- | || | + | In some cases, |
- | + | ||
- | In some cases, | + | |
- | + | ||
- | {{Shift_Frames.png}} | + | |
- | + | ||
- | The command **Shift_Frames** shifts a signal forward/ | + | |
< | < | ||
Shift_Frames | 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 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. | * 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 **/ | * These unknown values can be specified by the **/ | ||
- | * If no **/ | + | * If no **/ |
- | For example, 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). | + | ==== 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). | ||
< | < | ||
Line 41: | Line 76: | ||
</ | </ | ||
- | **NOTE:** FORCE, COFP, and FREEMOMENT signals are derived from ANALOG signals, so these values cannot be shifted; the Analog | + | **NOTE: |
- | + | ||
- | 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.1721158327.txt.gz · Last modified: 2024/07/16 19:32 by sgranger