sift:tutorials:openbiomechanics_project:impact_shooting_arm_mechanics_free_throw_accuracy

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:openbiomechanics_project:impact_shooting_arm_mechanics_free_throw_accuracy [2025/09/16 15:48] sgrangersift:tutorials:openbiomechanics_project:impact_shooting_arm_mechanics_free_throw_accuracy [2025/09/17 15:02] (current) wikisysop
Line 282: Line 282:
   * Compute_Model_Based_Data   * Compute_Model_Based_Data
   * Compute_Model_Based_Data   * Compute_Model_Based_Data
 +
 +Splitting the pipeline commands into 3 separate files makes the script easier to follow and simplifies future edits and/or debugging.
  
 ====Using Sift for Statistical Analysis and Data Visualization==== ====Using Sift for Statistical Analysis and Data Visualization====
Line 424: Line 426:
 {{:kmeans_help.png?nolink&600|}} {{:kmeans_help.png?nolink&600|}}
  
-**To script the SIFT command line process a code editor application and the newest version of Python must be installed.** In this tutorial the code editor **Visual Studio Code** is used.+**To script the SIFT command line process a code editor application and the newest version of Python must be installed.** In this tutorial the code editor **Visual Studio Code** is used. Python is just one method of automating processing through the Sift CLI, any other scripting or programming language can be used.
  
 Below are the steps required to build and execute the SIFT command line script. The final code is rather lengthy, it can be downloaded here if needed[[https://has-motion.com/download/examples/freethrowSiftScript.py |Completed Sift Automation Code]]. Completed Sift Automation Code. The code is designed to automate the all the steps done previously in this tutorial from creating the cmz files in Visual 3D, to running PCA analysis on the signals and conducting SPM tests in Sift. Ultimately all these steps below should be combined and be ran in your code editor of choice. Below are the steps required to build and execute the SIFT command line script. The final code is rather lengthy, it can be downloaded here if needed[[https://has-motion.com/download/examples/freethrowSiftScript.py |Completed Sift Automation Code]]. Completed Sift Automation Code. The code is designed to automate the all the steps done previously in this tutorial from creating the cmz files in Visual 3D, to running PCA analysis on the signals and conducting SPM tests in Sift. Ultimately all these steps below should be combined and be ran in your code editor of choice.
Line 482: Line 484:
  
 ====Executing Sift CMD line operations==== ====Executing Sift CMD line operations====
-**1.** The following part of the code is run in the command prompt. This cannot be done if the import subprocess was not done at the beginning of the code. First, Sift will be open in the command prompt which will allow for the specific Sift commands to be used. The first Sift command is going to be "-RunV3DCommand" which runs a single V3D pipeline command. The command that will be ran is to set the variable DEFAULT_DATA to the folder we are currently working on. The following line "-RunV3D" is used to run a full V3D pipeline. For the parameter "script", paste the path to the desired pipeline.+**1.** The following part of the code is run in the command prompt. This cannot be done if the import subprocess was not done at the beginning of the code. First, Sift will be open in the command prompt which will allow for the specific Sift commands to be used. The first Sift command is going to be "-RunV3DCommand" which runs a single V3D pipeline command. The command that will be ran is to set the variable DEFAULT_DATA to the folder we are currently working on.
  
     subprocess.run([     subprocess.run([
sift/tutorials/openbiomechanics_project/impact_shooting_arm_mechanics_free_throw_accuracy.1758037727.txt.gz · Last modified: 2025/09/16 15:48 by sgranger