CustomMeasurement
This class allows the creation of a new label analysis measurement, based on a user-defined formula.
A custom measurement is defined by a string formula that can invoke other measurements. It can be used by most of the individual analysis algorithms. It must have a unique name.
The formula defining a custom measurement must be written in accordance with the custom formula syntax. The validity of the formula can be verified with the checkMeasurementFormula method.
Notes
A custom measurement is defined by a string formula that can invoke other measurements. It can be used by most of the individual analysis algorithms. It must have a unique name.
The formula defining a custom measurement must be written in accordance with the custom formula syntax. The validity of the formula can be verified with the checkMeasurementFormula method.
Notes
- Even if it generally works, it is not recommended to create a new user measurement which depends on another user measurement, because it may not be as efficient as one might expect. The order of computation may also cause some problems.
- A user-defined measurement cannot refer to an array of another measurement, except for distributions like FeretDiameter where the array is accessed through brackets.