Operators |
set_metrology_object_fuzzy_param — Set fuzzy parameters or fuzzy functions for a metrology model.
set_metrology_object_fuzzy_param( : : MetrologyHandle, Index, GenParamName, GenParamValue : )
set_metrology_object_param is used to set or change the fuzzy parameters or fuzzy functions of a metrology object in order to adapt the model to a particular edge selection before applying the operator apply_metrology_model.
For an explanation of the concept of 2D metrology see the introduction of chapter 2D Metrology.
The metrology model is defined by the handle MetrologyHandle. The parameter Index specifies the metrology objects for which the parameters should be changed or set. The parameters of all metrology objects are set if the parameter Index is set to 'all' .
The fuzzy parameter or the type of fuzzy function is passed in the parameter GenParamName. The corresponding value or the fuzzy function is passed in the parameter GenParamValue. If at least one fuzzy function is set, internally the operator fuzzy_measure_pos will be used when searching the objects with the operator apply_metrology_model. More information about fuzzy functions can be found with the operator fuzzy_measure_pos. The following generic parameters and parameter values for GenParamName and GenParamValue are possible:
The parameter specifies the minimum fuzzy value. The meaning and the use of this parameter is described with the operator fuzzy_measure_pos. There, the parameter corresponds to the parameter FuzzyThresh .
Default value: '0.5'
The parameter specifies a fuzzy function of type contrast. The meaning and the use of this parameter is described with the operator set_fuzzy_measure. There, the parameter corresponds to the parameter SetType with the value 'contrast' and its value corresponds to the parameter Function .
Default value: 'disabled'
The parameter specifies a fuzzy function of type position. The meaning and the use of this parameter is described with the operator set_fuzzy_measure. There, the parameter corresponds to the parameter SetType with the value 'position' and its value corresponds to the parameter Function .
Default value: 'disabled'
The parameter specifies a fuzzy function of type position_center. The meaning and the use of this parameter is described with the operator set_fuzzy_measure. There, the parameter corresponds to the parameter SetType with the value 'position' and its value corresponds to the parameter Function .
Default value: 'disabled'
The parameter specifies a fuzzy function of type position_end. The meaning and the use of this parameter is described with the operator set_fuzzy_measure. There, the parameter corresponds to the parameter SetType with the value 'position_end' and its value corresponds to the parameter Function .
Default value: 'disabled'
The parameter specifies a fuzzy function of type position_first_edge. The meaning and the use of this parameter is described with the operator set_fuzzy_measure. There, the parameter corresponds to the parameter SetType with the value 'position_first_edge' and its value corresponds to the parameter Function .
Default value: 'disabled'
The parameter specifies a fuzzy function of type position_last_edge. The meaning and the use of this parameter is described with the operator set_fuzzy_measure. There, the parameter corresponds to the parameter SetType with the value 'position_last_edge' and its value corresponds to the parameter Function .
Default value: 'disabled'
A fuzzy function is discarded if the fuzzy function value is set to 'disabled' . All previously defined fuzzy functions and fuzzy parameters can be discarded completely using reset_metrology_object_fuzzy_param. The current configuration of the metrology objects can be accessed with get_metrology_object_fuzzy_param. Note that if at least one fuzzy function is specified, the operator fuzzy_measure_pos is used for the edge detection.
This operator modifies the state of the following input parameter:
The value of this parameter may not be shared across multiple threads without external synchronization.Handle of the metrology model.
Index of the metrology objects.
Default value: 'all'
Suggested values: 'all' , 0, 1, 2
Names of the generic parameters.
Default value: 'fuzzy_thresh'
List of values: 'function_contrast' , 'function_position' , 'function_position_center' , 'function_position_end' , 'function_position_first_edge' , 'function_position_last_edge' , 'fuzzy_thresh'
Values of the generic parameters.
Default value: 0.5
Suggested values: 0.1, 0.3, 0.5, 0.6, 0.7, 0.9, 1, 2, 3, 4, 5, 10, 20
If the parameters are valid, the operator set_metrology_object_fuzzy_param returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
get_metrology_object_fuzzy_param
apply_metrology_model, reset_metrology_object_fuzzy_param, get_metrology_object_fuzzy_param
2D Metrology
Operators |