Documentation Site Map Main Page Reference List Motion Capture Visual3D Overview Visual3D Installation License Activation Getting Started Visual3D Documentation Overview Pipeline Commands Reference Expressions Overview CalTester Mode Overview List of Tutorials Visual3D Examples Overview Troubleshooting Sift Sift Overview Installation Getting Started Sift Documentation Overview Knowledge Discovery for Biomechanical Data Tutorial Overview Troubleshooting Inspect3D Inspect3D Overview Inspect3D Installation Overview Inspect3D Getting Started Overview Inspect3D Documentation Overview Knowledge Discovery in Inspect3D Inspect3D Tutorials Overview Troubleshooting DSX Suite DSX Overview DSX Definitions DSX Suite Installation DSX Tutorials DSX Release Notes xManager Overview PlanDSX Overview Surface3D Overview Orient3D Overview CalibrateDSX Overview Locate3D Overview X4D Overview
This is an old revision of the document!
| this example will time normalize a signal (in this case knee flexion angle) between events (**rhs** to **rhs**) for right knee angles and (**lhs** to **lhs**) for left knee angles, and compute a **global** mean and standard deviation. a meta-command will be used. \\ add the **global_normalized_signal_mean** command to the pipeline. double click on the command to launch the dialog. gnsm1.jpg select the **rknee_angle** signal and the event sequence (e.g **rhs** to **rhs**) and select add a new signal gnsm2.jpg select the **lknee_angle** signal and the event sequence (e.g **lhs** to **lhs**) and select add a new signal gnsm3.jpg enter in the **p2d result signal name** and the select **create standard deviation button** gnsm4.jpg when you select **ok** the text representation of the command should be as follows: <code> global_normalized_signal_mean /signal_types=link_model_based+link_model_based /signal_names=rknee_angle+lknee_angle /signal_folder=original+original /signal_components=x+x /start_label= /end_label= /event_sequence= rhs+rhs++lhs+lhs ! /exclude_events= /result_name=knee_flexion ! /result_folder=original /normalize_points=101 /create_standard_deviation=true ! /calculate_per_file=false ; </code> **note:** if **calculate_per_file=false**. signals from all active files are used to compute the mean **note:** if **calculate_per_file=true**. the mean value is computed for signals from each active files. the global mean value is then the mean value of the mean values. **note:** that the output signal is a p2d signal, which is associated with every file. the resulting signal, therefore, is stored in the **global_workpace** \\ the meta-command **create_global_means_for_left_right** will be used for processing all 3 components of a number of model based signals using one pipeline command. let the original cmo file contain the following signals: rankle_angle rknee_angle rhip_angle lankle_angle lknee_angle lhip_angle let the events for heel strike be labeled **lhs** and **rhs** and that mean signal should be computed from heel strike to heel strike. \\ the pipeline script for the **create_global_means_for_left_right** meta-command is below: <code> create_global_means_for_left_right /type=angle /joints=ankle+knee+hip /start_event=hs /end_event=hs ; </code> the following should be cut and pasted into the **create_global_means_for_left_right.v3m** meta_command folder which should be placed within the plugins folder. <code> ! begin_meta ! meta_cmd_name=create_global_means_for_left_right ! meta_param= type : string ::yes ! meta_param= joints : string ::yes ! meta_param= start_event : string ::yes ! meta_param= end_event : string ::yes ! end_meta ! create a global_normalized_signal_mean event for left and right ! sides with common labels (e.g. rhs and lhs) for_each /iteration_parameter_name=index1 /items=::joints ; for_each /iteration_parameter_name=index2 /items=x+y+z ; global_normalized_signal_mean /signal_types=link_model_based+link_model_based /signal_names=r&::index1&_&::type+l&::index1&_&::type /signal_folder=original+original /signal_components=::index2+::index2 /start_label=r&::start_event+l&::end_event /end_label=r&::start_event+l&::end_event ! /event_sequence= ! /exclude_events= /result_name=::index1&_&::type&_&::index2 ! /result_folder=original ! /normalize_points=101 ! /create_standard_deviation=false ! /calculate_per_file=false ; end_for_each /iteration_parameter_name=index2 ; end_for_each /iteration_parameter_name=index1 ; </code> }}}}}}