dodal.devices.apple2_undulator.Lookuptable#
- class dodal.devices.apple2_undulator.Lookuptable[source]#
BaseModel class for the lookup table. Apple2 lookup table should be in this format.
- {mode: {‘Energies’: {Any: {‘Low’: float,
‘High’: float, ‘Poly’:np.poly1d }
}
- ‘Limit’: {‘Minimum’: float,
‘Maximum’: float }
}
}
- Parameters:
root (
TypeVar(RootModelRootType), default:PydanticUndefined)
Methods
Attributes
model_computed_fieldsA dictionary of computed field names and their corresponding
ComputedFieldInfoobjects.model_configConfiguration for the model, should be a dictionary conforming to [
ConfigDict][pydantic.config.ConfigDict].model_fieldsMetadata about the fields defined on the model, mapping of field names to [
FieldInfo][pydantic.fields.FieldInfo] objects.root