visual3d:documentation:pipeline:general_information:pipeline_introduction
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:general_information:pipeline_introduction [2024/06/19 12:51] – sgranger | visual3d:documentation:pipeline:general_information:pipeline_introduction [2024/07/17 15:45] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{{{**this page is under construction! so it's still being developed, and is a combination of the following wiki pages:** | + | ====== Pipeline Introduction ====== |
- | **https:// | + | **THIS PAGE IS UNDER CONSTRUCTION! So it's still being developed, and is a combination of the following wiki pages:** |
- | **https:// | + | **https:// |
- | **https:// | + | **https:// |
- | **https:// | + | **https:// |
- | ====== introduction ====== | + | **https:// |
- | every step you perform in visual3d through the user interface, can also be accomplished using a pipeline command. the pipeline commands are a way of automating the processing procedure. | + | ===== Introduction ===== |
- | the pipeline | + | Every step you perform in Visual3D through |
- | once you have created | + | The pipeline is a command language, not a scripting language. This essentially means you have a series of commands that act as building blocks, you just have to string them together. For example, if you want to calculate range of motion of the ankle angle, you need to define the ankle angle, calculate the maximum of the ankle angle, calculate the minimum of the ankle angle, and subtract |
- | ====== | + | Once you have created a pipeline, it can be saved as a [[Visual3D: |
- | you can open the pipeline workshop by going to pipeline -> workshop or clicking on the button on the [[visual3d: | + | ===== Pipeline Workshop ===== |
- | **the pipeline workshop | + | You can open the pipeline workshop |
- | |pipelineworkshop.png | + | **The pipeline |
- | commands | + | |{{: |
- | ===== editing a command ===== | + | Commands can be moved into the Main Pipeline by using the Add **>> |
- | |pipelineworkshop_editgui.png | + | ==== Editing |
- | |pipelineworkshop_textedit.png | + | |
- | ====== pipeline | + | |{{: |
+ | |{{: | ||
- | every pipeline command has a text edit option (not all commands have gui - or user interface). the command text is always set up as follows: | + | ===== Pipeline Command ===== |
- | **command name**\\ | + | Every pipeline command has a text edit option (not all commands have GUI - or user interface). The command text is always set up as follows: |
- | **/parameter=**\\ | + | |
- | **! /default_parameter=**\\ | + | **Command Name**\\ |
+ | **/PARAMETER=**\\ | ||
+ | **! /DEFAULT_PARAMETER=**\\ | ||
**;**\\ | **;**\\ | ||
- | the command name will always appear first, and the semicolon defines the end of the pipeline command. | + | The command name will always appear first, and the semicolon defines the end of the pipeline command. |
- | any line that starts with an exclamation point ! is not read, it is seen as a comment line. if a parameter is has an exclamation point in front of it, the default value will be used. to change the default value, you must delete the exclamation point and type the desired value to the right of the equals sign for that parameter. | + | Any line that starts with an exclamation point ! is not read, it is seen as a comment line. If a parameter is has an exclamation point in front of it, the default value will be used. To change the default value, you must delete the exclamation point and type the desired value to the right of the equals sign for that parameter. |
- | any line that does not start with an exclamation point defines a required parameter. | + | Any line that does not start with an exclamation point defines a required parameter. |
- | each parameter must start with a slash. | + | Each parameter must start with a slash. |
- | ==== special characters ==== | + | === Special Characters |
- | * **!** - if this is the first character of a line, the line is considered a comment. | + | * **!** - if this is the first character of a line, the line is considered a comment. |
* **/** - indicates a command variable | * **/** - indicates a command variable | ||
- | * **+** - is a delimeter separating entries. | + | * **+** - is a delimeter separating entries. |
- | * **&** - indicates a concatenation. | + | * **&** - indicates a concatenation. |
* ***** - indicates a [[|wildcard]] (or multiplication) | * ***** - indicates a [[|wildcard]] (or multiplication) | ||
- | when defining signal names or pipeline parameters, | + | When defining signal names or pipeline parameters, |
- | ====== pipeline parameters ====== | + | ===== Pipeline Parameters |
- | pipeline | + | Pipeline |
- | a pipeline parameter | + | A PIPELINE PARAMETER |
- | a simple example is to prompt the user for a folder path, then export data to that folder path: | + | A simple example is to prompt the user for a folder path, then export data to that folder path: |
- | first the user is prompted for the folder path: | + | First the user is prompted for the folder path: |
- | **[[visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter_to_folder_path|set_pipeline_parameter_to_folder_path]]**\\ | + | **[[Visual3D:Documentation:Pipeline:Pipeline_Commands:Set_Pipeline_Parameter_To_Folder_Path|Set_Pipeline_Parameter_To_Folder_Path]]**\\ |
- | **/parameter_name=**export_folder\\ | + | **/PARAMETER_NAME=**EXPORT_FOLDER\\ |
- | **/parameter_value=**\\ | + | **/PARAMETER_VALUE=**\\ |
**;**\\ | **;**\\ | ||
- | the user has defined the parameter name as export_folder. for this command, if the parameter_value | + | The user has defined the parameter name as EXPORT_FOLDER. For this command, if the PARAMETER_VALUE |
- | **[[visual3d:documentation:pipeline:file_commands:export_data_to_ascii_file|export_data_to_ascii_file]]**\\ | + | **[[Visual3D:Documentation:Pipeline:File_Commands:Export_Data_To_ASCII_File|Export_Data_To_Ascii_File]]**\\ |
- | **/file_name=::export_folder&**lankleangle.txt\\ | + | **/FILE_NAME=::EXPORT_FOLDER&**LAnkleAngle.txt\\ |
...\\ | ...\\ | ||
**;**\\ | **;**\\ | ||
- | when referencing a pipeline parameter in a script, you must type two colons before the parameter. | + | When referencing a pipeline parameter in a script, you must type two colons before the parameter. |
- | note sure if an ampersand is necessary? | + | Note sure if an ampersand is necessary? |
- | |notes: | | + | |NOTES: | |
- | |* different | + | |* Different |
- | ====== expressions ====== | + | ===== Expressions |
- | the [[visual3d:documentation:pipeline:expressions:overview|evaluate_expression]] command allows you to type out an expression using mathematical operators. | + | The [[Visual3D:Documentation:Pipeline:Expressions:Expressions_Overview|Evaluate_Expression]] command allows you to type out an expression using mathematical operators. |
- | many commands have pipeline parameters that accept expressions using the same syntax as the [[visual3d:documentation:pipeline:expressions:overview|evaluate_expression]] command. | + | Many commands have pipeline parameters that accept expressions using the same syntax as the [[Visual3D:Documentation:Pipeline:Expressions:Expressions_Overview|Evaluate_Expression]] command. |
- | ===== signal names ===== | + | ==== Signal Names ==== |
- | ==== signal names as expressions ==== | + | === Signal Names as Expressions |
- | **in an [[visual3d:documentation:pipeline:expressions:overview|expression]], | + | **In an [[Visual3D:Documentation:Pipeline:Expressions:Expressions_Overview|expression]], |
- | **signals | + | **Signals |
- | |**this signal would be referenced | + | |**This signal would be referenced |
- | **important:** you will notice there are two colons in between the type, folder and signal name. two colons are also used to represent a pipeline parameter, but they mean different things. | + | **Important:** You will notice there are two colons in between the type, folder and signal name. Two colons are also used to represent a pipeline parameter, but they mean different things. |
- | ==== signal names as parameters ==== | + | === Signal Names as Parameters |
- | many commands have the following parameters | + | Many commands have the following parameters |
< | < | ||
- | /signal_types= the types of the signals | + | /Signal_Types= The types of the signals |
- | /signal_folder= the name of the signal folder | + | /Signal_Folder= The name of the signal folder |
- | /signal_names= the names of the signals | + | /Signal_Names= The names of the signals |
</ | </ | ||
- | this means the command requires the type, folder and signal names specified in these parameters (instead of using the expression | + | This means the command requires the type, folder and signal names specified in these parameters (instead of using the Expression |
+ | |||
+ | ===== FAQ ===== | ||
- | ====== faq ====== | + | |Frequently Asked Questions: |
+ | |You cannot create your own parameters for a command. For example, the default parameters for the Automatic Gait Events command are the following: | ||
- | |frequently asked questions: | ||
- | |you cannot create your own parameters for a command. for example, the default parameters for the automatic gait events command are the following: | ||
- | }}}}}}}} |
visual3d/documentation/pipeline/general_information/pipeline_introduction.1718801464.txt.gz · Last modified: 2024/06/19 12:51 by sgranger