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_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.

root