User Tools

Site Tools


sift:tutorials:bathuniversity_project_male_female_lower_kinematics

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
sift:tutorials:bathuniversity_project_male_female_lower_kinematics [2026/09/17 18:26] edwardsift:tutorials:bathuniversity_project_male_female_lower_kinematics [2026/09/17 19:52] (current) edward
Line 1: Line 1:
 ====== Bath University Project: The Effect of Different Gender and Gradient on Lower Kinematics ====== ====== Bath University Project: The Effect of Different Gender and Gradient on Lower Kinematics ======
-===== Abstract =====+===== Abstract=====
  
 ===== Step 1: Set up files correctly ===== ===== Step 1: Set up files correctly =====
Line 7: Line 7:
 Make sure your files are arranged in this format: Make sure your files are arranged in this format:
  
 +{{:sift:tutorials:make_sure_your_files_are_arranged_in_this_format.png?nolink&400|}}
 +
 +Each P00X file should contain two .C3D files. Notice that the original data from Bath will have more data. However, in this tutorial we are only //uphillrun_norm// was used as the dynamic trial.
 +
 +{{:sift:tutorials:step_1-2.png?nolink&400|}}
  
 ===== Step 2: Generate .CMZ Files Automatically ===== ===== Step 2: Generate .CMZ Files Automatically =====
-Once you have all the files, click **Library** on the top bar.+Once you have all the files ready, click **Library** on the top bar. 
 +{{:sift:tutorials:step2-1.png?nolink&400|}}
  
 Click the first **Browse** for Library Path and select the file that includes all the c3d files. Then, select **Build BMZs** check both **Make Hybrid Model** and **Metadata**. Then click **Browse** to select //bathmodel_virtual.mdh// and manually type the //*Static*.c3d// and //*uphillrun_num_1.c3d// in **Static File Identifier** and **Dynamic File Identifier**.   Click the first **Browse** for Library Path and select the file that includes all the c3d files. Then, select **Build BMZs** check both **Make Hybrid Model** and **Metadata**. Then click **Browse** to select //bathmodel_virtual.mdh// and manually type the //*Static*.c3d// and //*uphillrun_num_1.c3d// in **Static File Identifier** and **Dynamic File Identifier**.  
  
 +{{:sift:tutorials:step2-2.png?nolink&400|}}
  
 Click **Browse** in Metadata to select your .csv file Click **Browse** in Metadata to select your .csv file
  
-This window will pop up. Make sure the descriptions are exactly the same as shown below and there are no spaces in the .csv file (you can view the file using VisualStudio Code or just any .txt reader). Then click **Apply**+{{:sift:tutorials:step2-4.png?nolink&400|}} 
 + 
 + 
 +This window will pop up. Make sure the descriptions are exactly the same as shown in the second image and there are no spaces in the .csv file (you can view the file using VisualStudio Code or just any .txt reader)
 + 
 +{{:sift:tutorials:step2-5.png?nolink&400|}} 
 + 
 + Please make sure** Static Trial Identifier** for **Participant_code**, **Dynamics Trial** **Identifier** for **Norm_Speed**, and check every Subject Specific Boxes. Then click **Apply** 
 + 
 +{{:sift:tutorials:step2-6.png?nolink&400|}}
  
 Click **Add Script** then add pipeline.v3s to the pipeline. Then click **Build CMZs**. You can download the pipelines here: HYPERLINK TO DOWNLOADIT Click **Add Script** then add pipeline.v3s to the pipeline. Then click **Build CMZs**. You can download the pipelines here: HYPERLINK TO DOWNLOADIT
  
 +{{:sift:tutorials:step2-7.png?nolink&400|}}
  
 ===== Step 3: Load Query ===== ===== Step 3: Load Query =====
