visual3d:documentation:reports:computing_a_time_normalized_average_event
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:reports:computing_a_time_normalized_average_event [2024/07/03 17:30] – removed sgranger | visual3d:documentation:reports:computing_a_time_normalized_average_event [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Computing a Time Normalized Average Event ====== | ||
+ | |||
+ | ===== Introduction ===== | ||
+ | |||
+ | \\ | ||
+ | A customer wanted to add an annotation to the normative graph at the location of the corresponding **normative** event label. This would be equivalent to the option to [[Visual3D: | ||
+ | \\ | ||
+ | This example allows you to specify the normative event from the datatable (i.e. you can calculate the time of the normative event). [[Visual3D: | ||
+ | \\ | ||
+ | [[https:// | ||
+ | |||
+ | ===== Create Event stored in P2D ===== | ||
+ | |||
+ | The first step is to store the value we want to create the annotation at. In this tutorial, the value is going to be stored GLOBAL:: | ||
+ | |||
+ | * Option 1: Explicitly specify this value as 40% of the gait cycle (running data) | ||
+ | * Option 2: Calculate the average time toe off occurs from a normal databse | ||
+ | |||
+ | === Option 1: Explicit === | ||
+ | |||
+ | Explicitly define the value: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | === Option 2: Calculate from database === | ||
+ | |||
+ | Calculate the average value from the normal database: | ||
+ | |||
+ | - [[Visual3D: | ||
+ | - Run a script to calculate the % the event occurs during the gait cycle (example, when toe off occurs during the gait cycle). An example script is provided below: | ||
+ | |||
+ | < | ||
+ | Select_Active_File | ||
+ | / | ||
+ | /QUERY= | ||
+ | ; | ||
+ | |||
+ | Metric_Time_Between_Events | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Metric_Time_Between_Events | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | === Save P2D File === | ||
+ | |||
+ | |You can then export the P2D data as a Normal Database (Normal_Data_Events.vnd) | ||
+ | |||
+ | ===== Plot Event stored in P2D ===== | ||
+ | |||
+ | === Getting Started === | ||
+ | |||
+ | [[Visual3D: | ||
+ | |||
+ | |If you followed the steps correctly, you would be starting with a graph that looks like this. | {{: | ||
+ | |||
+ | === Load the P2D Data === | ||
+ | |||
+ | Loads the P2D file which contains the average events: | ||
+ | |||
+ | - **File -> Open** | ||
+ | - Select the **Normal_Data_Events.vnd** file | ||
+ | |||
+ | === Option 1: Manually Graph Event === | ||
+ | |||
+ | |* Annotation Style: **Vertical Line**\\ * Color: **Black**\\ * Size: **Normal**\\ * Event Name or Numeric Value: **GLOBAL:: | ||
+ | |||
+ | === Option 2: Pipeline Graph Event === | ||
+ | |||
+ | < | ||
+ | Add_Graph_Annotation | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | === Final === | ||
+ | |||
+ | |If everything is correct, you should see a black vertical line. | {{: | ||
+ | |||
+ | |||
visual3d/documentation/reports/computing_a_time_normalized_average_event.1720027819.txt.gz · Last modified: 2024/07/03 17:30 by sgranger