visual3d:documentation:pipeline:signal_commands:signal_magnitude
Table of Contents
Signal Magnitude
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).
Pipeline Command
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.
Example
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.
See Also
Go back to Signal Commands.
visual3d/documentation/pipeline/signal_commands/signal_magnitude.txt · Last modified: 2025/08/08 20:29 by wikisysop