Table of Contents
Set Data To New Values
The Set Data To New Values command can be used to set a range of data points to a new value. This command replaces the following commands:
Set_Frames_To_Zero
Set_Frames_To_New_Values
Pipeline Command
The Set Data To New Values command can be found in the Pipeline Workshop within the Signal Process folder as so:
Set_Data_To_New_Values /SIGNAL_TYPES= ! /SIGNAL_FOLDER=ORIGINAL ! /SIGNAL_NAMES= ! /SIGNAL_COMPONENTS=ALL_COMPONENTS ! /RESULT_TYPES= ! /RESULT_FOLDERS=PROCESSED ! /RESULT_SUFFIX= ! /EVENT_SEQUENCE= ! /EXCLUDE_EVENTS= ! /EVENT_INSTANCE=0 ! /START_FRAME= ! /END_FRAME= ! /USE_POINT_RATE=TRUE ! /REPLACEMENT_VALUES=NO_DATA ! /THRESHOLD_HIGH=NO_DATA ! /THRESHOLD_LOW=NO_DATA ! /SET_DATA_AT_SINGLE_EVENT=FALSE ;
Command Parameters
| Set_Data_To_New_Values | |
| /SIGNAL_TYPES= | The type of signal to be processed |
| /SIGNAL_NAMES= | The names of the signals to be processed |
| /SIGNAL_FOLDER= | The name of the signal folder |
| /SIGNAL_COMPONENTS= | The signal components to be modified |
| /RESULT_TYPES= | What type of signal the results will be |
| /RESULT_SUFFIX= | Optional Suffix to Add to the Result Name |
| /RESULT_FOLDER= | The Folder for the Results |
| /START_FRAME= | Start Frame |
| /END_FRAME= | End Frame |
| /EVENT_SEQUENCE= | A list of events (separated by “+” signs). For example, LHS+RTO |
| /EXCLUDE_EVENTS= | Exclude Sequences containing these Events. |
| /USE_POINT_RATE= | (true or false) Explicitly uses the motion capture point rate. |
| /REPLACEMENT_VALUES= | The new signal value at each frame |
| /THRESHOLD_HIGH= | Optional. Replace only if signal values is greater that this threshold |
| /THRESHOLD_LOW= | Optional. Replace only if signal values is greater that this threshold |
| /SET_DATA_AT_SINGLE_EVENT= | True or False: Set data to certain value only at a certain event |
Dialog
Notes
Set the frames of data from start_frame to end_frame and/or from Start Event to End Event.
If a TARGET signal is set to DATA_NOT_FOUND, all components of the signal are set to DATA_NOT_FOUND.
Replacement_Value, Threshold_High, and Threshold_Low can be Expressions
Example: Using a Metric values as the low threshold
Example: Change missing data to zero
Visual3D has a special number which we refer to as DATA_NOT_FOUND.
The actual value used internally is -999999
The following command properties will change every occurrence of DATA_NOT_FOUND to 0
Set_Data_To_New_Values /SIGNAL_TYPES= ! /SIGNAL_FOLDER=ORIGINAL ! /SIGNAL_NAMES= ! /SIGNAL_COMPONENTS=ALL_COMPONENTS ! /RESULT_TYPES= ! /RESULT_FOLDERS=PROCESSED ! /RESULT_SUFFIX= ! /EVENT_SEQUENCE= ! /EXCLUDE_EVENTS= ! /EVENT_INSTANCE=0 /START_FRAME=1 /END_FRAME=EOF ! /USE_POINT_RATE=TRUE /REPLACEMENT_VALUES=0 /THRESHOLD_HIGH=DATA_NOT_FOUND /THRESHOLD_LOW=-999998 ! /SET_DATA_AT_SINGLE_EVENT=FALSE ;




