inspect3d:tutorials:treadmill_walking_in_healthy_individuals
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
inspect3d:tutorials:treadmill_walking_in_healthy_individuals [2024/06/19 12:45] – sgranger | inspect3d:tutorials:treadmill_walking_in_healthy_individuals [2024/07/12 13:26] (current) – removed sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{{===== abstract ===== | ||
- | visual3d and inspect3d can be used to automate the processing of large batches of clinical data. this tutorial provides an example of how to do so using a publicly available data set. | ||
- | |||
- | fukuchi et al.[[https:// | ||
- | |||
- | this tutorial is designed to demonstrate how to use inspect3d to compare joint angles between two groups of older adults: those who used a handrail and those who did not. | ||
- | |||
- | ===== data ===== | ||
- | |||
- | intro1.jpg | ||
- | |||
- | the fukuchi et al. data set includes 3d kinematic data for 26 lower limb and pelvic markers and ground reaction force plate data for 42 subjects walking at 8 different speeds. motion capture data was sampled at 150 hz and force plate data was sampled at 300 hz. metadata in these trials included anthropometric measurements such as mass, height, leg length, leg dominance, gender, handrail support, and walking speed. for this tutorial only a subset of the data was used, which included the trials with older adults (subjects 25-42) walking at a single comfortable control speed (t05). | ||
- | |||
- | * **fukuchi et. al. subject data:** from the publicly available data files, download wbdsc3d.zip for subject .c3d files, and wbdsinfo.xlsx for the metadata [[https:// | ||
- | |||
- | to simplify this tutorial, the following premade files are available to download as a starting point. they are contained in the zip folder labelled **" | ||
- | |||
- | * **visual3d workspaces (processed_workspaces): | ||
- | |||
- | * **visual3d pipeline (pipeline.v3s): | ||
- | |||
- | * **model template (wbdsmodel.mdh): | ||
- | |||
- | * **query definitions (group_definitions.q3d): | ||
- | |||
- | * **inspect3d workspace (workspace.i3d): | ||
- | |||
- | * **inspect3d color palette (fukuchipalette.xml): | ||
- | |||
- | table 1 below shows the tags used in this tutorial. these will be used in later steps. | ||
- | |||
- | table 1: tag definitions | ||
- | |tag |definition | ||
- | |slow, control, fast |walking speeds. | ||
- | |young, old | ||
- | |male, female | ||
- | |leftdominant, | ||
- | |heldrail | ||
- | |didnotholdrail | ||
- | |||
- | |||
- | ===== visual3d processing ===== | ||
- | |||
- | if you want to skip to the inspect3d analysis portion of this tutorial, ensure you have downloaded the **" | ||
- | |||
- | this tutorial uses the pipeline feature of visual3d to process the raw data provided by fukuchi et al. the benefit of the pipeline feature is that it can be used to automate repeated steps and reduces the amount of time it takes to work with large data sets. if you are unfamiliar with using the visual3d workspace, take some time to review the [[https:// | ||
- | |||
- | processing1.png | ||
- | |||
- | **1. download .c3d files:** fukuchi et al. has a folder labelled **wbdsc3dwithgaitevents**, | ||
- | **2. subject by subject pipeline edits:** if you haven' | ||
- | * **subject index:** under pipeline function set_pipeline_parameter, | ||
- | * **subject height:** under pipeline function set_subject_height, | ||
- | * **subject mass:** under pipeline function set_subject_mass, | ||
- | * **subject age:** under pipeline function explicit_metric, | ||
- | * **subject gender:** under pipeline function explicit_metric, | ||
- | * **subject foot dominance: | ||
- | * **subject rail use:** under pipeline function explicit_metric, | ||
- | |||
- | this information is contained in the metadata file mentioned previously. | ||
- | |||
- | **3. load and execute pipeline:** open visual3d and click on the **" | ||
- | **4. verify execution: | ||
- | **5. repeat for all desired subjects.** | ||
- | ===== loading data into inspect3d ===== | ||
- | |||
- | loadingdata2.png | ||
- | |||
- | within the **" | ||
- | |||
- | - select i3dloadlibrary.png **load library** and set **cmo library path** to the folder where your .cmz and .c3d files are located. ensure you are using the files from the **wbdsc3dwithgaitevents** folder. then select **load** and exit the window. | ||
- | - open the i3dgroups.png**group definitions** tab and select i3dopengroupdef.png**load group definitions**. once prompted, open the **group_definitions.q3d** query file. | ||
- | - select **calculate all groups**. groups will be divided up based on right and left pelvis, hip, knee and ankle joint angles in x, y, and z axis. | ||
- | |||
- | a detailed tutorial on creating groups can be found [[inspect3d: | ||
- | |||
- | - open the i3dgroups.png**group definitions** dialog. | ||
- | - add a actionadd48x48.png **group** and name it “rail_hip_angle_x_right” | ||
- | - add a actionadd48x48.png **sub-group** and name it “rail_hip_angle_x_right” | ||
- | - **signals**: | ||
- | - **events**: event sequence - lhs,lhs | ||
- | - **refinement**: | ||
- | |||
- | for our investigation, | ||
- | |||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | |||
- | |||
- | ===== cleaning data ===== | ||
- | |||
- | if you haven' | ||
- | |||
- | to begin cleaning your data, start by selecting a group to graph, then clicking **select all workspaces** and then **plot all sequences**. on the plotted graph, select any traces you wish to inspect. right click on the graph and hover over **exclude**, | ||
- | |||
- | depending on how you clean your data, results may vary. | ||
- | |||
- | cleaningdata1.jpg cleaningdata2.jpg | ||
- | |||
- | ===== inspect3d visualization and pca analysis ===== | ||
- | |||
- | pca2.png | ||
- | |||
- | if you haven' | ||
- | |||
- | to start a pca analysis, start by selecting the two groups you want to compare in the **groups** menu (ctrl + click). example: ctrl + click on **rail_pelvis_angle_y** and **nrail_pelvis_angle_y**. | ||
- | |||
- | navigate to the toolbar at the top of the interface and select the i3d_pcaoptions2.png button. a dropdown menu will appear. select the number of pcas you want for your analysis and ensure **use workspace mean** is checked. then click **run pca** and **show pca graphs**. the pca graph should appear on the right side of the user interface | ||
- | |||
- | once the pca has been run, at the bottom right corner of the inspect3d interface there are six options for visualising results of the analysis (variance explained, loading vector, workspace scores, group scores, extreme plot and pc reconstruction). see the [[inspect3d: | ||
- | |||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | \\ | ||
- | |||
- | |||
- | ===== results ===== | ||
- | |||
- | interpretation of joint angle signals can be made through visual comparison of the two study groups: hand railing support and non-hand railing support during control speed treadmill walking. additionally, | ||
- | |||
- | examples of interpreting pca results are shown below in the knee, hip, and pelvis, and through the following tutorial [[inspect3d: | ||
- | |||
- | ==== ankle ==== | ||
- | |||
- | for this study, to look specifically at one joint 6 figures can be laid out in a 3x2 grid. to do so go to the i3dshowoptions.png **[[inspect3d: | ||
- | |||
- | ==== knee ==== | ||
- | |||
- | we plotted the left knee angle signals over a gait cycle, including the mean and standard deviations for both railing and non-railing groups. for the coordinate system used in the fukuchi et. al. data set, the z-axis is aligned in the medial/ | ||
- | |||
- | knee1.jpg | ||
- | |||
- | we then performed a pca analysis on the knee data. through this we can see that the underlying gait cycle signal is structured, and 95% variance can be explained by the first four principal components. | ||
- | |||
- | knee3.jpg | ||
- | |||
- | returning to our visualisation analysis on the knee, we know that there are potential differences between the knee angles of those who used the railing, and those who did not. if possible, we want to be able to classify subjects as having used the railing, and not having used it. by looking at the **group scores** tab, that is the average values of each principal component on each group, we see that the standard errors of pc1 and pc2 do not overlap, suggesting pc1 and pc2 can best discriminate between groups. pc4 for example, has standard errors that do overlap, signifying that it could not be used to discriminate the groups. we can graph both pc1 and pc2 through the **workspace scores** tab, and see that we have a nearly linearly separable dataset. | ||
- | |||
- | \\ | ||
- | knee4.jpgknee6.jpg | ||
- | |||
- | we can then look more closely at pc1 and pc2, and see why this may make sense. looking back at the mean signal trace graph, we see that there is a notable difference in the joint angle between the 2 groups at the beginning and end of the gait cycle, and pc1 in particular may represent this. we can see by plotting the vector of pc1 that in general, the value of pc4 is smaller in the middle, while it is a large value at both the beginning and end of the gait cycle. since we can visually see that the subjects who held the rail generally had higher angles at these points in the cycle, we would expect, and in fact do see, large values of pc1. while this is not a perfect separation of the two groups, the addition of pc2 explains the variance, again at the very start where we see the most difference, and around 60-75% where there is slight variance. | ||
- | |||
- | knee7.jpgknee8.jpg | ||
- | |||
- | ==== hip ==== | ||
- | |||
- | we plotted the left hip internal and external rotation over a gait cycle, including the mean and standard deviations for both railing and non-railing groups. for the coordinate system used in the fukuchi et. al. data set, the y-axis is aligned in the vertical direction, and so the hip angle about the y-axis describes internal-external rotation behaviour. using inspect3d’s pca analysis, we plotted the **group scores** tab for the first 4 principal components that described >95% of the hip joint signals, with the mean and standard error. we found that the second principal component has identifiable differences in the scores between groups, as the standard errors do not cross the x-axis. further investigation into this principal component using the **workspace scores** we can see a reasonable separation between groups when comparing pc2 to pc1. in this specific example, pc1 describes more of the dataset variability for each group (64.1%), however, pc2 can best discriminate between the compared groups when analysing the hip internal-external rotation. | ||
- | |||
- | hip1.jpghip2.jpghip3.jpg | ||
- | |||
- | ==== pelvis ==== | ||
- | |||
- | when comparing pelvis angles during the gait cycle, we noticed variations in the z-axis behaviour. for the coordinate system used in the fukuchi et. al. data set, the z-axis is aligned in the medial/ | ||
- | |||
- | pelvis1.jpgpelvis2.jpg | ||
- | |||
- | pelvis3.jpgpelvis4.jpg | ||
- | |||
- | ===== conclusions ===== | ||
- | |||
- | the quantitative results for the lower limb joint pca analyses are summarized below in **table 2**. the ankle analysis had unreliable data and was therefore excluded from the results table. | ||
- | |||
- | table 2: pca results | ||
- | |joint | ||
- | |knee flexion-extension | ||
- | |hip internal-external rotation|pc2 | ||
- | |anterior-posterior pelvic tilt|pc1 | ||
- | |||
- | |||
- | from these results we can conclude that holding a hand rail does have the statistical potential to influence lower limb joint angles (particularly the pelvic angle) and should be a variable that is controlled for in future studies. | ||
- | |||
- | however, there are limitations on the conclusions that can be drawn from this analysis. firstly, eliminating the younger subjects from the analysis pool reduced the subject pool from 42 to 17. this number of subjects is typically acceptable for pilot studies but is not large enough to be statistically valid for the general population. secondly, to further quantify the relationship between rail use and lower limb joint angles it would be more effective to have the same subjects walk with and without a handrail (which was not the case in this data set). this would better control for variations in individual gait patterns. | ||
- | |||
- | ===== references ===== | ||
- | |||
- | **data set:** fukuchi et al. a public dataset of overground and treadmill walking kinematics and kinetics in healthy individuals: | ||
- | |||
- | **paper:** fukuchi et al. a public dataset of overground and treadmill walking kinematics and kinetics in healthy individuals: | ||
- | |||
- | **license: | ||
- | |||
- | |||
- | }}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}}} |
inspect3d/tutorials/treadmill_walking_in_healthy_individuals.1718801118.txt.gz · Last modified: 2024/06/19 12:45 by sgranger