Data Analysis Functions

In blue are functions that return a vector and can't be used directly as KPI results.

Abs

Abs(Vector)
Returns a vector of the absolute value for each point of the input vector.
Example : Abs(Steering) = {0,0,0,15,17,20,12,0,0,0...}

Abs(Value)
Returns the absolute value of the input.
Example : Abs(-3) = 3

ACos

ACos(Vector)
Returns a vector containing the ACos of all the items in the original vector.
Example : ACos(Steering)

ACos(Value)
Returns the ACos of the value.
Example : ACos(1)=0

ASin

ASin(Vector)
Returns a vector containing the ASin of all the items in the original vector.
Example : ASin(Steering)

ASin(Value)
Returns the ASin of the value.
Example : ASin(0)=0

ATan

ATan(Vector)
Returns a vector containing the ATan of all the items in the original vector.
Example : ATan(Steering)

ATan(Value)
Returns the ATan of the value
Example : ATan(0)=0

Avg

Avg(Vector)
Returns the mean value from the entire vector.
Example : Avg(FLWheelSpeed) = 175 - Mean value of the FLWheelSpeed over the lap

Avg(Vector1,Vector2)
Returns a vector containing the avg point by point of two vectors.
Example : Avg(FLWheelSpeed, FRWheelSpeed) returns a vector with the average front wheel speed

Avg(Value,...)
Avg(FLWheelSpeed) = 175 - Mean value of the FLWheelSpeed over the lap.
Example : Avg(5,6,2) = 4.33

Change

Change(Vector)
Returns the difference between the last value of the vector and the start value of a vector.
Example : Change(FuelLevel)

Choose

Choose(condition, true_part, false_part)
Returns a vector with true_part if the condition is true, otherwise returns false_part.
Example : Choose(BrakePressure > 5,BrakePressure, Invalid())

Cos

Cos(Vector)
Returns a vector containing the Cos of all the items in the original vector.
Example : Cos(Steering)

Cos(Value)
Returns the Cos of the value.
Example : Cos(0)=1

Count

Count(Vector)
Returns the number of points in the vector.
Example : Count(Choose(ThrottlePos>90,1,Invalid())) = 890

CurrentLap

CurrentLap("ParameterName")
Returns the parameter value from the lap associated with the KPI.
Example : CurrentLap("FuelCons") = 3.21

Derivative

Derivative(Vector)
Returns a vector of the derivative for each point of the vector. A two-point forward method is used.
Example : Derivative(Speed)

FallingEdge

FallingEdge(Vector)
Returns a vector of 1 and 0. 1 means that the previous item in the vector was larger than the current one.
Example : FallingEdge(BrakePresF)

Integrate

Integrate(Vector)
Returns a vector of the cumulative integral from the beginning of the vector.
Example : Integrate(Abs(LateralG))

Invalid

Invalid()
Returns a null value.
Example : Invalid() = null

Last

Last(Vector)
Returns the last value of the vector.
Example : Last(Integrate(Abs(LateralG)))

LinCorrel

LinCorrel(Vector1,Vector2)
Returns the linear correlation between vector 1 and vector 2 using the Pearson correlation coefficient.
Example : LinCorrel(Lambda1,ThottlePos) = 1.12

LinFit

LinFit(Vector1,Vector2)
Returns the slope between Vector 1 and Vector 2 using the least-squares regression method.
Example : LinFit(LateralForce,RollAngle) = 0.58

Max

Max(Vector,...)
Returns the largest value from the entire vector. If multiple vectors are entered as arguments then it returns the largest value of all vectors combined.
Example : Max(FLWheelSpeed) = 289 - Largest value of the FLWheelSpeed over the lap

Max(Value,...)
Returns the larger value between all arguments.
Example : Max(5,6,2) = 6

Median

Median(Vector,...)
Returns the median value from the entire vector. If multiple vectors are entered as arguments then it returns the median value of all vectors combined.
Example : Median(TyreTempFL) = 100

Median(Value,...)
Returns the median value between all arguments.
Example : Median(5,6,2) = 6

Min

Min(Vector,...)
Returns the smallest value from the entire vector. If multiple vectors are entered as arguments then it returns the smallest value of all vectors combined.
Example : Min(FLWheelSpeed) = 45 - Smallest value of the FLWheelSpeed over the lap

Min(Value,...)
Returns the smallest value between all arguments.
Example : Min(5,6,2) = 2

Pow

Pow(Vector,Value)
Returns a vector where all the items in the original vector are powered to the scalar value defined.
Example : Pow(Speed,2) returns a vector of the speed squared

Pow(Value1,Value2)
Returns the value 1 powered to value 2.
Example : Pow(2,3) = 8

RisingEdge

RisingEdge(Vector)
Returns a vector of 1 and 0. 1 means that the previous item in the vector was smaller than the current one.
Example : RisingEdge(TPS)

RunSheet

RunSheet("ParameterName")
Returns the parameter value from the run sheet associated with the KPI.
Example : RunSheet("AirTemperature") = 21

SetupSheet

SetupSheet("ParameterName")
Returns the parameter value from the setup associated with the run.
Example : SetupSheet("CamberFL") = -3.0

SetupSheet("PartParameter","Parameter")
Returns a part parameter value from the setup associated with the KPI.
Example : SetupSheet("SpringFL","Rate") = 120

Sign

Sign(Vector)
Returns a vector where each item is the sign of each item in the original vector.
Example : Sign(GForceLat)

Sign(Value)
Returns the sign of the value.
Example : Sign(-3) = -1

Sin

Sin(Vector)
Returns a vector containing the Sin of all the items in the original vector.
Example : Sin(Steering)

Sin(Value)
Returns the sin of the value.
Example : Sin(0)=0

Smooth

Smooth(Vector,Window Size)
Smooths the input vector by averaging over a time interval defined by the window size. The default window size used if not entered is 1sec.
Example : Smooth(Steering,0.1) - Moving average of the Steering channel using a window size of 0.1 sec.

Sqrt

Sqrt(Vector)
Returns a vector containing the square root of all the items in the original vector.
Example : Sqrt(Speed)

Sqrt(Value)
Returns the square root of the value.
Example : Sqrt(4)=2

Start

Start(Vector)
Returns the start value of the vector.
Example : Start(FuelLevel)

StdDev

StdDev(Vector,...)
Returns the standard deviation value from the entire vector. If multiple vectors are entered as arguments then it returns the standard deviation value of all vectors combined.
Example : StdDev(TyreTempFL) = 5.6

StdDev(Value,...)
Returns the standard deviation value between all arguments.
Example : StdDev(2,4,4,4,5,5,7,9) = 2

Sum

Sum(Vector,...)
Returns the sum of all the items in a vector. If multiple vectors are defined, then it returns the sum of all the items combined.
Example : Sum(Steering) = 5800

Sum(Value,...)
Returns the sum of all the arguments.
Example : Sum(2,4,8) = 14

Tan

Tan(Vector)
Returns a vector containing the Tan all the items in the original vector.
Example : Tan(Steering)

Tan(Value)
Returns the Tan of the value.
Example : Tan(0) = 0

Still need help? Contact Us Contact Us