visual3d:documentation:pipeline:signal_commands:indefinite_integral
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:indefinite_integral [2024/06/19 13:38] – removed sgranger | visual3d:documentation:pipeline:signal_commands:indefinite_integral [2024/09/09 20:09] (current) – Cleaned up the page and began applying the pipeline page format. wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Indefinite Integral ====== | ||
+ | |||
+ | This pipeline command computes an indefinite integral from the start event to the stop event. This is a cumulative integral, with the value of each frame indicating the cumulative sum from the start event' | ||
+ | |||
+ | For a given signal, s, the value of its integral at a given frame at time t is computed from the previous frame, at time t-1, as follows: | ||
+ | < | ||
+ | integral (t) = integral (t-1) + ((s(t)+s(t-1))* T / 2) | ||
+ | </ | ||
+ | |||
+ | where T = time between frames (this is the data rate) | ||
+ | |||
+ | ===== Command ===== | ||
+ | |||
+ | The command can be edited via text editor. The details on the command are found below: | ||
+ | |||
+ | < | ||
+ | Indefinite_Integral | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Notes ==== | ||
+ | |||
+ | The [[Visual3D: | ||
+ | |||
+ | Valid Result_Types are restricted according to the Signal_Types that are input into the command. If the Signal_Types are from the [[visual3d: | ||
+ | |||
+ | The Initial_Value parameter, if used, must be a signal expression that can return multiple components. The same Initial_Value expression is used for all signals. | ||
+ | |||
+ | ==== Examples ==== | ||
+ | |||
+ | This example calculates the velocity of the center of mass from force platform data during a vertical jump using the **Indefinite_Integral** command. Constants of integration (initial value) must be determined. In this case, the initial value is the initial velocity at the start of the preparation for the jump which is zero. | ||
+ | |||
+ | **Note:** This is only an example and you should check the constants of integration for your analysis. | ||
+ | |||
+ | < | ||
+ | !************************************************************************ | ||
+ | ! Take the vertical GRF, subtract the body weight, and divide the | ||
+ | ! result by body mass to get the vertical CoM acceleration | ||
+ | !************************************************************************ | ||
+ | |||
+ | ! Add the two signals from F1 and F2 - end result is GRF for both plates | ||
+ | Add_Signals | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Subtract the body weight in N - Metric is MASS_N | ||
+ | Subtract_Signals | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | < | ||
+ | ! Divide the result by body mass to get the vertical CoM acceleration | ||
+ | Divide_Signals | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | !************************************************************ | ||
+ | ! Integrate the vertical CoM acceleration over time to get the | ||
+ | ! change in vertical CoM velocity. Initial value is zero | ||
+ | !*********************************************************** | ||
+ | |||
+ | Indefinite_Integral | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Legacy Parameters ==== | ||
+ | |||
+ | Earlier versions of Visual3D accepted the following parameters for this command. These parameters are no longer supported. | ||
+ | |||
+ | < | ||
+ | Indefinite_Integral | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
visual3d/documentation/pipeline/signal_commands/indefinite_integral.1718804338.txt.gz · Last modified: 2024/06/19 13:38 by sgranger