other:inspect3d:tutorials:visualizing_healthy_human_walking
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
other:inspect3d:tutorials:visualizing_healthy_human_walking [2024/07/17 15:43] – removed sgranger | other:inspect3d:tutorials:visualizing_healthy_human_walking [2025/01/17 16:41] (current) – wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Visualizing Healthy Human Walking ====== | ||
+ | |||
+ | Inspect3D can be used to explore publicly available data sets such as the [[https:// | ||
+ | |||
+ | ==== Data ==== | ||
+ | |||
+ | This tutorial uses publicly available data from the paper [[https:// | ||
+ | |||
+ | {{ : | ||
+ | |||
+ | We are interested in the .c3d files that can be downloaded [[https:// | ||
+ | |||
+ | Also necessary are the Visual3D pipeline scripts, model templates, and Inspect3D query definitions that can be downloaded [[https:// | ||
+ | |||
+ | * **Create_CMO.v3s**: | ||
+ | * **CleanForceAssignments**: | ||
+ | * **HealthyHumanWalking_ModelTemplate.mdh**: | ||
+ | * **HealthyHumanWalking-ReportTemplate.rgt**: | ||
+ | * **HealthyHumanWalking-GRF.q3d**: | ||
+ | * **HealthyHumanWalking-XComponent.q3d**: | ||
+ | * **HealthyHumanWalking-LeftRight.xml**: | ||
+ | |||
+ | ==== Creating CMZ files in Visual3D ==== | ||
+ | |||
+ | Our first step is to process each participant' | ||
+ | |||
+ | 1. Open Visual3D and click on the **Pipeline** toolbar option. | ||
+ | |||
+ | 2. **Open Pipeline**, select the Create_CMOs.v3s pipeline script associated with this tutorial, and then **Execute Pipeline**. | ||
+ | |||
+ | |||
+ | The Create_CMOs script loads a static trial and a model template for a set of dynamic trials, modifies force platform parameters in line with Visual3D' | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 1. To create Participant 1's CMZ file, choose p1_c3dfiles/ | ||
+ | |||
+ | 2. Choose Model_Template_CMotion_v2.mdh as the model file. | ||
+ | |||
+ | 3. Set Participant 1's weight, height, and foot width according to the [[https:// | ||
+ | |||
+ | 4. Choose the remaining 33 .c3d files in the p1_c3dfiles folder as the dynamic trials. | ||
+ | |||
+ | 5. Choose Sample_Report_Template.rgt as the report template. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 6. Save the results as Participant_1.cmz. | ||
+ | |||
+ | Only Participant 1's CMZ file is needed for this tutorial, so you can close Visual3D and continue on to the next section once these steps are complete. | ||
+ | |||
+ | |||
+ | ==== Cleaning the data set in Inspect3D ==== | ||
+ | |||
+ | The processing done in Visual3D allows us to extract signal traces from all of our desired gait sequences from the .c3d files, but not all of these are suitable for further analysis. The number of traces involved makes it impractical to clean this data set in Visual3D, there are more than 3000 traces for Participant 1 alone, but Inspect3D gives us the ability to visualize the ground reaction forces and make inclusion/ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 1. Load **Participant_1.cmz** into the library. | ||
+ | |||
+ | 2. Open the {{: | ||
+ | |||
+ | 3. Select the GRF_Z group and **Plot all sequences**. | ||
+ | |||
+ | 4. In the queried data, iteratively select traces that look anomalous and exclude them. The end result should look like the figure on the right. | ||
+ | |||
+ | 5. Open the {{: | ||
+ | |||
+ | 6. Plot all sequences for each GRF component in turn, verifying that there are no included traces that should be excluded. If there are any bad traces left, repeat steps 4 and 5 as necessary until you are satisfied with the remaining traces. | ||
+ | |||
+ | |||
+ | ==== Visualizing the data ==== | ||
+ | |||
+ | Now that Participant 1's CMZ file has been cleaned of any unwanted traces, we are ready to perform some preliminary analysis and visualize the data set. Our goal in this section is to reproduce [[https:// | ||
+ | |||
+ | 1. Open the {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | 2. Open the {{: | ||
+ | |||
+ | 3. Make sure that the top left graph (1,1) is active, indicated by the grey border. Select the RAnkleAngle_X and LAnkleAngle_X groups and plot the Group Means. | ||
+ | |||
+ | 4. Repeat Step 3 for the remaining graphs with the following groups: | ||
+ | |||
+ | * Top centre (1,2) - RKneeAngle_X and LKneeAngle_X | ||
+ | * Top right (1,3) - RHipAngle_X and LHipAngle_X | ||
+ | * Middle left (2,1) - RAnkleMoment_X and LAnkleMoment_X | ||
+ | * Middle centre (2,2) - RKneeMoment_X and LKneeMoment_X | ||
+ | * Middle right (2,3) - RHipMoment_X and LHipMoment_X | ||
+ | * Bottom left (3,1) - RAnklePower_X and LAnklePower_X | ||
+ | * Bottom centre (3,2) - RKneePower_X and LKneePower_X | ||
+ | * Bottom right (3,3) - RHipPower_X and LHipPower_X | ||
+ | |||
+ | 5. With the group means plotted for each of our signals, all that remains is to assign the appropriate graph and axis titles. To do this, reopen the {{: | ||
+ | |||
+ | * Deselect **Display Group Name as Title** | ||
+ | * Use the title " | ||
+ | * Use the X Axis title "% Gait cycle", | ||
+ | * Use the Y Axis title "Angle (deg)", | ||
+ | * Click **Apply Style to All** | ||
+ | |||
+ | 6. Repeat Step 5 for the remaining graphs using the titles from Figure 3. | ||
+ | |||
+ | {{: | ||
+ | |||
+ | |||
+ | ==== Recap ==== | ||
+ | |||
+ | In this tutorial you learned how Inspect3D, along with Visual3D, can be used to explore and analyse public data sets. You learned how to take the raw data found in the Healthy Human Walking data set's .c3d files and reproduce Figure 3 from the associated paper. | ||
+ | |||
+ | ==== References ==== | ||
+ | |||
+ | **Paper** van der Zee, T.J., Mundinger, E.M. & Kuo, A.D. A biomechanics dataset of healthy human walking at various speeds, step lengths and step widths. Sci Data 9, 704 (2022). [[https:// | ||
+ | |||
+ | **Data set** van der Zee, T.J., Mundinger, E.M. & Kuo, A.D. A biomechanics dataset of healthy human walking at various speeds, step lengths and step widths. figshare. Collection. (2022). [[https:// | ||
+ | |||
+ | |||
other/inspect3d/tutorials/visualizing_healthy_human_walking.1721230990.txt.gz · Last modified: 2024/07/17 15:43 by sgranger