dodal.devices.i10.i10_apple2.I10Apple2#
- class dodal.devices.i10.i10_apple2.I10Apple2[source]#
I10Apple2 is the i10 version of Apple2 ID, set and update_lookuptable function should be the only part that is I10 specific.
A pair of look up tables are needed to provide the conversion betwApple 2 ID/undulator has 4 extra degrees of freedom compare to the standard Undulator, each bank of magnet can move independently to each other, which allow the production of different x-ray polarisation as well as energy. This type of ID is use on I10, I21, I09, I17 and I06 for soft x-ray.een motor position and energy.
Set is in energy(eV).
- Parameters:
look_up_table_dir (
str
)prefix (
str
)mode (
str
, default:'Mode'
)min_energy (
str
, default:'MinEnergy'
)max_energy (
str
, default:'MaxEnergy'
)name (
str
, default:''
)look_up_table_dir – The path to look up table.
source – The column name and the name of the source in look up table. e.g. (“source”, “idu”)
mode – The column name of the mode in look up table.
min_energy – The column name that contain the maximum energy in look up table.
max_energy – The column name that contain the maximum energy in look up table.
poly_deg – The column names for the parameters for the energy conversion polynomial, starting with the least significant.
prefix – epic pv for id
Name – Name of the device
name
Methods
set
(value)Check polarisation state and use it together with the energy(value) to calculate the required gap and phases before setting it.
Update the stored lookup tabled from file.
Attributes