Skip to content

get_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParamget_metrology_object_paramT_get_metrology_object_param🔗

Short description🔗

get_metrology_object_paramGetMetrologyObjectParamGetMetrologyObjectParamget_metrology_object_paramT_get_metrology_object_param — Get one or several parameters of a metrology model.

Signature🔗

get_metrology_object_param( metrology_model MetrologyHandle, integer Index, attribute.name GenParamName, out attribute.value GenParamValue )void GetMetrologyObjectParam( const HTuple& MetrologyHandle, const HTuple& Index, const HTuple& GenParamName, HTuple* GenParamValue )static void HOperatorSet.GetMetrologyObjectParam( HTuple metrologyHandle, HTuple index, HTuple genParamName, out HTuple genParamValue )def get_metrology_object_param( metrology_handle: HHandle, index: MaybeSequence[Union[str, int]], gen_param_name: Sequence[str] ) -> Sequence[Union[str, float, int]]

Herror T_get_metrology_object_param( const Htuple MetrologyHandle, const Htuple Index, const Htuple GenParamName, Htuple* GenParamValue )

HTuple HMetrologyModel::GetMetrologyObjectParam( const HTuple& Index, const HTuple& GenParamName ) const

HTuple HMetrologyModel::GetMetrologyObjectParam( const HString& Index, const HTuple& GenParamName ) const

HTuple HMetrologyModel::GetMetrologyObjectParam( const char* Index, const HTuple& GenParamName ) const

HTuple HMetrologyModel::GetMetrologyObjectParam( const wchar_t* Index, const HTuple& GenParamName ) const (Windows only)

HTuple HMetrologyModel.GetMetrologyObjectParam( HTuple index, HTuple genParamName )

HTuple HMetrologyModel.GetMetrologyObjectParam( string index, HTuple genParamName )

Description🔗

get_metrology_object_paramGetMetrologyObjectParam allows to access the parameters that are used by a metrology object.

For an explanation of the concept of 2D metrology see the introduction of chapter 2D Metrology.

The metrology model is defined by the handle MetrologyHandlemetrologyHandlemetrology_handle. The parameter Indexindexindex determines for which metrology objects the information is accessed. With Indexindexindex set to 'all'"all", the parameters of all metrology objects are accessed. The names of the desired parameters are passed in the generic parameter GenParamNamegenParamNamegen_param_name, the corresponding values are returned in GenParamValuegenParamValuegen_param_value in the same order. All these general parameters can be set and changed at any time with the operator set_metrology_object_paramSetMetrologyObjectParam. Parameters that describe the geometry of an object can only be set by creating the metrology object with the operators add_metrology_object_circle_measureAddMetrologyObjectCircleMeasure, add_metrology_object_ellipse_measureAddMetrologyObjectEllipseMeasure, add_metrology_object_line_measureAddMetrologyObjectLineMeasure, or add_metrology_object_rectangle2_measureAddMetrologyObjectRectangle2Measure.

The following parameters can be accessed:

  • Valid for all types of metrology objects:

    • 'min_score'"min_score", 'num_instances'"num_instances",'instances_outside_measure_regions'"instances_outside_measure_regions": The meaning and the use of these parameters is described with the operator set_metrology_object_paramSetMetrologyObjectParam.

    • 'rand_seed'"rand_seed", 'distance_threshold'"distance_threshold",'max_num_iterations'"max_num_iterations": The meaning and the use of these parameters is described with the operator set_metrology_object_paramSetMetrologyObjectParam.

    • 'measure_length1'"measure_length1", 'measure_length2'"measure_length2": The meaning and the use of these parameters is described with the operator set_metrology_object_paramSetMetrologyObjectParam.

    • 'measure_sigma'"measure_sigma", 'measure_threshold'"measure_threshold",'measure_transition'"measure_transition", 'measure_select'"measure_select": The meaning and the use of these parameters is described with the operator measure_posMeasurePos by the parameters Sigmasigmasigma, Thresholdthresholdthreshold, Transitiontransitiontransition, and Selectselectselect.

    • 'measure_interpolation'"measure_interpolation": The meaning and the use of this parameter is described with the operator gen_measure_rectangle2GenMeasureRectangle2 by the parameter Interpolationinterpolationinterpolation.

    • 'measure_distance_min'"measure_distance_min": Returns the minimum distance between the centers of the generated measure regions, which depends on the geometry of the object and the value of the input parameter 'measure_distance'"measure_distance" or the value of the input parameter 'num_measures'"num_measures" of the operator set_metrology_object_paramSetMetrologyObjectParam. For a metrology object circle or a metrology object line the distances between measure regions are uniformly distributed. Therefore, 'measure_distance_min'"measure_distance_min" and 'measure_distance_max'"measure_distance_max" return the same value.

    • 'measure_distance_max'"measure_distance_max": Returns the maximum distance between the centers of the generated measure regions, which depends on the geometry of the object and the value of the input parameter 'measure_distance'"measure_distance" or the value of the input parameter 'num_measures'"num_measures" of the operator set_metrology_object_paramSetMetrologyObjectParam. For a metrology object circle or a metrology object line the distances between measure regions are uniformly distributed. Therefore, 'measure_distance_min'"measure_distance_min" and 'measure_distance_max'"measure_distance_max" return the same value.

    • 'num_measures'"num_measures": Returns the number of generated measure regions, which depends on the geometry of the object and the value of the input parameter 'measure_distance'"measure_distance" or the value of the input parameter 'num_measures'"num_measures" of the operator set_metrology_object_paramSetMetrologyObjectParam.

    • 'object_type'"object_type": Type of the geometric shape of the metrology object. For a metrology object of type circle, the output parameter GenParamValuegenParamValuegen_param_value contains the value 'circle'"circle". For a metrology object of type ellipse, the output parameter GenParamValuegenParamValuegen_param_value contains the value 'ellipse'"ellipse". For a metrology object of type line, the output parameter GenParamValuegenParamValuegen_param_value contains the value 'line'"line". For a metrology object of type rectangle, the output parameter GenParamValuegenParamValuegen_param_value contains the value 'rectangle'"rectangle".

    • 'object_params'"object_params": The parameters of the geometric shape of the metrology object. For a metrology object of type circle, the output parameter GenParamValuegenParamValuegen_param_value contains the geometry of the circle in the following order: 'row'"row", 'column'"column", 'radius'"radius". The meaning and the use of these parameters is described with the operator add_metrology_object_circle_measureAddMetrologyObjectCircleMeasure. For a metrology object of type ellipse, the output parameter GenParamValuegenParamValuegen_param_value contains the geometry of the ellipse in the following order: 'row'"row", 'column'"column", 'phi'"phi", 'radius1'"radius1", 'radius2'"radius2". The meaning and the use of these parameters is described with the operator add_metrology_object_ellipse_measureAddMetrologyObjectEllipseMeasure. For a metrology object of type line, the output parameter GenParamValuegenParamValuegen_param_value contains the geometry of the line in the following order: 'row_begin'"row_begin", 'column_begin'"column_begin", 'row_end'"row_end", 'column_end'"column_end". The meaning and the use of these parameters is described with the operator add_metrology_object_line_measureAddMetrologyObjectLineMeasure. For a metrology object of type rectangle, the output parameter GenParamValuegenParamValuegen_param_value contains the geometry of the rectangle in the following order: 'row'"row", 'column'"column", 'phi'"phi", 'length1'"length1", 'length2'"length2". The meaning and the use of these parameters is described with the operator add_metrology_object_rectangle2_measureAddMetrologyObjectRectangle2Measure.

  • Only valid for a metrology object of type circle:

  • Only valid for a metrology object of type ellipse:

  • Only valid for a metrology object of type line:

  • Only valid for a metrology object of type rectangle:

