Adjustment¤
Adjustment
dataclass
¤
An adjustment of the equipment.
An example of an adjustment is cleaning the equipment (e.g., a spectral filter) and then performing another calibration measurement.
This XML element is found in component.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
details
|
str
|
The details of the adjustment that was performed. |
required |
date
|
date
|
The date that the adjustment was performed. |
required |
from_xml
classmethod
¤
from_xml(element: Element[str]) -> Adjustment
Convert an XML element into a Adjustment instance.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
element
|
Element[str]
|
An |
required |
Returns:
| Type | Description |
|---|---|
Adjustment
|
The Adjustment instance. |
Source code in src/msl/equipment/schema.py
1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 | |
to_xml
¤
Convert the Adjustment class into an XML element.
Returns:
| Type | Description |
|---|---|
Element[str]
|
The Adjustment as an XML element. |
Source code in src/msl/equipment/schema.py
1057 1058 1059 1060 1061 1062 1063 1064 1065 | |