colour_clf_io.CalibrationInfo#
- class colour_clf_io.CalibrationInfo(display_device_serial_num: str | None, display_device_host_name: str | None, operator_name: str | None, calibration_date_time: str | None, measurement_probe: str | None, calibration_software_name: str | None, calibration_software_version: str | None)[source]#
Bases:
XMLParsable,XMLWritableRepresent a CalibrationInfo container element for a
colour_clf_io.ProcessListclass instance.Attributes
display_device_serial_numdisplay_device_host_nameoperator_namecalibration_date_timemeasurement_probecalibration_software_namecalibration_software_version
Methods
References
- Parameters:
- static from_xml(xml: _Element | None, config: ParserConfig) CalibrationInfo | None[source]#
Parse and return a
colour_clf_io.CalibrationInfoclass instance from the given XML element. Returns None` if the given XML element isNone.Expects the XML element to be a valid element according to the CLF specification.
- Parameters:
xml (_Element | None) – XML element to parse.
config (ParserConfig) – XML parser config.
- Returns:
class – Parsed XML node.
- Return type:
colour_clf_io.CalibrationInfo or
None- Raises:
colour_clf_io.errors.ParsingError – If the node does not conform to the specification, a
ParsingErrorexception will be raised. The error message will indicate the details of the issue that was encountered.
- __eq__(other)#
Return self==value.
- __hash__ = None#
- __init__(display_device_serial_num: str | None, display_device_host_name: str | None, operator_name: str | None, calibration_date_time: str | None, measurement_probe: str | None, calibration_software_name: str | None, calibration_software_version: str | None) None#
- __repr__()#
Return repr(self).