@@ -51,12 +51,12 @@ def pgm() -> PlaneGratingMonochromator:
5151
5252
5353@devices .factory ()
54- def jid_gap () -> UndulatorGap :
54+ def jgap () -> UndulatorGap :
5555 return UndulatorGap (prefix = f"{ J_PREFIX .insertion_prefix } -MO-SERVC-01:" )
5656
5757
5858@devices .factory ()
59- def jid_phase () -> UndulatorPhaseAxes :
59+ def jphase () -> UndulatorPhaseAxes :
6060 return UndulatorPhaseAxes (
6161 prefix = f"{ J_PREFIX .insertion_prefix } -MO-SERVC-01:" ,
6262 top_outer = "PUO" ,
@@ -67,15 +67,13 @@ def jid_phase() -> UndulatorPhaseAxes:
6767
6868
6969@devices .factory ()
70- def jid (
71- jid_gap : UndulatorGap , jid_phase : UndulatorPhaseAxes
72- ) -> Apple2 [UndulatorPhaseAxes ]:
70+ def jid (jgap : UndulatorGap , jphase : UndulatorPhaseAxes ) -> Apple2 [UndulatorPhaseAxes ]:
7371 """I09 soft x-ray insertion device."""
74- return Apple2 [UndulatorPhaseAxes ](id_gap = jid_gap , id_phase = jid_phase )
72+ return Apple2 [UndulatorPhaseAxes ](id_gap = jgap , id_phase = jphase )
7573
7674
7775@devices .factory ()
78- def jid_controller (
76+ def jidcontroller (
7977 jid : Apple2 [UndulatorPhaseAxes ],
8078) -> Apple2EnforceLHMoveController [UndulatorPhaseAxes ]:
8179 """J09 insertion device controller."""
@@ -96,22 +94,22 @@ def jid_controller(
9694
9795
9896@devices .factory ()
99- def jid_energy (
100- jid_controller : Apple2EnforceLHMoveController [UndulatorPhaseAxes ],
97+ def jidenergy (
98+ jidcontroller : Apple2EnforceLHMoveController [UndulatorPhaseAxes ],
10199) -> InsertionDeviceEnergy :
102- return InsertionDeviceEnergy (id_controller = jid_controller )
100+ return InsertionDeviceEnergy (id_controller = jidcontroller )
103101
104102
105103@devices .factory ()
106- def jid_polarisation (
107- jid_controller : Apple2EnforceLHMoveController [UndulatorPhaseAxes ],
104+ def jpolarisation (
105+ jidcontroller : Apple2EnforceLHMoveController [UndulatorPhaseAxes ],
108106) -> InsertionDevicePolarisation :
109- return InsertionDevicePolarisation (id_controller = jid_controller )
107+ return InsertionDevicePolarisation (id_controller = jidcontroller )
110108
111109
112110@devices .factory ()
113- def energy_jid (
114- jid_energy : InsertionDeviceEnergy , pgm : PlaneGratingMonochromator
111+ def jenergy (
112+ jidenergy : InsertionDeviceEnergy , pgm : PlaneGratingMonochromator
115113) -> BeamEnergy :
116114 """Beam energy."""
117- return BeamEnergy (id_energy = jid_energy , mono = pgm .energy )
115+ return BeamEnergy (id_energy = jidenergy , mono = pgm .energy )
0 commit comments