dodal.devices.common_dcm.BaseDCM#
- class dodal.devices.common_dcm.BaseDCM[source]#
Common device for the double crystal monochromator (DCM), used to select the energy of the beam.
Features common across all DCM’s should include virtual motors to set energy/wavelength and contain two crystals, each of which can be movable. Some DCM’s contain crystals with roll motors, and some contain crystals with roll and pitch motors. This base device accounts for all combinations of this.
This device should act as a parent for beamline-specific DCM’s, in which any other missing signals can be added.
Bluesky plans using DCM’s should be typed to specify which types of crystals are required. For example, a plan which only requires one crystal which can roll should be typed ‘def my_plan(dcm: BaseDCM[RollCrystal, StationaryCrystal])`
- Parameters:
prefix (
str
)xtal_1 (
type
[TypeVar
(Xtal_1
, bound=StationaryCrystal
)])xtal_2 (
type
[TypeVar
(Xtal_2
, bound=StationaryCrystal
)])name (
str
, default:''
)
Methods
Attributes