dodal.devices.insertion_device.energy_motor_lookup.EnergyMotorLookup#
- class dodal.devices.insertion_device.energy_motor_lookup.EnergyMotorLookup[source]#
Handles a lookup table for Apple2 ID, converting energy/polarisation to a motor position.
After update_lookup_table() has populated the lookup table,
find_value_in_lookup_table()can be used to compute gap / phase for a requested energy / polarisation pair.- Parameters:
lut (
LookupTable|None, default:None)
Methods
find_value_in_lookup_table(energy, pol)Convert energy and polarisation to a value from the lookup table.
Do nothing by default.
- update_lookup_table() None[source]#
Do nothing by default. Sub classes may override this method to provide logic on what updating lookup table does.
- Return type: