visual3d:tutorials:pipeline:advanced_pipeline_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:tutorials:pipeline:advanced_pipeline_commands [2024/11/29 19:50] – [Define global parameters] wikisysop | visual3d:tutorials:pipeline:advanced_pipeline_commands [2024/11/29 20:58] (current) – [Summary] wikisysop | ||
---|---|---|---|
Line 112: | Line 112: | ||
Including comments in your scripts will allow you to easily review your commands for processing settings. This can be very helpful if it has been a while since you constructed the script. In addition, including comments will allow you to easily debug your scripts while you are developing them or make changes later on down the road. It is good practice and well worth the effort! | Including comments in your scripts will allow you to easily review your commands for processing settings. This can be very helpful if it has been a while since you constructed the script. In addition, including comments will allow you to easily debug your scripts while you are developing them or make changes later on down the road. It is good practice and well worth the effort! | ||
+ | |||
+ | A commented line in Visual3D is represented by a ! at the beginning of the line, as such: | ||
+ | |||
+ | < | ||
+ | ! This is a comment | ||
+ | This is not a comment | ||
+ | </ | ||
+ | |||
==== Develop your script by sections ==== | ==== Develop your script by sections ==== | ||
- | We recommend developing your script in section form with comments added for documentation and clarification. Open the example script "? | + | We recommend developing your script in section form with comments added for documentation and clarification. |
* The first section in your script should include your lab name, date of revision, the model used, and the purpose of the script. Lines starting with ! are comment lines. | * The first section in your script should include your lab name, date of revision, the model used, and the purpose of the script. Lines starting with ! are comment lines. | ||
Line 136: | Line 144: | ||
</ | </ | ||
- | Continue to make sections for file import/ | + | Continue to make sections for file import/ |
===== Define global parameters ===== | ===== Define global parameters ===== | ||
Line 231: | Line 239: | ||
=== Pulldown prompts === | === Pulldown prompts === | ||
- | A user can be prompted to select a value via a pulldown menu of predefined values. Instructions can be added to the top of the pulldown dialog menu to assist the user in their selection. Below is an example of a prompt with a pulldown menu that will ask the user to select 1 for the right side and -1 for the left side. This can be used to negate (multiply by -1) a signal that may depend on side such as output from a Biodex torque signal. | + | A user can be prompted to select a value via a pulldown menu of predefined values. This is done by specifying multiple " |
< | < | ||
Line 842: | Line 850: | ||
==== Signal Math ==== | ==== Signal Math ==== | ||
- | There are many pipeline commands for signal math. One of the most powerful and useful commands is **Evaluate_Expression**. Rather than repeat content here, please go to the [[Visual3D: | + | There are many pipeline commands for signal math. One of the most powerful and useful commands is **Evaluate_Expression**. Rather than repeat content here, please go to the [[Visual3D: |
===== Model Creation ===== | ===== Model Creation ===== | ||
Line 856: | Line 864: | ||
* [[Visual3D: | * [[Visual3D: | ||
- | Users can be prompted to enter in values (see example in previous section | + | Users can be prompted to enter in values (see example in previous section |
Refer to his page [[Visual3D: | Refer to his page [[Visual3D: | ||
Line 895: | Line 903: | ||
==== Using commands to apply an already constructed model template ==== | ==== Using commands to apply an already constructed model template ==== | ||
- | Typically a model is defined manualy and a model template is saved for that model. Commands can be used to [[Visual3D: | + | Typically a model is defined manualy and a model template is saved for that model. Commands can be used to [[Visual3D: |
==== Using commands to modify a model ==== | ==== Using commands to modify a model ==== | ||
Line 905: | Line 912: | ||
Landmarks can be added and modified using the [[Visual3D: | Landmarks can be added and modified using the [[Visual3D: | ||
- | There is an example on https:// | + | There is an example on [[visual3d:documentation: |
Another great example can be seen on [[Visual3D: | Another great example can be seen on [[Visual3D: | ||
Line 917: | Line 924: | ||
===== Compute Link based Model ===== | ===== Compute Link based Model ===== | ||
- | The command [[Visual3D: | + | The command [[Visual3D: |
- | + | ||
- | ==== Joint Angles ==== | + | |
==== Joint Moments ==== | ==== Joint Moments ==== | ||
Line 1045: | Line 1050: | ||
* [[Visual3D: | * [[Visual3D: | ||
* [[Visual3D: | * [[Visual3D: | ||
- | * [[Visual3D: | + | * [[Visual3D: |
==== Event_Onset ==== | ==== Event_Onset ==== | ||
Line 1759: | Line 1764: | ||
===== Export and Import ===== | ===== Export and Import ===== | ||
+ | |||
==== Export Graphs ==== | ==== Export Graphs ==== | ||
- | + | [[visual3d: | |
- | ==== Export Images ==== | + | |
* An example of exporting graphs and metrics and screen shot images is there. We prefer actually building a report in V3D and exporting graphs as SVG or PNG images rather than exporting raw ASCII data for consistency and easy error checking reasons. | * An example of exporting graphs and metrics and screen shot images is there. We prefer actually building a report in V3D and exporting graphs as SVG or PNG images rather than exporting raw ASCII data for consistency and easy error checking reasons. | ||
Line 1779: | Line 1784: | ||
Meta-Commands are used for complex functions or general processing. A meta-command is a Visual3D pipeline into which parameters can be passed. The meta-command should be stored in a folder labeled Meta-Commands, | Meta-Commands are used for complex functions or general processing. A meta-command is a Visual3D pipeline into which parameters can be passed. The meta-command should be stored in a folder labeled Meta-Commands, | ||
- | |||
- | ===== Summary ===== | ||
- | |||
visual3d/tutorials/pipeline/advanced_pipeline_commands.1732909828.txt.gz · Last modified: 2024/11/29 19:50 by wikisysop