Calibration Objects#

class pycanape.calibration_object.ScalarCalibrationObject(dll: CANapeDll, asap3_handle: LP_tAsap3Hdl, module_handle: c_ushort | int, name: str, object_info: DBObjectInfo)[source]#

0D calibration object

Parameters:
property force_upload: bool#
property max: float#
property max_ex: float#
property min: float#
property min_ex: float#
property name: str#
property object_type: ObjectType#
property precision: int#
property unit: str#
property value: float#
property value_type: ValueType#
class pycanape.calibration_object.AxisCalibrationObject(dll: CANapeDll, asap3_handle: LP_tAsap3Hdl, module_handle: c_ushort | int, name: str, object_info: DBObjectInfo)[source]#

1D calibration object

Parameters:
property axis: npt.NDArray[np.float64]#
property dimension: int#
property force_upload: bool#
property max: float#
property max_ex: float#
property min: float#
property min_ex: float#
property name: str#
property object_type: ObjectType#
property precision: int#
property unit: str#
property value_type: ValueType#
class pycanape.calibration_object.CurveCalibrationObject(dll: CANapeDll, asap3_handle: LP_tAsap3Hdl, module_handle: c_ushort | int, name: str, object_info: DBObjectInfo)[source]#

2D Calibration Object

Parameters:
property axis: npt.NDArray[np.float64]#
property dimension: int#
property force_upload: bool#
property max: float#
property max_ex: float#
property min: float#
property min_ex: float#
property name: str#
property object_type: ObjectType#
property precision: int#
property unit: str#
property value_type: ValueType#
property values: npt.NDArray[np.float64]#
class pycanape.calibration_object.MapCalibrationObject(dll: CANapeDll, asap3_handle: LP_tAsap3Hdl, module_handle: c_ushort | int, name: str, object_info: DBObjectInfo)[source]#

3D calibration object

Parameters:
property force_upload: bool#
property max: float#
property max_ex: float#
property min: float#
property min_ex: float#
property name: str#
property object_type: ObjectType#
property precision: int#
property unit: str#
property value_type: ValueType#
property values: npt.NDArray[np.float64]#
property x_axis: npt.NDArray[np.float64]#
property x_dimension: int#
property y_axis: npt.NDArray[np.float64]#
property y_dimension: int#
class pycanape.calibration_object.AsciiCalibrationObject(dll: CANapeDll, asap3_handle: LP_tAsap3Hdl, module_handle: c_ushort | int, name: str, object_info: DBObjectInfo)[source]#
Parameters:
property ascii: str#
property force_upload: bool#
property len: int#
property max: float#
property max_ex: float#
property min: float#
property min_ex: float#
property name: str#
property object_type: ObjectType#
property precision: int#
property unit: str#
property value_type: ValueType#
class pycanape.calibration_object.ValueBlockCalibrationObject(dll: CANapeDll, asap3_handle: LP_tAsap3Hdl, module_handle: c_ushort | int, name: str, object_info: DBObjectInfo)[source]#
Parameters:
property force_upload: bool#
property max: float#
property max_ex: float#
property min: float#
property min_ex: float#
property name: str#
property object_type: ObjectType#
property precision: int#
property unit: str#
property value_type: ValueType#
property values: npt.NDArray[np.float64]#
property x_dimension: int#
property y_dimension: int#