visual3d:documentation:pipeline:event_commands:event_tpr_file
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:event_commands:event_tpr_file [2024/07/17 15:35] – removed sgranger | visual3d:documentation:pipeline:event_commands:event_tpr_file [2025/04/28 18:43] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | =====Event TPR File===== | ||
+ | |||
+ | =====Overview===== | ||
+ | The Event_TPR_File command is used to match a pre-saved signal pattern to a signal in the | ||
+ | current selected trial. When the shape of the signal matches the pattern, an event is created at that frame. | ||
+ | * It is typically used to validate and test pattern recognition templates when build TPR files for broader use across multiple trials. | ||
+ | * The signal that the pattern is being matched to must exist in the trial. | ||
+ | |||
+ | =====Pipeline Command===== | ||
+ | The command below is as seen on the Visual3D application, | ||
+ | |||
+ | < | ||
+ | Event_TPR_File | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | /FILE_NAME= | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | =====Command Parameters===== | ||
+ | The following table shows the command parameters and descriptions: | ||
+ | |**Parameter** | ||
+ | |**/ | ||
+ | |**!/ | ||
+ | |**/ | ||
+ | |**/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**!/ | ||
+ | |**/ | ||
+ | |**!/ | ||
+ | |||
+ | =====Dialog===== | ||
+ | The dialog for this command simplifies pattern-based event creation: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Interface elements: | ||
+ | * **TPR File**: A browse option to load in the pattern file. | ||
+ | * **Event Name**: Define the event label to be generated. | ||
+ | * **Pattern Components to Match**: Select X, Y, and/or Z direction. | ||
+ | * **Tolerance**: | ||
+ | |||
+ | =====Examples===== | ||
+ | The following example will go through the use of the Event_TPR_File command within the Visual3D application. | ||
+ | |||
+ | ====Example 1: Assigning Events to Event-less Trial based on TPR==== | ||
+ | |||
+ | This command is not as intuitive for use as the Event_TPR_Signal when it comes to performing TPR on and placing events on specified signals. | ||
+ | * It is more useful for assigning events to the whole file if you have already generated a .tps file (target pattern signal) or you could also simply use events from another .c3d, like Event_TPR_Signal. | ||
+ | * An important thing to note is that this command is dependent on what is saved in the TPR file - which must be done properly using **Event_TPR_Signal** or **Event_Save_TPR_Signal** | ||
+ | |||
+ | The following steps can be taken for this example: | ||
+ | |||
+ | **1.** Make sure that you have a valid TPR file with the events and make sure that the same signal also exists in the current .c3d which has no events. | ||
+ | |||
+ | **2.** In this example, a .c3d file will be used which has ALL automatically detected gait events. | ||
+ | |||
+ | **3.** The following information can be entered, this is transferring the LHS events from the user selected file to the signal which was selected to be L Hip Angle. | ||
+ | |||
+ | |{{: | ||
+ | Event_TPR_File | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | After running this pipeline command, the **LHS** Event should show up in the workspace. | ||
+ | |||
+ | ---- | ||
+ | |||
visual3d/documentation/pipeline/event_commands/event_tpr_file.1721230502.txt.gz · Last modified: 2024/07/17 15:35 by sgranger