Line 25: Line 42:
  
 After downloading the file, click **Load Query Definition** and select the file you just downloaded. You see the queries showing up on the left as shown below. Then, click **Calculate All Queries** and wait until it's 100% calculated. After downloading the file, click **Load Query Definition** and select the file you just downloaded. You see the queries showing up on the left as shown below. Then, click **Calculate All Queries** and wait until it's 100% calculated.
 +
 +{{:sift:tutorials:step3-1.png?nolink&400|}}
  
 You should see this once you have successfully calculated all queries. You should see this once you have successfully calculated all queries.
 +
 +{{:sift:tutorials:step3-2.png?nolink&400|}}
  
 ===== Step 4: Clean Up Data ===== ===== Step 4: Clean Up Data =====
 Before we proceed to the next step, we should clean up the data. In this example, we can right click on the workspace that is messy. Then, we click **Exclude Selected Data for Selected Query**. Notice that we are only clean one group for cleaning data.  Before we proceed to the next step, we should clean up the data. In this example, we can right click on the workspace that is messy. Then, we click **Exclude Selected Data for Selected Query**. Notice that we are only clean one group for cleaning data. 
 +
 +{{:sift:tutorials:step4-1.png?nolink&400|}}
  
 After we finished cleaning the data, we can now update the .CMZ file. First check the **Excluded Traces** then click **Run Pipelines**. After we finished cleaning the data, we can now update the .CMZ file. First check the **Excluded Traces** then click **Run Pipelines**.
 +
 +{{:sift:tutorials:step4-2.png?nolink&400|}}
  
 Alternatively, you can simply box the messy area and click **Exclude > Exclude Trace (raw data)**  Alternatively, you can simply box the messy area and click **Exclude > Exclude Trace (raw data)** 
 +
 +{{:sift:tutorials:step4-3.png?nolink&400|}}
 +
  
 Repeat this process for Female Ankle X, Female Knee Angle X, and Male Knee Angle X. Repeat this process for Female Ankle X, Female Knee Angle X, and Male Knee Angle X.
Line 39: Line 67:
 ===== Step 5: PCA ===== ===== Step 5: PCA =====
 Click PCA in the top bar. Then give your PCA a name then hit Run PCA. In this case, again, we are using Knee Angle X. Click PCA in the top bar. Then give your PCA a name then hit Run PCA. In this case, again, we are using Knee Angle X.
 +
 +{{:sift:tutorials:step5-1.png?nolink&400|}}
  
 Notice that in the description above we can see “4 PCs explain 95.9439% of the variation”. The rule of thumb is if the percentage is below 93%, we need to add additional PC(s) in the previous step. Notice that in the description above we can see “4 PCs explain 95.9439% of the variation”. The rule of thumb is if the percentage is below 93%, we need to add additional PC(s) in the previous step.
 +
 +{{:sift:tutorials:step5-2.png?nolink&400|}}
 +
  
 In the Loading Vector plot, we can see in which phases of the cycle, the difference between two groups is most significant. In this case, we can see that between 60% and 80% the difference is most significant. In the Loading Vector plot, we can see in which phases of the cycle, the difference between two groups is most significant. In this case, we can see that between 60% and 80% the difference is most significant.
  
-The plot below shows that within both groups, the data points are inconsistent because the points are spread out+{{:sift:tutorials:step5-3.png?nolink&400|}}
  
 +The plot below shows that within both groups, the data points are inconsistent because the points are spread out.
 + 
 +{{:sift:tutorials:step5-4.png?nolink&400|}}
 +
 +{{:sift:tutorials:step5-5.png?nolink&400|}}
  
 ===== Step 6: SPM ===== ===== Step 6: SPM =====
 We can perform SPM by clicking **SPM** on the top bar and selecting two groups you are comparing on the left panel. Then, we can give the GLM a name and click **Create GLM**. We can perform SPM by clicking **SPM** on the top bar and selecting two groups you are comparing on the left panel. Then, we can give the GLM a name and click **Create GLM**.
 +
 +{{:sift:tutorials:step6-1.png?nolink&400|}}
  
 Once the GLA is successfully calculated, we can switch to the Statistic panel and click **Compute SPM**. Once the GLA is successfully calculated, we can switch to the Statistic panel and click **Compute SPM**.
 +
 +{{:sift:tutorials:step6-2.png?nolink&400|}}
  
 Then give SPM a name of what you are comparing. In this case, we set our threshold to 0.050 and check the **Two-Tailed** box.  Then give SPM a name of what you are comparing. In this case, we set our threshold to 0.050 and check the **Two-Tailed** box. 
  
-Now the plot has been generated, each region shade means there is significant difference in two groups between given intervals. For instance, from normalised point 34% to 60% there is a significant difference between the Knee_Angle_Male_X and Knee_Angle_Female_X+{{:sift:tutorials:step6-3.png?nolink&400|}}
  
 +Now the plot has been generated, each region shade means there is significant difference in two groups between given intervals. For instance, from normalised point 34% to 60% there is a significant difference between the Knee_Angle_Male_X and Knee_Angle_Female_X. 
  
 +{{:sift:tutorials:step6-4.png?nolink&400|}}
  
 ===== Conclusion: ===== ===== Conclusion: =====
sift/tutorials/bathuniversity_project_male_female_lower_kinematics.1789669618.txt.gz · Last modified: by edward