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. |
to_xml ¤
Convert the Adjustment class into an XML element.
Returns:
Type | Description |
---|---|
Element[str]
|
The Adjustment as an XML element. |