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
981 982 983 984 985 986 987 988 989 990 991 992 |
|
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
994 995 996 997 998 999 1000 1001 1002 |
|