visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter_to_data_value
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter_to_data_value [2024/07/16 16:59] – removed sgranger | visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter_to_data_value [2026/06/19 18:04] (current) – wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Set Pipeline Parameter To Data Value ===== | ||
| + | |||
| + | ====Overview==== | ||
| + | This command can be used to set the value of a pipeline parameter to a specified value as defined by the user. This value can be any type of signal in that given workspace. This command can be found under **Pipeline Control** in the pipeline workshop. | ||
| + | |||
| + | ====Pipeline Command==== | ||
| + | |||
| + | The command below is as seen on the Visual3D application. | ||
| + | < | ||
| + | Set_Pipeline_Parameter_To_Data_Value | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
| + | ====Command Parameters==== | ||
| + | |||
| + | The following table shows the command parameters and descriptions: | ||
| + | |||
| + | |SIGNAL_TYPES |The type of signal you wish to set as the parameter value, e.g. LINK_MODEL_BASED| | ||
| + | |SIGNAL_FOLDER| Corresponding Folder e.g. PROCESSED| | ||
| + | |SIGNAL_NAMES |Name of the Desired signal| | ||
| + | |SIGNAL_COMPONENTS| Components of the desired Signal, default is all components| | ||
| + | |PARAMATER_NAME| Name for new parameter| | ||
| + | |||
| + | |||
| + | ====Examples==== | ||
| + | ===Simple example=== | ||
| + | |||
| + | Create a parameter called SUBJECT_ID based on subject names stored in PARAMETERS: | ||
| + | |||
| + | < | ||
| + | Set_Pipeline_Parameter_To_Data_Value | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | ===Complex example=== | ||
| + | |||
| + | Example of EMG data processing using **Set_Parameter_Pipeline_To_Data_Value** to get the analog sampling which was used to determine the number of frames of the moving RMS window. | ||
| + | < | ||
| + | File_New | ||
| + | |||
| + | ; | ||
| + | |||
| + | Set_Pipeline_Parameter_To_Folder_Path | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | File_Open | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! /SUFFIX= | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | !Assign Tags to MVC_A file | ||
| + | Assign_Tags_To_File | ||
| + | / | ||
| + | ! /QUERY= | ||
| + | /TAGS=MVC_A | ||
| + | ; | ||
| + | |||
| + | !Assign Tags to MVC_B file | ||
| + | Assign_Tags_To_File | ||
| + | / | ||
| + | ! /QUERY= | ||
| + | /TAGS=MVC_B | ||
| + | ; | ||
| + | |||
| + | !Assign Tags to MVC_C file | ||
| + | Assign_Tags_To_File | ||
| + | / | ||
| + | ! /QUERY= | ||
| + | /TAGS=MVC_C | ||
| + | ; | ||
| + | |||
| + | !Assign Tags to walking files | ||
| + | Assign_Tags_To_File | ||
| + | / | ||
| + | !/QUERY= | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | Set_Pipeline_Parameter | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! Select active file ALL_FILES | ||
| + | Select_Active_File | ||
| + | / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | ! Apply highpass filter with 50 Hz cutoff | ||
| + | Highpass_Filter | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! Apply lowpass filter with 500 Hz cutoff | ||
| + | Lowpass_Filter | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | Set_Pipeline_Parameter_To_Data_Value | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | Moving_RMS | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | Event_Explicit | ||
| + | / | ||
| + | /FRAME=50 | ||
| + | ! /TIME= | ||
| + | ; | ||
| + | |||
| + | Event_Explicit | ||
| + | / | ||
| + | /FRAME=250 | ||
| + | ! /TIME= | ||
| + | ; | ||
| + | |||
| + | Set_Pipeline_Parameter | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | Set_Pipeline_Parameter | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | For_Each | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! Create an event at the maximum value | ||
| + | Event_Global_Maximum | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! Create an event MEAN_START 15 frames prior to the max event | ||
| + | Event_Copy | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! Create an event MEAN_END 15 frames after the max event | ||
| + | Event_Copy | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! Calculate mean of EMG signal between MEAN_START and MEAN_END | ||
| + | Metric_Mean | ||
| + | / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | ! calculate the global maximum of the mean signal | ||
| + | Metric_Maximum | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | ! Clean up some temporary signals | ||
| + | Event_Delete | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | Remove_Signals | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | End_For_Each | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | For_Each | ||
| + | / | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | ! Divide the EMG signal by it's maximum value, which was stored automatically in the GLOBAL workspace | ||
| + | |||
| + | | ||
| + | / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | / | ||
| + | / | ||
| + | / | ||
| + | ! / | ||
| + | ; | ||
| + | |||
| + | End_For_Each | ||
| + | / | ||
| + | ; | ||
| + | |||
| + | </ | ||
| + | |||
| + | |||
visual3d/documentation/pipeline/pipeline_commands/set_pipeline_parameter_to_data_value.1721149198.txt.gz · Last modified: by sgranger
