get_metrology_object_num_instancesT_get_metrology_object_num_instancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesget_metrology_object_num_instances (算子名称)
名称
get_metrology_object_num_instancesT_get_metrology_object_num_instancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesget_metrology_object_num_instances
— Get the number of instances of the metrology objects of a metrology model.
参数签名
def get_metrology_object_num_instances(metrology_handle: HHandle, index: MaybeSequence[Union[int, str]]) -> Sequence[Union[int, float]]
def get_metrology_object_num_instances_s(metrology_handle: HHandle, index: MaybeSequence[Union[int, str]]) -> Union[int, float]
描述
get_metrology_object_num_instancesget_metrology_object_num_instancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesget_metrology_object_num_instances
allows to access the number of
instances (results) of measurements applied by apply_metrology_modelapply_metrology_modelApplyMetrologyModelApplyMetrologyModelApplyMetrologyModelapply_metrology_model
for the metrology objects. Note that by default, the maximum number of
instances of each metrology object is set to 1. Thus, by default,
the result of get_metrology_object_num_instancesget_metrology_object_num_instancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesget_metrology_object_num_instances
will typically be
1 as well. To allow more instances, before applying the measurement
with apply_metrology_modelapply_metrology_modelApplyMetrologyModelApplyMetrologyModelApplyMetrologyModelapply_metrology_model
you have to explicitly set the parameter
'num_instances'"num_instances""num_instances""num_instances""num_instances""num_instances" to a higher value or to 'all'"all""all""all""all""all" using
set_metrology_object_paramset_metrology_object_paramSetMetrologyObjectParamSetMetrologyObjectParamSetMetrologyObjectParamset_metrology_object_param
.
For an explanation of the concept of 2D metrology see the
introduction of chapter 2D Metrology.
The metrology model is defined by the handle MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandlemetrology_handle
. The
parameter IndexIndexIndexIndexindexindex
specifies for which metrology object the instances
are queried. For IndexIndexIndexIndexindexindex
set to 'all'"all""all""all""all""all", the number of
instances of all metrology objects are returned. The number of instances is
returned in NumInstancesNumInstancesNumInstancesNumInstancesnumInstancesnum_instances
for each metrology object that was passed
in IndexIndexIndexIndexindexindex
.
运行信息
- Multithreading type: reentrant (runs in parallel with non-exclusive operators).
- Multithreading scope: global (may be called from any thread).
- Processed without parallelization.
参数表
MetrologyHandleMetrologyHandleMetrologyHandleMetrologyHandlemetrologyHandlemetrology_handle
(input_control) metrology_model →
HMetrologyModel, HTupleHHandleHTupleHtuple (handle) (IntPtr) (HHandle) (handle)
Handle of the metrology model.
IndexIndexIndexIndexindexindex
(input_control) integer(-array) →
HTupleMaybeSequence[Union[int, str]]HTupleHtuple (integer / string) (int / long / string) (Hlong / HString) (Hlong / char*)
Index of the metrology objects.
Default:
0
Suggested values:
'all'"all""all""all""all""all", 0, 1, 2
NumInstancesNumInstancesNumInstancesNumInstancesnumInstancesnum_instances
(output_control) integer(-array) →
HTupleSequence[Union[int, float]]HTupleHtuple (real / integer) (double / int / long) (double / Hlong) (double / Hlong)
Number of Instances of the metrology objects.
结果
If the parameters are valid, the operator
get_metrology_object_num_instancesget_metrology_object_num_instancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesGetMetrologyObjectNumInstancesget_metrology_object_num_instances
returns the value 2 (
H_MSG_TRUE)
. If
necessary, an exception is raised.
可能的前置算子
apply_metrology_modelapply_metrology_modelApplyMetrologyModelApplyMetrologyModelApplyMetrologyModelapply_metrology_model
可能的后置算子
clear_metrology_modelclear_metrology_modelClearMetrologyModelClearMetrologyModelClearMetrologyModelclear_metrology_model
参考其它
get_metrology_object_indicesget_metrology_object_indicesGetMetrologyObjectIndicesGetMetrologyObjectIndicesGetMetrologyObjectIndicesget_metrology_object_indices
模块
2D Metrology