system.kanoa.quality.spc.rule2(valueList, mean)
Rule 2: Nine (or more) points in a row are on the same side of the mean (shift)
Parameters
valueList list[float]: A list of values
mean Float: mean value of the valueList
Returns
ruleViolation Boolean
resultSet list[bool] ruleViolation for each value in the valueList
Example