dodal.devices.aperturescatterguard.AperturePosition#
- class dodal.devices.aperturescatterguard.AperturePosition[source]#
Represents one of the available positions for the Aperture-Scatterguard.
- diameter#
Diameter of the selected aperture. When in the Robot Load position, the diameter is defined to be 0.
- Type:
float, optional
- Parameters:
data (
Any)
Create a new model by parsing and validating input data from keyword arguments.
Raises [
ValidationError][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.selfis explicitly positional-only to allowselfas a field name.- Parameters:
data (
Any)
Methods
from_gda_params(name, diameter, params)tolerances_from_gda_params(params)Attributes
model_configConfiguration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].values