visual3d:documentation:pipeline:expressions:examples
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
visual3d:documentation:pipeline:expressions:examples [2024/07/03 17:28] – removed sgranger | visual3d:documentation:pipeline:expressions:examples [2024/11/25 20:02] (current) – [Compute the magnitude of a vector] wikisysop | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Examples ====== | ||
+ | |||
+ | ==== Create signal using another signal component ==== | ||
+ | |||
+ | Extract the z-component of a target. | ||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Add two ANALOG signals ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Divide the components of a signal ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Create a vector between two locations ==== | ||
+ | |||
+ | A vector is created by subtracting one location from another. | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Average several TARGET signals ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Distance between a TARGET and a LANDMARK ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Perpendicular distance - LANDMARK to VECTOR ==== | ||
+ | |||
+ | Compute the perpendicular distance from the Knee Joint Center (LANDMARK:: | ||
+ | |||
+ | < | ||
+ | ! create a unit_vector from the hip joint landmark (RIGHT_HIP) to the ankle joint landmark (RT_ANKLE) | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! create a vector from the hip joint landmark (RIGHT_HIP) to the knee joint landmark (RT_KNEE) | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! compute the perpendicular distance from the RT_KNEE to the vector from the HIP to the ANKLE | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Get the actual start time of the C3D file ==== | ||
+ | |||
+ | Visual3D always treats the first frame of data in the C3D file as Frame 1. If the original c3d file was truncated, so that the first frame is not 1, Visual3D retains that information and stores it in the Visual3D Parameter Group. If a user wants to compute the actual start time for the file, the following command can be used. | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Copying a signal ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | **Note:** The Result_Folder cannot be ORIGINAL because we frown on artificially labelling a signal as ORIGINAL. If ORIGINAL is specified, the data is automatically stored in the PROCESSED folder | ||
+ | |||
+ | ==== Copy a signal to the Global Workspace ==== | ||
+ | |||
+ | In order to pass data between files, it is necessary to use the [[Visual3D: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Copy a signal to a different signal type ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | **Note:** The PROCESSED signal is at the sampling rate of the Analog signal. | ||
+ | |||
+ | ==== Subtracting Two Metrics ==== | ||
+ | |||
+ | Subtract two metric values. | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | === Subtract Global Mean Value from Signal === | ||
+ | |||
+ | The Evaluate_Expression command can be used to subtract a global mean value from a signal. In this example, an offset (mean value of the signal) is found for two analog signals from one trial and the offset value is subtracted from the same two analog signals found in other trials. | ||
+ | |||
+ | < | ||
+ | ! ----------------------------------------------- | ||
+ | ! Select a specific trial and compute mean values | ||
+ | ! ----------------------------------------------- | ||
+ | |||
+ | ! Select OFFSET_TRIAL as active file | ||
+ | Select_Active_File | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Compute mean of signals ADC1 and ADC2. The resulting means are named ADC1_Offset and ADC2_offset and | ||
+ | ! are located in the METRIC:: | ||
+ | Metric_Mean | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | ! ----------------------------------------------- | ||
+ | ! Select remaining trials and subtract mean value | ||
+ | ! ----------------------------------------------- | ||
+ | |||
+ | ! Select OTHER_TRIALS as the active files | ||
+ | Select_Active_File | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Loop for each signal | ||
+ | For_Each | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Subtract Global Mean Value from Signal | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | End_For_Each | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Create a vector ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Set 2 components of a vector to zero ==== | ||
+ | |||
+ | Set the x and z components of a vector to zero | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Compute the magnitude of a vector ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Compute the maximum value of the speed of the COG ==== | ||
+ | |||
+ | Compute the maximum value of the speed of the Center of Mass of the model between two events | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | ==== Create a 2x2 matrix ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | The output of this command will be: | ||
+ | |||
+ | ^Frame | ||
+ | |1 | ||
+ | |2 | ||
+ | |||
+ | ==== Create a 1 Hz Sine wave ==== | ||
+ | |||
+ | Create the signal at the POINT rate. | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | |||
+ | Create the signal at the ANALOG rate. | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Compute the cross product of two vectors ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Compute the angle between two unit vectors ==== | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | The resulting values will be expressed in radians. | ||
+ | |||
+ | The equivalent command that will have the result expressed in degrees is: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Integrate a signal between events ==== | ||
+ | |||
+ | Integrate signal FORCE:: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Create a binary signal ==== | ||
+ | |||
+ | Based on a threshold signal, make the newly created signal contain the value 1 when the original signal' | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Test whether Signal 1 greater than Signal 2 ==== | ||
+ | |||
+ | Given two signals, TARGET:: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | The output signal will be 1 when RFT1::Z is greater than LFT1::Z and 0 otherwise | ||
+ | |||
+ | ==== Set negative values to zero ==== | ||
+ | |||
+ | Set all of the negative values of a signal to 0.0. This expression uses the Boolean operator > to identify when the Y component of FP1 is greater than 0 | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | |||
+ | Similarly, you can set the positive values to zero | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Set negative values to NO_DATA ==== | ||
+ | |||
+ | If the z-component of the LELB signal is below 0 set the frame to NO_DATA | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== If one tracking marker is no_data, make all tracking markers no_data ==== | ||
+ | |||
+ | When tracking markers drop out or go missing through out a trial, there is often an artifact in the segment pose. | ||
+ | |||
+ | This artifact is related to two issues: | ||
+ | - The filtered signal isn't very good at the point of dropout | ||
+ | - The best fit to the tracking marker template changes when the template changes. | ||
+ | |||
+ | The following are different solutions that could be used: | ||
+ | - **Solution One:** Remove all signal processing until the very end. In other words filter the LINK_MODEL_BASED signals, but don't filter the TARGET or ANALOG signals. This option is consistent with Ton van den Bogert' | ||
+ | - **Solution Two:** Filter the data, and apply a median filter to the LINK_MODEL_BASED signals. This removes artifacts but we aren't sure if this is appropriate. | ||
+ | - **Solution Three:** This solution isn't available in Visual3D yet, but we are exploring the possibility of filtering the rotation matrix (e.g. after the pose is computed). I like this option, but it may be a while before it is implemented. | ||
+ | - **Solution Four:** Require that all tracking markers on a segment exist or the pose won't be computed. | ||
+ | |||
+ | An example of **Solution Four** is below: | ||
+ | |||
+ | * Given thigh targets RTH1, RTH2, RTH3, RTH4 | ||
+ | * If one of the targets is NO_DATA, you want all targets to be NO_DATA. | ||
+ | * Use a boolean operator on the target residual. | ||
+ | * The target residual is specified using the component " | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | ( | ||
+ | (TARGET:: | ||
+ | (TARGET:: | ||
+ | (TARGET:: | ||
+ | (TARGET:: | ||
+ | ) | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Conditional Statement ==== | ||
+ | |||
+ | Implement a conditional expression like the following: | ||
+ | |||
+ | < | ||
+ | for i=1:nframe | ||
+ | if y1(i,3)< y1(i,4) | ||
+ | data(i)= y1(i, | ||
+ | else | ||
+ | data(i)= y1(i, | ||
+ | end | ||
+ | end | ||
+ | </ | ||
+ | |||
+ | Assume the signal y1 is a target **TARGET:: | ||
+ | |||
+ | The expressions (Y <Z and Y >= Z) evaluate to " | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Rank Order a Set of Metrics ==== | ||
+ | |||
+ | Given a set of metric signals containing one component. | ||
+ | *METRIC:: | ||
+ | *METRIC:: | ||
+ | *METRIC:: | ||
+ | *METRIC:: | ||
+ | |||
+ | The result of the following command will be the RANK of the metric (**METRIC:: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Example: Extracting one " | ||
+ | |||
+ | The following command will result in the DERIVED signal TEST containing the X component values of the TARGET RFT1. | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Extracting one frame of data from a signal ==== | ||
+ | |||
+ | The following command will result in the METRIC signal TEST containing the values of the TARGET RFT1 from Frame 3. | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | This can be useful in the following situation: a signal exists that contains the mean and standard deviation of a signal over a gait cycle (e.g. created using [[Visual3D: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Value of signal at an analog frame ==== | ||
+ | |||
+ | Assume that you have an analog signal and the frame that you are looking for is based on a threshold crossing which usually doesn' | ||
+ | |||
+ | Assume that you want the value of another analog signal at that analog_frame. The GRF is at the analog rate, and I am assuming the COM-COP is computed from the analog signals, so it too is at analog rate. | ||
+ | |||
+ | < | ||
+ | ! Step 1 Create an event at frame 1 | ||
+ | Event_Explicit | ||
+ | / | ||
+ | /FRAME=1 | ||
+ | ! /TIME= | ||
+ | ; | ||
+ | |||
+ | ! Step 2 Create a metric with the threshold value | ||
+ | ! Presumably you have some method for computing this | ||
+ | ! but in this example, I just set the metric | ||
+ | Metric_Explicit | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Step 3 is to create a binary signal FZ2_BIN that is based on the analog signal (in this case FZ2). | ||
+ | ! Any analog frame that is greater than the metric value THRESH is set to 1 all other frames are set to 0 | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Step 4 - Create an END frame that is after the threshold crossing but before the next time the | ||
+ | ! binary signal becomes 1. This will be at the POINT rate. | ||
+ | Event_Onset | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ! /BASELINE=0 | ||
+ | ! / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | ! Step 5 - Now sum the binary signal from START to END | ||
+ | ! The resulting number is the analog frame number | ||
+ | Metric_Sum | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | ! Step 6 - This is kind of a goofy step, but we need to create a pipeline | ||
+ | ! parameter to hold the metric value analog frame | ||
+ | Set_Pipeline_Parameter_To_Data_Value | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | |||
+ | ! Step 7 - Now you can get the value of an analog signal at the analog frame | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Representing the equation R= (Y - M*X - B)^2 ==== | ||
+ | |||
+ | Consider a DERIVED signal named TEST that is stored in the processed folder and has 2 or more component (X, Y, ....). | ||
+ | *X => DERIVED:: | ||
+ | *Y => DERIVED:: | ||
+ | |||
+ | Consider M and B to be two Metric signals with one component | ||
+ | *M => METRIC:: | ||
+ | *B => METRIC:: | ||
+ | |||
+ | The expression is represented as: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | The resulting signal is named RESULT and stored in the PROCESSED folder | ||
+ | |||
+ | ==== Comparing a model metric with a string ==== | ||
+ | |||
+ | Consider a model metric that is defined as a string. | ||
+ | |||
+ | < | ||
+ | Set_Model_Metric | ||
+ | ! / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | Now compare it to the text string " | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | The text strings should be equal so the resulting signal contains a 1 | ||
+ | |||
+ | ==== Exporting a model metric ==== | ||
+ | |||
+ | Model metrics cannot be exported directly. You can, however, copy the model metric to a regular metric signal that can be exported. It is probably safest to create the new metric signal as a global metric because it isn't associated with any particular movement trial. For example the commands below will export the length of the right thigh segment. | ||
+ | |||
+ | < | ||
+ | ! Copy the model metric RTH::LENGTH to the GLOBAL metric folder | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Make the global workspace active | ||
+ | Select_Active_File | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Export the signal | ||
+ | ! Prompt for the exported filename | ||
+ | Export_Data_To_Ascii_File | ||
+ | ! /FILE_NAME= | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Store a Model Metric in the Data Tree ==== | ||
+ | |||
+ | Model metrics are stored with the model, but the data can be moved to each C3D file (stored in the data tree). This example will multiply the model metrics for mass and height to use for normalizing a signal. The resulting metric is called MASS_X_HEIGHT and will be stored in the METRIC:: | ||
+ | |||
+ | < | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Quasi Case Statement ==== | ||
+ | |||
+ | Given a group of unilaterally affected subjects. The Left side calculations could be the " | ||
+ | |||
+ | In the commands below, wo parameters specify the letter of primary side (SIDE_LETTER) and the letter of opposite side (OPP_SIDE_LETTER). The script then uses these parameters to compute the Arm angle relative to the trunk for the two sides. The final command uses **Evaluate_Expression** to check to see which is the primary side and compute the arms angle of the primary side using Evaluate Expression' | ||
+ | |||
+ | < | ||
+ | ! Define Side Parameters | ||
+ | |||
+ | Set_Pipeline_Parameter | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | Set_Pipeline_Parameter | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | !Calculate IN MODEL BASED joint angle - ArmAngle for side | ||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! NORMALIZATION_METHOD= | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | /AXIS1=z | ||
+ | !/AXIS2=Y | ||
+ | / | ||
+ | ; | ||
+ | |||
+ | ! Calculate IN MODEL BASED joint angle - ArmAngle for opposite side | ||
+ | |||
+ | Compute_Model_Based_Data | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | ! / | ||
+ | ! NORMALIZATION_METHOD= | ||
+ | / | ||
+ | / | ||
+ | ! / | ||
+ | / | ||
+ | /AXIS1=z | ||
+ | !AXIS2=Y | ||
+ | /AXIS3=Z | ||
+ | ; | ||
+ | |||
+ | ! Handle sidedness | ||
+ | Evaluate_Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | ==== Get Time At Event ==== | ||
+ | |||
+ | Get the event times for the label **ONSET** and place them in the metric folder | ||
+ | |||
+ | < | ||
+ | Evaluate Expression | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | ; | ||
+ | </ | ||
+ | |||
+ | |||
visual3d/documentation/pipeline/expressions/examples.1720027695.txt.gz · Last modified: 2024/07/03 17:28 by sgranger