The Signal_Magnitude command computes the vector magnitude of a multi-component signal for each frame of data. Concretely, given a 3-component vector V = (x, y, z) its magnitude is:
|V| = √(x^2 + y^2 + z^2).
Signal_Magnitude ! /SIGNAL_TYPES= ! /SIGNAL_FOLDER=ORIGINAL ! /SIGNAL_NAMES= ! /RESULT_FOLDERS=PROCESSED ! /RESULT_NAME= ! /APPLY_AS_SUFFIX_TO_SIGNAL_NAME= ;
The resulting signal will be a DERIVED signal and will be placed into the /RESULT_FOLDERS with /RESULT_NAME.
The speed of the model's COG can be computed as the magnitude of its velocity signal.
Signal_Magnitude /SIGNAL_TYPES=LINK_MODEL_BASED /SIGNAL_FOLDER=ORIGINAL /SIGNAL_NAMES=COG_Velocity ! /RESULT_FOLDERS=PROCESSED /RESULT_NAME=_Magnitude /APPLY_AS_SUFFIX_TO_SIGNAL_NAME=TRUE ;
The resulting signal will then be available as DERIVED::PROCESSED::COG_Velocity_Magnitude.
Go back to Signal Commands.