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_config
Configuration for the model, should be a dictionary conforming to [
ConfigDict
][pydantic.config.ConfigDict].root