Execution information🔗

Execution information
  • Multithreading type: reentrant (runs in parallel with non-exclusive operators).

  • Multithreading scope: global (may be called from any thread).

  • Processed without parallelization.

Parameters🔗

MetrologyHandlemetrologyHandlemetrology_handle (input_control) metrology_model → (handle)HTuple (HHandle)HMetrologyModel, HTuple (IntPtr)HHandleHtuple (handle)

Handle of the metrology model.

Indexindexindex (input_control) integer(-array) → (string / integer)HTuple (HString / Hlong)HTuple (string / int / long)MaybeSequence[Union[str, int]]Htuple (char* / Hlong)

Index of the metrology objects.

Default: 'all'"all"
Suggested values: 'all', 0, 1, 2"all", 0, 1, 2

GenParamNamegenParamNamegen_param_name (input_control) attribute.name-array → (string)HTuple (HString)HTuple (string)Sequence[str]Htuple (char*)

Names of the generic parameters.

Default: 'num_measures'"num_measures"
List of values: 'column', 'column_begin', 'column_end', 'distance_threshold', 'end_phi', 'instances_outside_measure_regions', 'length1', 'length2', 'max_num_iterations', 'measure_distance_min', 'measure_distance_min', 'measure_interpolation', 'measure_length1', 'measure_length2', 'measure_select', 'measure_sigma', 'measure_threshold', 'measure_transition', 'min_score', 'num_instances', 'num_measures', 'object_params', 'object_type', 'phi', 'point_order', 'radius', 'radius1', 'radius2', 'rand_seed', 'row', 'row_begin', 'row_end', 'start_phi', 'x', 'x_begin', 'x_end', 'y', 'y_begin', 'y_end'"column", "column_begin", "column_end", "distance_threshold", "end_phi", "instances_outside_measure_regions", "length1", "length2", "max_num_iterations", "measure_distance_min", "measure_distance_min", "measure_interpolation", "measure_length1", "measure_length2", "measure_select", "measure_sigma", "measure_threshold", "measure_transition", "min_score", "num_instances", "num_measures", "object_params", "object_type", "phi", "point_order", "radius", "radius1", "radius2", "rand_seed", "row", "row_begin", "row_end", "start_phi", "x", "x_begin", "x_end", "y", "y_begin", "y_end"

GenParamValuegenParamValuegen_param_value (output_control) attribute.value-array → (string / real / integer)HTuple (HString / double / Hlong)HTuple (string / double / int / long)Sequence[Union[str, float, int]]Htuple (char* / double / Hlong)

Values of the generic parameters.

Result🔗

If the parameters are valid, the operator get_metrology_object_paramGetMetrologyObjectParam returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Combinations with other operators🔗

Combinations

Possible predecessors

get_metrology_object_indicesGetMetrologyObjectIndices, set_metrology_object_paramSetMetrologyObjectParam

Possible successors

set_metrology_object_paramSetMetrologyObjectParam

See also

get_metrology_object_fuzzy_paramGetMetrologyObjectFuzzyParam, get_metrology_object_num_instancesGetMetrologyObjectNumInstances

Module🔗

2D Metrology