dodal.devices.aperturescatterguard.AperturePosition#
- class dodal.devices.aperturescatterguard.AperturePosition[source]#
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.self
is explicitly positional-only to allowself
as a field name.- Parameters:
data (
Any
)
Methods
from_gda_params
(name, radius, params)tolerances_from_gda_params
(params)Attributes
model_computed_fields
A dictionary of computed field names and their corresponding
ComputedFieldInfo
objects.model_config
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].model_fields
Metadata about the fields defined on the model, mapping of field names to [
FieldInfo
][pydantic.fields.FieldInfo] objects.values
aperture_x
aperture_y
aperture_z
scatterguard_x
scatterguard_y
radius