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 12:53] – 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: | ||
- | ====== | + | ====== |
- | compute | + | This pipeline command computes |
- | this is a cumulative integral, starting from an initial | + | 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) | ||
+ | </ | ||
- | integral (t) = integral | + | where T = time between frames |
- | \\ | + | |
- | the command integrates a signal using the [[http:// | + | |
- | the integral between two frames += ( (valueatframe1+valueatframe2)*deltat / 2 ) | + | ===== Command ===== |
- | where t = time between frames (this is the data rate) | + | The command can be edited via text editor. The details on the command are found below: |
- | the [[visual3d:documentation: | + | |
- | ====== | + | < |
+ | Indefinite_Integral | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
- | the command can be edited via text editor. the details on the command are found below: | + | ==== Notes ==== |
- | | | + | The [[Visual3D: |
- | result_types | + | Valid Result_Types |
- | if the signal_types= target, the result type can only be target, derived, or metric | + | The Initial_Value parameter, |
- | the initial_value is 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. |
- | ===== examples ===== | + | **Note:** This is only an example and you should check the constants of integration for your analysis. |
- | + | ||
- | 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 | + | ! Take the vertical |
- | ! result by body mass to get the vertical | + | ! result by body mass to get the vertical |
!************************************************************************ | !************************************************************************ | ||
- | ! add the two signals from f1 and f2 - end result is grf for both plates | + | ! Add the two signals from F1 and F2 - end result is GRF for both plates |
- | add_signals | + | Add_Signals |
- | /signal_types=force+force | + | /SIGNAL_TYPES=FORCE+FORCE |
- | /signal_names=fp1+fp2 | + | /SIGNAL_NAMES=FP1+FP2 |
- | /signal_folder=processed+processed | + | /SIGNAL_FOLDER=PROCESSED+PROCESSED |
- | /result_name=grf | + | /RESULT_NAME=GRF |
- | /result_folder=processed | + | /RESULT_FOLDER=PROCESSED |
; | ; | ||
- | ! subtract | + | ! Subtract |
- | subtract_signals | + | Subtract_Signals |
- | /signal_types=derived+metric | + | /SIGNAL_TYPES=DERIVED+METRIC |
- | /signal_folder=processed | + | /SIGNAL_FOLDER=PROCESSED |
- | /signal_names=grf+mass_n | + | /SIGNAL_NAMES=GRF+MASS_N |
- | /component_sequence=z, all | + | /COMPONENT_SEQUENCE=Z, ALL |
- | /result_name=grf_r | + | /RESULT_NAME=GRF_R |
- | ! /result_folder=processed | + | ! /RESULT_FOLDER=PROCESSED |
; | ; | ||
</ | </ | ||
< | < | ||
- | ! divide | + | ! Divide |
- | divide_signals | + | Divide_Signals |
- | /signal_types=derived+metric | + | /SIGNAL_TYPES=DERIVED+METRIC |
- | /signal_folder=processed | + | /SIGNAL_FOLDER=PROCESSED |
- | /signal_names=grf_r+mass | + | /SIGNAL_NAMES=GRF_R+MASS |
- | /component_sequence=all | + | /COMPONENT_SEQUENCE=ALL |
- | /result_name=com_grf_z_accel | + | /RESULT_NAME=COM_GRF_Z_ACCEL |
- | ! /result_folder=processed | + | ! /RESULT_FOLDER=PROCESSED |
; | ; | ||
!************************************************************ | !************************************************************ | ||
- | ! integrate | + | ! Integrate |
- | ! change in vertical | + | ! change in vertical |
!*********************************************************** | !*********************************************************** | ||
- | indefinite_integral | + | Indefinite_Integral |
- | /signal_types=derived | + | /SIGNAL_TYPES=DERIVED |
- | /signal_names=com_grf_z_accel | + | /SIGNAL_NAMES=COM_GRF_Z_ACCEL |
- | /signal_folder=processed | + | /SIGNAL_FOLDER=PROCESSED |
- | /result_suffix=_vel | + | /RESULT_SUFFIX=_VEL |
- | ! /result_folder=processed | + | ! /RESULT_FOLDER=PROCESSED |
- | ! /start_at_event= | + | ! /START_AT_EVENT= |
- | ! /end_at_event= | + | ! /END_AT_EVENT= |
- | ! /initial_value=0 | + | ! /INITIAL_VALUE=0 |
; | ; | ||
</ | </ | ||
- | ===== legacy parameters | + | ==== 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.1718801590.txt.gz · Last modified: 2024/06/19 12:53 by sgranger