|
1 | 1 | """Beamline i02-1 is also known as VMXm, or I02J.""" |
2 | 2 |
|
| 3 | +from dodal.devices.beamlines.i02_1.sample_motors import SampleMotors |
| 4 | + |
3 | 5 | from dodal.common.beamlines.beamline_utils import set_beamline as set_utils_beamline |
4 | 6 | from dodal.device_manager import DeviceManager |
5 | 7 | from dodal.devices.attenuator.attenuator import EnumFilterAttenuator |
|
11 | 13 | ) |
12 | 14 | from dodal.devices.beamlines.i02_1.fast_grid_scan import ZebraFastGridScanTwoD |
13 | 15 | from dodal.devices.beamlines.i02_1.flux import Flux |
14 | | -from dodal.devices.beamlines.i02_1.sample_motors import SampleMotors |
15 | 16 | from dodal.devices.common_dcm import DoubleCrystalMonochromatorBase, StationaryCrystal |
16 | 17 | from dodal.devices.eiger import EigerDetector |
| 18 | +from dodal.devices.motors import XYZOmegaStage |
17 | 19 | from dodal.devices.slits import Slits |
18 | 20 | from dodal.devices.synchrotron import Synchrotron |
19 | 21 | from dodal.devices.undulator import UndulatorInKeV |
@@ -97,8 +99,15 @@ def s4_slit_gaps() -> Slits: |
97 | 99 |
|
98 | 100 |
|
99 | 101 | @devices.factory(use_factory_name=False) |
100 | | -def goniometer() -> SampleMotors: |
101 | | - return SampleMotors(f"{PREFIX.beamline_prefix}-MO-", name="gonio") |
| 102 | +def goniometer() -> XYZOmegaStage: |
| 103 | + return XYZOmegaStage( |
| 104 | + f"{PREFIX.beamline_prefix}-MO-", |
| 105 | + x_infix="SAMP-01:X", |
| 106 | + y_infix="GONJK-01:HEIGHT", |
| 107 | + z_infix="SAMP-01:Z", |
| 108 | + omega_infix="SAMP-01:OMEGA", |
| 109 | + name="gonio", |
| 110 | + ) |
102 | 111 |
|
103 | 112 |
|
104 | 113 | @devices.factory() |
|
0 commit comments