visual3d:documentation:pipeline:signal_commands:signal_management_commands
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:signal_commands:signal_management_commands [2024/06/19 12:53] – sgranger | visual3d:documentation:pipeline:signal_commands:signal_management_commands [2024/07/17 15:46] (current) – created sgranger | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{{{{{{{===== contents | + | ====== Signal Management Commands ====== |
+ | ==== Contents ==== | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
- | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
+ | * [[# | ||
- | ===== signal management ===== | ||
- | ==== global_normalized_signal_mean | + | ==== Signal Management |
- | 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. note: the global_normalized_signal_mean command only works on one component at at time for each signal. (you must select either y, y or z as the signal_components.) | + | === Global_Normalized_Signal_Mean === |
- | first add the global_normalized_signal_mean command | + | 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. Note: the Global_Normalized_Signal_Mean |
- | gmsm_1.jpg | + | First add the Global_Normalized_Signal_Mean command to the pipeline. Double click on the command to launch the dialog. |
- | select the rknee_angle signal and the event sequence (e.g rhs to rhs) and select **add a new signal** | + | {{:GMSM_1.jpg}} |
- | gnsm_2.jpg | + | select the RKNEE_ANGLE Signal and the event sequence (e.g RHS to RHS) and select **Add A New Signal** |
- | select the lknee_angle signal and the event sequence (e.g lhs to lhs) and select **add a new signal** | + | {{:GNSM_2.jpg}} |
- | gnsm_3.jpg | + | select the LKNEE_ANGLE Signal and the event sequence (e.g LHS to LHS) and select **Add A New Signal** |
- | enter the **p2d result signal name** and click **create standard deviation** button gnsm_4.jpg | + | {{:GNSM_3.jpg}} |
- | when you select **ok** the text representation of the command should be as follows: | + | Enter the **P2D Result Signal Name** and click **Create Standard Deviation** Button {{: |
+ | |||
+ | When you select **OK** the text representation of the command should be as follows: | ||
< | < | ||
- | global_normalized_signal_mean | + | Global_Normalized_Signal_Mean |
- | /signal_types=link_model_based+link_model_based | + | /SIGNAL_TYPES=LINK_MODEL_BASED+LINK_MODEL_BASED |
- | /signal_names=rknee_angle+lknee_angle | + | /SIGNAL_NAMES=RKNEE_ANGLE+LKNEE_ANGLE |
- | /signal_folder=original+original | + | /SIGNAL_FOLDER=ORIGINAL+ORIGINAL |
- | /signal_components=x+x | + | /SIGNAL_COMPONENTS=X+X |
- | /start_label= | + | /START_LABEL= |
- | /end_label= | + | /END_LABEL= |
- | /event_sequence= rhs+rhs++lhs+lhs | + | /EVENT_SEQUENCE= RHS+RHS++LHS+LHS |
- | ! /exclude_events= | + | ! /EXCLUDE_EVENTS= |
- | /result_name=knee_flexion | + | /RESULT_NAME=KNEE_FLEXION |
- | ! /result_folder=original | + | ! /RESULT_FOLDER=ORIGINAL |
- | /normalize_points=101 | + | /NORMALIZE_POINTS=101 |
- | /create_standard_deviation=true | + | /CREATE_STANDARD_DEVIATION=TRUE |
- | ! /calculate_per_file=false | + | ! /CALCULATE_PER_FILE=FALSE |
; | ; | ||
</ | </ | ||
- | **note:** if **calculate_per_file=false** signals | + | **Note:** If **CALCULATE_PER_FILE=FALSE** Signals |
- | **note:** if **calculate_per_file=true** the mean value is computed for signals | + | **Note:** If **CALCULATE_PER_FILE=TRUE** The mean value is computed for Signals |
- | **note:** the output | + | **Note:** The Output |
- | === meta-command | + | == Meta-Command |
- | a meta-command | + | A Meta-Command |
- | let the original cmo file contain the following signals: **rankle_angle**, **rknee_angle**, **rhip_angle**, **lankle_angle**, **lknee_angle**, and **lhip_angle**. | + | Let the original cmo file contain the following signals: **RANKLE_ANGLE**, **RKNEE_ANGLE**, **RHIP_ANGLE**, **LANKLE_ANGLE**, **LKNEE_ANGLE**, and **LHIP_ANGLE**. |
- | let the events for heel strike be labeled **lhs** and **rhs**. the mean signal should be computed from heel strike to heel strike. | + | Let the events for heel strike be labeled **LHS** and **RHS**. The mean signal should be computed from heel strike to heel strike. |
- | the pipeline | + | The Pipeline |
< | < | ||
- | create_global_means_for_left_right | + | Create_Global_Means_For_Left_Right |
- | /type=angle | + | /TYPE=ANGLE |
- | /joints=ankle+knee+hip | + | /JOINTS=ANKLE+KNEE+HIP |
- | /start_event=hs | + | /START_EVENT=HS |
- | /end_event=hs | + | /END_EVENT=HS |
; | ; | ||
</ | </ | ||
- | the meta-command, which should be placed in the meta_command | + | The Meta-Command, which should be placed in the Meta_Command |
< | < | ||
- | ! begin_meta | + | ! BEGIN_META |
- | ! meta_cmd_name=create_global_means_for_left_right | + | ! META_CMD_NAME=Create_Global_Means_For_Left_Right |
- | ! meta_param= type : string :: | + | ! META_PARAM= TYPE : string :: |
- | ! meta_param= joints | + | ! META_PARAM= JOINTS |
- | ! meta_param= start_event | + | ! META_PARAM= START_EVENT |
- | ! meta_param= end_event | + | ! META_PARAM= END_EVENT |
- | ! end_meta | + | ! END_META |
- | ! create | + | ! Create |
- | for_each | + | For_Each |
- | /items=::joints | + | /ITEMS=::JOINTS |
; | ; | ||
- | for_each | + | For_Each |
- | /iteration_parameter_name=index2 | + | /ITERATION_PARAMETER_NAME=INDEX2 |
- | /items=x+y+z | + | /ITEMS=X+Y+Z |
; | ; | ||
- | global_normalized_signal_mean | + | Global_Normalized_Signal_Mean |
- | /signal_types=link_model_based+link_model_based | + | /SIGNAL_TYPES=LINK_MODEL_BASED+LINK_MODEL_BASED |
- | /signal_names=r&::index1& | + | /SIGNAL_NAMES=R&::INDEX1& |
- | /signal_folder=original+original | + | /SIGNAL_FOLDER=ORIGINAL+ORIGINAL |
- | /signal_components=::index2+::index2 | + | /SIGNAL_COMPONENTS=::INDEX2+::INDEX2 |
- | /start_label=r&::start_event+l&::end_event | + | /START_LABEL=R&::START_EVENT+L&::END_EVENT |
- | /end_label=r&::start_event+l&::end_event | + | /END_LABEL=R&::START_EVENT+L&::END_EVENT |
- | ! /event_sequence= | + | ! /EVENT_SEQUENCE= |
- | ! /exclude_events= | + | ! /EXCLUDE_EVENTS= |
- | /result_name=::index1& | + | /RESULT_NAME=::INDEX1& |
- | ! /result_folder=original | + | ! /RESULT_FOLDER=ORIGINAL |
- | ! /normalize_points=101 | + | ! /NORMALIZE_POINTS=101 |
- | ! /create_standard_deviation=false | + | ! /CREATE_STANDARD_DEVIATION=FALSE |
- | ! /calculate_per_file=false | + | ! /CALCULATE_PER_FILE=FALSE |
; | ; | ||
- | end_for_each | + | End_For_Each |
- | /iteration_parameter_name=index2 | + | /ITERATION_PARAMETER_NAME=INDEX2 |
; | ; | ||
- | end_for_each | + | End_For_Each |
- | /iteration_parameter_name=index1 | + | /ITERATION_PARAMETER_NAME=INDEX1 |
; | ; | ||
</ | </ | ||
- | ==== find representative signal ==== | + | === Find Representative Signal |
- | find the signal that is most representative of a set of signals. | + | Find the signal that is most representative of a set of signals. |
- | shadmehr r and mussa-ivaldi fa (1994) **adaptive representation | + | Shadmehr R and Mussa-Ivaldi FA (1994) **Adaptive Representation |
- | **note:** that there is an error in the appendix that we have accounted for. | + | **Note:** that there is an error in the appendix that we have accounted for. |
- | for example, to find the representative | + | For example, to find the representative |
< | < | ||
- | find_representative_signal | + | Find_Representative_Signal |
- | /signal_types=link_model_based | + | /SIGNAL_TYPES=LINK_MODEL_BASED |
- | /signal_names=rknee_angle | + | /SIGNAL_NAMES=RKNEE_ANGLE |
- | /signal_folder=original | + | /SIGNAL_FOLDER=ORIGINAL |
- | /signal_components=x | + | /SIGNAL_COMPONENTS=X |
- | /event_sequence=rhs+rhs | + | /EVENT_SEQUENCE=RHS+RHS |
- | ! /exclude_events= | + | ! /EXCLUDE_EVENTS= |
- | ! /normalize_result_points= | + | ! /NORMALIZE_RESULT_POINTS= |
- | /result_name=rknee_angle_rep | + | /RESULT_NAME=RKNEE_ANGLE_REP |
- | ! /result_folder=original | + | ! /RESULT_FOLDER=ORIGINAL |
; | ; | ||
</ | </ | ||
- | ==== merge_data ==== | + | === Merge_Data |
- | merges | + | Merges |
- | for example, create a vector from 3 analog signals. | + | For example, create a vector from 3 analog signals. |
< | < | ||
- | merge_data | + | Merge_Data |
- | /signal_names=analog1+analog2+analog3 | + | /SIGNAL_NAMES=Analog1+Analog2+Analog3 |
- | /signal_types=analog+analog+analog | + | /SIGNAL_TYPES=ANALOG+ANALOG+ANALOG |
- | /signal_folder=original+original+original | + | /SIGNAL_FOLDER=ORIGINAL+ORIGINAL+ORIGINAL |
- | /signal_components=0+0+0 | + | /SIGNAL_COMPONENTS=0+0+0 |
- | /result_name=vector | + | /RESULT_NAME=Vector |
- | /result_type=derived | + | /RESULT_TYPE=DERIVED |
- | /result_folder=processed | + | /RESULT_FOLDER=PROCESSED |
- | /merge_type=merge_as_new_components | + | /MERGE_TYPE=MERGE_AS_NEW_COMPONENTS |
; | ; | ||
</ | </ | ||
- | **note:** if the signal_components | + | **Note:** If the Signal_Components |
- | ==== copy_folder ==== | + | === Copy_Folder |
- | makes a copy of an existing folder. | + | Makes a copy of an existing folder. |
< | < | ||
- | copy_folder | + | Copy_Folder |
- | /signal_type= | + | /SIGNAL_TYPE= |
- | /existing_folder= | + | /EXISTING_FOLDER= |
- | /new_folder_name= | + | /NEW_FOLDER_NAME= |
- | /overwrite_existing_signals=false | + | /OVERWRITE_EXISTING_SIGNALS=FALSE |
; | ; | ||
</ | </ | ||
- | ==== rename_folder ==== | + | === Rename_Folder |
- | rename | + | Rename |
< | < | ||
- | rename_folder | + | Rename_Folder |
- | /signal_type= | + | /SIGNAL_TYPE= |
- | /existing_folder= | + | /EXISTING_FOLDER= |
- | /new_folder_name= | + | /NEW_FOLDER_NAME= |
; | ; | ||
</ | </ | ||
- | ==== delete_folder ==== | + | === Delete_Folder |
- | deletes | + | Deletes |
< | < | ||
- | delete_folder | + | Delete_Folder |
- | /signal_type= | + | /SIGNAL_TYPE= |
- | /folder= | + | /FOLDER= |
; | ; | ||
</ | </ | ||
- | ==== remove_signals ==== | + | === Remove_Signals |
- | remove | + | Remove |
< | < | ||
- | remove_signals | + | Remove_Signals |
- | /signal_types= | + | /SIGNAL_TYPES= |
- | /signal_names= | + | /SIGNAL_NAMES= |
- | ! /signal_folder=original | + | ! /SIGNAL_FOLDER=ORIGINAL |
; | ; | ||
</ | </ | ||
- | for example, remove one derived | + | For example, remove one Derived |
< | < | ||
- | remove_signals | + | Remove_Signals |
- | /signal_types=derived+metric | + | /SIGNAL_TYPES=DERIVED+METRIC |
- | /signal_names= | + | /SIGNAL_NAMES= |
- | ! /signal_folder=processed+processed | + | ! /SIGNAL_FOLDER=PROCESSED+PROCESSED |
; | ; | ||
</ | </ | ||
- | ==== rename_signals ==== | + | === Rename_Signals |
- | rename | + | Rename |
- | for example, rename a derived | + | For example, rename a DERIVED |
< | < | ||
- | rename_signals | + | Rename_Signals |
- | ! /file_name= | + | ! /FILE_NAME= |
- | /signal_types=derived | + | /SIGNAL_TYPES=DERIVED |
- | /signal_names=derived1 | + | /SIGNAL_NAMES=Derived1 |
- | /signal_folder=processed | + | /SIGNAL_FOLDER=PROCESSED |
- | /new_signal_name=derived2 | + | /NEW_SIGNAL_NAME=Derived2 |
- | ! /append_to_old_signal_name=false | + | ! /APPEND_TO_OLD_SIGNAL_NAME=FALSE |
; | ; | ||
</ | </ | ||
- | }}}}}}}} | + |
visual3d/documentation/pipeline/signal_commands/signal_management_commands.1718801603.txt.gz · Last modified: 2024/06/19 12:53 by sgranger