dodal.devices.insertion_device#
Classes
Device representing the combined motor controls for an Apple2 undulator. |
|
Abstract base class for controlling an Apple2 undulator device. |
|
The latest Apple2 version allows unrestricted motor movement. |
|
Controller for Apple Knot undulator with unique feature of calculating a move path through gap and phase space avoiding the exclusion zone around 0-0 gap-phase. |
|
Class to find a safe path for AppleKnot undulator moves that avoids the exclusion zone around 0-0 gap-phase. |
|
Apple 2 undulator gap motor device. |
|
A collection of 4 phase Motor to make up the full id phase motion. We are using the diamond PV convention. e.g.::. |
|
A JawPhase movable, this is use for moving the jaw phase which is use to control the linear arbitrary polarisation but only on some of the beamline. |
|
Apple2Val(gap: float, phase: dodal.devices.insertion_device.apple2_undulator.Apple2LockedPhasesVal | dodal.devices.insertion_device.apple2_undulator.Apple2PhasesVal) |
|
Apple2PhasesVal(top_outer: float, btm_inner: float, top_inner: float, btm_outer: float) |
|
Specialised lookup table for insertion devices to relate the energy and polarisation values to Apple2 motor positions. |
|
Configuration on how to process a csv file columns into a LookupTable data model. |
|
Apple2 ID energy movable device. |
|
Apple2 ID polarisation movable device. |
|
Compound device to set both ID and energy motor at the same time with an option to add an offset. |
|
Two phase Motor to make up the locked id phase motion. |
|
Create a new model by parsing and validating input data from keyword arguments. |
|
Apple2LockedPhasesVal(top_outer: float, btm_inner: float) |
|
Handles a lookup table for Apple2 ID, converting energy/polarisation to a motor position. |
|
Fetches and parses lookup table (csv) from a config server, supports dynamic updates, and validates input. |
|
A motor that does not support stop. |
|
Base class for ID energy movable device. |
Functions
|
Convert CSV content into the Apple2 lookup-table dictionary. |
- dodal.devices.insertion_device.convert_csv_to_lookup(file_contents: str, lut_config: LookupTableColumnConfig, skip_line_start_with: str = '#') LookupTable[source]#
Convert CSV content into the Apple2 lookup-table dictionary.
- Parameters:
file_contents (str) – The CSV file contents as string.
lut_config (LookupTableColumnConfig) – The configuration that how to process the file_contents into a LookupTable.
skip_line_start_with (str, optional) – Lines beginning with this prefix are skipped (default “#”).
- Return type:
- Returns:
LookupTable