deviation_metric
Calculates the deviation metric for dynamic stiffness, loss angle curves.
Syntax
deviation_metric(vector1, vector2, flag)
Argument
- vector1
 - The vector of the data to be analyzed.
 - vector2
 - The vector of the data to be analyzed.
 - flag
 - Decides which deviation metric needs to calculate.
- 1
 - Dynamic stiffness deviation metric calculation.
 - 2
 - Loss angle deviation metric calculation.
 
 
Example
Dynstiff_deviation = deviation_metric (p1w1c1.y, p1w1c2.y, 1)
                LossAngle_deviation = deviation_metric (p1w2c1.y, p1w2c2.y, 2)