Click or drag to resize

FieldCorrectionApplyErrors(Double, Double, Double) Method

Adjusts the field correction table based on the three-dimensional array of XYZ errors.

Namespace: RAYLASE.Marker.Corrections
Assembly: RAYLASE.Marker.Corrections (in RAYLASE.Marker.Corrections.dll) Version: 2.19.0
Syntax
C#
public void ApplyErrors(
	double[,,,,] errors,
	double[] layersSelected = null,
	double[] magnificationsSelected = null
)

Parameters

errors  Double
The XY errors [axis, magnification, z, y x] across the four-dimensional beam field, where error equals to actual - expected. The errors are expected to be equidistantly spread over the field.
layersSelected  Double  (Optional)
Defines the selected layers. If null, the layers will be distributed evenly.
magnificationsSelected  Double  (Optional)
Defines the selected magnifications. If null, the magnifications will be distributed evenly.
Remarks

The errors describe for each axis the difference between the actual and expected position. For example, if the scan head was expected to move to 100mm, but ends up short at 90mm then the error would be -10mm (90mm minus 100mm) for that axis.

The "errors" array must not be larger than the field corrections' grid points in neither dimension (neither errors' rows must exceed "Rows", nor errors' columns must exceed "Columns"). If "errors" is smaller, then its values will be interpolated across the beam field. (InterpolateErrors(NullableDouble, Double, Double))

See Also