mx-bluesky 1.5.3__py3-none-any.whl → 1.5.5__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- mx_bluesky/_version.py +2 -2
- mx_bluesky/beamlines/aithre_lasershaping/__init__.py +2 -0
- mx_bluesky/beamlines/aithre_lasershaping/beamline_safe.py +17 -0
- mx_bluesky/beamlines/i04/__init__.py +6 -1
- mx_bluesky/beamlines/i04/experiment_plans/i04_grid_detect_then_xray_centre_plan.py +0 -8
- mx_bluesky/beamlines/i04/redis_to_murko_forwarder.py +2 -3
- mx_bluesky/beamlines/i04/thawing_plan.py +174 -60
- mx_bluesky/beamlines/i24/serial/blueapi_config.yaml +1 -1
- mx_bluesky/beamlines/i24/serial/dcid.py +4 -25
- mx_bluesky/beamlines/i24/serial/extruder/EX-gui-edm/DetStage.edl +4 -7
- mx_bluesky/beamlines/i24/serial/extruder/EX-gui-edm/DiamondExtruder-I24-py3v1.edl +5 -5
- mx_bluesky/beamlines/i24/serial/extruder/i24ssx_Extruder_Collect_py3v2.py +18 -107
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/CustomChip_py3v1.edl +11 -11
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/DetStage.edl +2 -5
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/DiamondChipI24-py3v1.edl +80 -80
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/ME14E-GeneralPurpose.edl +120 -120
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/MappingLite-oxford_py3v1.edl +143 -143
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/PMAC_Command.edl +2 -2
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/Shutter_Control.edl +3 -3
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/nudgechip.edl +24 -24
- mx_bluesky/beamlines/i24/serial/fixed_target/FT-gui-edm/pumpprobe-py3v1.edl +19 -19
- mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_Collect_py3v1.py +8 -92
- mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_Chip_Manager_py3v1.py +15 -30
- mx_bluesky/beamlines/i24/serial/fixed_target/i24ssx_moveonclick.py +10 -10
- mx_bluesky/beamlines/i24/serial/parameters/constants.py +0 -2
- mx_bluesky/beamlines/i24/serial/parameters/experiment_parameters.py +1 -6
- mx_bluesky/beamlines/i24/serial/parameters/fixed_target/cs/cs_maker.json +3 -3
- mx_bluesky/beamlines/i24/serial/parameters/utils.py +1 -1
- mx_bluesky/beamlines/i24/serial/run_extruder.sh +15 -0
- mx_bluesky/beamlines/i24/serial/run_fixed_target.sh +17 -0
- mx_bluesky/beamlines/i24/serial/set_visit_directory.sh +1 -1
- mx_bluesky/beamlines/i24/serial/setup_beamline/__init__.py +1 -2
- mx_bluesky/beamlines/i24/serial/setup_beamline/pv.py +142 -160
- mx_bluesky/beamlines/i24/serial/setup_beamline/pv_abstract.py +1 -30
- mx_bluesky/beamlines/i24/serial/setup_beamline/setup_beamline.py +0 -94
- mx_bluesky/beamlines/i24/serial/setup_beamline/setup_detector.py +4 -10
- mx_bluesky/beamlines/i24/serial/setup_beamline/setup_zebra_plans.py +12 -20
- mx_bluesky/beamlines/i24/serial/web_gui_plans/general_plans.py +4 -13
- mx_bluesky/beamlines/i24/serial/write_nexus.py +34 -9
- mx_bluesky/common/device_setup_plans/manipulate_sample.py +2 -2
- mx_bluesky/common/experiment_plans/common_grid_detect_then_xray_centre_plan.py +2 -2
- mx_bluesky/common/experiment_plans/inner_plans/udc_default_state.py +65 -0
- mx_bluesky/common/experiment_plans/oav_snapshot_plan.py +2 -2
- mx_bluesky/common/external_interaction/callbacks/common/grid_detection_callback.py +35 -17
- mx_bluesky/common/external_interaction/callbacks/common/ispyb_callback_base.py +1 -1
- mx_bluesky/common/external_interaction/callbacks/common/plan_reactive_callback.py +2 -2
- mx_bluesky/common/external_interaction/callbacks/sample_handling/sample_handling_callback.py +3 -2
- mx_bluesky/common/external_interaction/callbacks/xray_centre/ispyb_callback.py +2 -2
- mx_bluesky/common/external_interaction/callbacks/xray_centre/nexus_callback.py +2 -2
- mx_bluesky/common/parameters/constants.py +1 -0
- mx_bluesky/hyperion/baton_handler.py +50 -8
- mx_bluesky/hyperion/experiment_plans/load_centre_collect_full_plan.py +5 -1
- mx_bluesky/hyperion/experiment_plans/robot_load_and_change_energy.py +6 -2
- mx_bluesky/hyperion/external_interaction/alerting/constants.py +2 -7
- mx_bluesky/hyperion/external_interaction/callbacks/__main__.py +4 -0
- mx_bluesky/hyperion/external_interaction/callbacks/alert_on_container_change.py +54 -0
- mx_bluesky/hyperion/external_interaction/callbacks/rotation/ispyb_callback.py +2 -2
- {mx_bluesky-1.5.3.dist-info → mx_bluesky-1.5.5.dist-info}/METADATA +2 -2
- {mx_bluesky-1.5.3.dist-info → mx_bluesky-1.5.5.dist-info}/RECORD +63 -61
- {mx_bluesky-1.5.3.dist-info → mx_bluesky-1.5.5.dist-info}/WHEEL +0 -0
- {mx_bluesky-1.5.3.dist-info → mx_bluesky-1.5.5.dist-info}/entry_points.txt +0 -0
- {mx_bluesky-1.5.3.dist-info → mx_bluesky-1.5.5.dist-info}/licenses/LICENSE +0 -0
- {mx_bluesky-1.5.3.dist-info → mx_bluesky-1.5.5.dist-info}/top_level.txt +0 -0
|
@@ -51,7 +51,7 @@ x 188
|
|
|
51
51
|
y 17
|
|
52
52
|
w 178
|
|
53
53
|
h 43
|
|
54
|
-
controlPv "
|
|
54
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
55
55
|
fgColor index 25
|
|
56
56
|
fgAlarm
|
|
57
57
|
bgColor index 5
|
|
@@ -69,7 +69,7 @@ x 188
|
|
|
69
69
|
y 88
|
|
70
70
|
w 198
|
|
71
71
|
h 23
|
|
72
|
-
controlPv "
|
|
72
|
+
controlPv "BL24I-EA-CHIP-01:SEND_STRING.AINP"
|
|
73
73
|
font "arial-medium-r-18.0"
|
|
74
74
|
fgColor index 16
|
|
75
75
|
bgColor index 14
|
|
@@ -37,8 +37,8 @@ selectColor index 15
|
|
|
37
37
|
inconsistentColor index 14
|
|
38
38
|
topShadowColor index 0
|
|
39
39
|
botShadowColor index 14
|
|
40
|
-
controlPv "
|
|
41
|
-
indicatorPv "
|
|
40
|
+
controlPv "BL24I-EA-CHIP-01:SHUTTER_CTRL"
|
|
41
|
+
indicatorPv "BL24I-EA-CHIP-01:SHUTTER_STATE_RBV"
|
|
42
42
|
font "arial-medium-r-18.0"
|
|
43
43
|
orientation "horizontal"
|
|
44
44
|
endObjectProperties
|
|
@@ -53,7 +53,7 @@ x 175
|
|
|
53
53
|
y 95
|
|
54
54
|
w 141
|
|
55
55
|
h 23
|
|
56
|
-
controlPv "
|
|
56
|
+
controlPv "BL24I-EA-CHIP-01:SHUTTER_STATE_RBV"
|
|
57
57
|
font "arial-medium-r-18.0"
|
|
58
58
|
fgColor index 14
|
|
59
59
|
bgColor index 0
|
|
@@ -71,7 +71,7 @@ x 143
|
|
|
71
71
|
y 291
|
|
72
72
|
w 166
|
|
73
73
|
h 33
|
|
74
|
-
controlPv "
|
|
74
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
75
75
|
fgColor index 25
|
|
76
76
|
fgAlarm
|
|
77
77
|
bgColor index 5
|
|
@@ -89,7 +89,7 @@ x 139
|
|
|
89
89
|
y 331
|
|
90
90
|
w 167
|
|
91
91
|
h 21
|
|
92
|
-
controlPv "
|
|
92
|
+
controlPv "BL24I-EA-CHIP-01:SEND_STRING.AINP"
|
|
93
93
|
font "arial-medium-r-16.0"
|
|
94
94
|
fgColor index 16
|
|
95
95
|
bgColor index 14
|
|
@@ -226,7 +226,7 @@ x 342
|
|
|
226
226
|
y 281
|
|
227
227
|
w 87
|
|
228
228
|
h 23
|
|
229
|
-
controlPv "
|
|
229
|
+
controlPv "BL24I-EA-CHIP-01:X.RBV"
|
|
230
230
|
font "arial-medium-r-18.0"
|
|
231
231
|
fgColor index 25
|
|
232
232
|
bgColor index 5
|
|
@@ -308,7 +308,7 @@ x 344
|
|
|
308
308
|
y 307
|
|
309
309
|
w 87
|
|
310
310
|
h 23
|
|
311
|
-
controlPv "
|
|
311
|
+
controlPv "BL24I-EA-CHIP-01:Y.RBV"
|
|
312
312
|
font "arial-medium-r-18.0"
|
|
313
313
|
fgColor index 25
|
|
314
314
|
bgColor index 5
|
|
@@ -350,7 +350,7 @@ x 343
|
|
|
350
350
|
y 333
|
|
351
351
|
w 87
|
|
352
352
|
h 23
|
|
353
|
-
controlPv "
|
|
353
|
+
controlPv "BL24I-EA-CHIP-01:Z.RBV"
|
|
354
354
|
font "arial-medium-r-18.0"
|
|
355
355
|
fgColor index 25
|
|
356
356
|
bgColor index 5
|
|
@@ -377,7 +377,7 @@ onColor index 3
|
|
|
377
377
|
offColor index 3
|
|
378
378
|
topShadowColor index 3
|
|
379
379
|
botShadowColor index 14
|
|
380
|
-
controlPv "
|
|
380
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
381
381
|
pressValue "#1J:-2500"
|
|
382
382
|
releaseValue "#1P"
|
|
383
383
|
3d
|
|
@@ -399,7 +399,7 @@ onColor index 3
|
|
|
399
399
|
offColor index 3
|
|
400
400
|
topShadowColor index 3
|
|
401
401
|
botShadowColor index 14
|
|
402
|
-
controlPv "
|
|
402
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
403
403
|
pressValue "#1J:-25000"
|
|
404
404
|
releaseValue "#1P"
|
|
405
405
|
3d
|
|
@@ -421,7 +421,7 @@ onColor index 3
|
|
|
421
421
|
offColor index 3
|
|
422
422
|
topShadowColor index 3
|
|
423
423
|
botShadowColor index 14
|
|
424
|
-
controlPv "
|
|
424
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
425
425
|
pressValue "#1J:-20"
|
|
426
426
|
releaseValue "#1P"
|
|
427
427
|
3d
|
|
@@ -443,7 +443,7 @@ onColor index 3
|
|
|
443
443
|
offColor index 3
|
|
444
444
|
topShadowColor index 3
|
|
445
445
|
botShadowColor index 14
|
|
446
|
-
controlPv "
|
|
446
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
447
447
|
pressValue "#1J:25000"
|
|
448
448
|
releaseValue "#1P"
|
|
449
449
|
3d
|
|
@@ -465,7 +465,7 @@ onColor index 3
|
|
|
465
465
|
offColor index 3
|
|
466
466
|
topShadowColor index 3
|
|
467
467
|
botShadowColor index 14
|
|
468
|
-
controlPv "
|
|
468
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
469
469
|
pressValue "#1J:2500"
|
|
470
470
|
releaseValue "#1P"
|
|
471
471
|
3d
|
|
@@ -487,7 +487,7 @@ onColor index 3
|
|
|
487
487
|
offColor index 3
|
|
488
488
|
topShadowColor index 3
|
|
489
489
|
botShadowColor index 14
|
|
490
|
-
controlPv "
|
|
490
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
491
491
|
pressValue "#1J:20"
|
|
492
492
|
releaseValue "#1P"
|
|
493
493
|
3d
|
|
@@ -509,7 +509,7 @@ onColor index 3
|
|
|
509
509
|
offColor index 3
|
|
510
510
|
topShadowColor index 3
|
|
511
511
|
botShadowColor index 14
|
|
512
|
-
controlPv "
|
|
512
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
513
513
|
pressValue "#2J:22000"
|
|
514
514
|
releaseValue "#2P"
|
|
515
515
|
3d
|
|
@@ -531,7 +531,7 @@ onColor index 3
|
|
|
531
531
|
offColor index 3
|
|
532
532
|
topShadowColor index 3
|
|
533
533
|
botShadowColor index 14
|
|
534
|
-
controlPv "
|
|
534
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
535
535
|
pressValue "#2J:2500"
|
|
536
536
|
releaseValue "#2P"
|
|
537
537
|
3d
|
|
@@ -553,7 +553,7 @@ onColor index 3
|
|
|
553
553
|
offColor index 3
|
|
554
554
|
topShadowColor index 3
|
|
555
555
|
botShadowColor index 14
|
|
556
|
-
controlPv "
|
|
556
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
557
557
|
pressValue "#2J:20"
|
|
558
558
|
releaseValue "#2P"
|
|
559
559
|
3d
|
|
@@ -575,7 +575,7 @@ onColor index 3
|
|
|
575
575
|
offColor index 3
|
|
576
576
|
topShadowColor index 3
|
|
577
577
|
botShadowColor index 14
|
|
578
|
-
controlPv "
|
|
578
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
579
579
|
pressValue "#2J:-22000"
|
|
580
580
|
releaseValue "#2P"
|
|
581
581
|
3d
|
|
@@ -597,7 +597,7 @@ onColor index 3
|
|
|
597
597
|
offColor index 3
|
|
598
598
|
topShadowColor index 3
|
|
599
599
|
botShadowColor index 14
|
|
600
|
-
controlPv "
|
|
600
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
601
601
|
pressValue "#2J:-2500"
|
|
602
602
|
releaseValue "#2P"
|
|
603
603
|
3d
|
|
@@ -619,7 +619,7 @@ onColor index 3
|
|
|
619
619
|
offColor index 3
|
|
620
620
|
topShadowColor index 3
|
|
621
621
|
botShadowColor index 14
|
|
622
|
-
controlPv "
|
|
622
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
623
623
|
pressValue "#2J:-20"
|
|
624
624
|
releaseValue "#2P"
|
|
625
625
|
3d
|
|
@@ -721,7 +721,7 @@ onColor index 3
|
|
|
721
721
|
offColor index 3
|
|
722
722
|
topShadowColor index 3
|
|
723
723
|
botShadowColor index 14
|
|
724
|
-
controlPv "
|
|
724
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
725
725
|
pressValue "#3J:250"
|
|
726
726
|
releaseValue "#2P"
|
|
727
727
|
3d
|
|
@@ -743,7 +743,7 @@ onColor index 3
|
|
|
743
743
|
offColor index 3
|
|
744
744
|
topShadowColor index 3
|
|
745
745
|
botShadowColor index 14
|
|
746
|
-
controlPv "
|
|
746
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
747
747
|
pressValue "#3J:-250"
|
|
748
748
|
releaseValue "#2P"
|
|
749
749
|
3d
|
|
@@ -805,8 +805,8 @@ onColor index 3
|
|
|
805
805
|
offColor index 3
|
|
806
806
|
topShadowColor index 3
|
|
807
807
|
botShadowColor index 14
|
|
808
|
-
controlPv "
|
|
809
|
-
pressValue "#
|
|
808
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
809
|
+
pressValue "#5hmz#6hmz#7hmz"
|
|
810
810
|
3d
|
|
811
811
|
font "arial-medium-r-18.0"
|
|
812
812
|
endObjectProperties
|
|
@@ -949,7 +949,7 @@ onColor index 3
|
|
|
949
949
|
offColor index 3
|
|
950
950
|
topShadowColor index 3
|
|
951
951
|
botShadowColor index 14
|
|
952
|
-
controlPv "
|
|
952
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
953
953
|
pressValue "ver"
|
|
954
954
|
3d
|
|
955
955
|
font "arial-medium-r-18.0"
|
|
@@ -1020,7 +1020,7 @@ onColor index 3
|
|
|
1020
1020
|
offColor index 3
|
|
1021
1021
|
topShadowColor index 3
|
|
1022
1022
|
botShadowColor index 14
|
|
1023
|
-
controlPv "
|
|
1023
|
+
controlPv "BL24I-EA-CHIP-01:PMAC_STRING"
|
|
1024
1024
|
pressValue "ver"
|
|
1025
1025
|
3d
|
|
1026
1026
|
font "arial-medium-r-18.0"
|
|
@@ -1165,6 +1165,6 @@ botShadowColor index 14
|
|
|
1165
1165
|
font "arial-medium-r-18.0"
|
|
1166
1166
|
numCmds 1
|
|
1167
1167
|
command {
|
|
1168
|
-
0 "caget
|
|
1168
|
+
0 "caget BL24I-EA-CHIP-01:X"
|
|
1169
1169
|
}
|
|
1170
1170
|
endObjectProperties
|
|
@@ -160,7 +160,7 @@ botShadowColor index 11
|
|
|
160
160
|
font "arial-medium-r-18.0"
|
|
161
161
|
numCmds 1
|
|
162
162
|
command {
|
|
163
|
-
0 "blueapi -c CONFIG_LOCATION controller run pumpprobe_calc"
|
|
163
|
+
0 "blueapi -c CONFIG_LOCATION controller run -i $INSTRUMENT_SESSION pumpprobe_calc"
|
|
164
164
|
}
|
|
165
165
|
endObjectProperties
|
|
166
166
|
|
|
@@ -195,7 +195,7 @@ x 155
|
|
|
195
195
|
y 428
|
|
196
196
|
w 75
|
|
197
197
|
h 25
|
|
198
|
-
controlPv "
|
|
198
|
+
controlPv "BL24I-EA-CHIP-01:expTime"
|
|
199
199
|
font "arial-medium-r-16.0"
|
|
200
200
|
fgColor index 16
|
|
201
201
|
bgColor index 10
|
|
@@ -216,7 +216,7 @@ x 422
|
|
|
216
216
|
y 398
|
|
217
217
|
w 75
|
|
218
218
|
h 25
|
|
219
|
-
controlPv "
|
|
219
|
+
controlPv "BL24I-MO-IOC-01:GP104"
|
|
220
220
|
font "arial-medium-r-16.0"
|
|
221
221
|
fgColor index 16
|
|
222
222
|
bgColor index 10
|
|
@@ -553,7 +553,7 @@ x 422
|
|
|
553
553
|
y 431
|
|
554
554
|
w 75
|
|
555
555
|
h 25
|
|
556
|
-
controlPv "
|
|
556
|
+
controlPv "BL24I-MO-IOC-01:GP105"
|
|
557
557
|
font "arial-medium-r-16.0"
|
|
558
558
|
fgColor index 16
|
|
559
559
|
bgColor index 10
|
|
@@ -574,7 +574,7 @@ x 422
|
|
|
574
574
|
y 464
|
|
575
575
|
w 75
|
|
576
576
|
h 25
|
|
577
|
-
controlPv "
|
|
577
|
+
controlPv "BL24I-MO-IOC-01:GP106"
|
|
578
578
|
font "arial-medium-r-16.0"
|
|
579
579
|
fgColor index 16
|
|
580
580
|
bgColor index 10
|
|
@@ -595,7 +595,7 @@ x 422
|
|
|
595
595
|
y 495
|
|
596
596
|
w 75
|
|
597
597
|
h 25
|
|
598
|
-
controlPv "
|
|
598
|
+
controlPv "BL24I-MO-IOC-01:GP107"
|
|
599
599
|
font "arial-medium-r-16.0"
|
|
600
600
|
fgColor index 16
|
|
601
601
|
bgColor index 10
|
|
@@ -616,7 +616,7 @@ x 422
|
|
|
616
616
|
y 526
|
|
617
617
|
w 75
|
|
618
618
|
h 25
|
|
619
|
-
controlPv "
|
|
619
|
+
controlPv "BL24I-MO-IOC-01:GP108"
|
|
620
620
|
font "arial-medium-r-16.0"
|
|
621
621
|
fgColor index 16
|
|
622
622
|
bgColor index 10
|
|
@@ -658,7 +658,7 @@ x 156
|
|
|
658
658
|
y 382
|
|
659
659
|
w 75
|
|
660
660
|
h 25
|
|
661
|
-
controlPv "
|
|
661
|
+
controlPv "BL24I-MO-IOC-01:GP103"
|
|
662
662
|
font "helvetica-medium-r-18.0"
|
|
663
663
|
fgColor index 25
|
|
664
664
|
bgColor index 3
|
|
@@ -707,7 +707,7 @@ botShadowColor index 14
|
|
|
707
707
|
font "arial-medium-r-18.0"
|
|
708
708
|
numCmds 1
|
|
709
709
|
command {
|
|
710
|
-
0 "blueapi -c CONFIG_LOCATION controller run laser_control '\{\"laser_setting\":\"laser1off\",\"pmac\":\"pmac\"\}'"
|
|
710
|
+
0 "blueapi -c CONFIG_LOCATION controller run -i $INSTRUMENT_SESSION laser_control '\{\"laser_setting\":\"laser1off\",\"pmac\":\"pmac\"\}'"
|
|
711
711
|
}
|
|
712
712
|
endObjectProperties
|
|
713
713
|
|
|
@@ -749,7 +749,7 @@ botShadowColor index 14
|
|
|
749
749
|
font "arial-medium-r-18.0"
|
|
750
750
|
numCmds 1
|
|
751
751
|
command {
|
|
752
|
-
0 "blueapi -c CONFIG_LOCATION controller run laser_control '\{\"laser_setting\":\"laser1on\",\"pmac\":\"pmac\"\}'"
|
|
752
|
+
0 "blueapi -c CONFIG_LOCATION controller run -i $INSTRUMENT_SESSION laser_control '\{\"laser_setting\":\"laser1on\",\"pmac\":\"pmac\"\}'"
|
|
753
753
|
}
|
|
754
754
|
endObjectProperties
|
|
755
755
|
|
|
@@ -866,7 +866,7 @@ x 141
|
|
|
866
866
|
y 637
|
|
867
867
|
w 75
|
|
868
868
|
h 25
|
|
869
|
-
controlPv "
|
|
869
|
+
controlPv "BL24I-MO-IOC-01:GP109"
|
|
870
870
|
font "helvetica-medium-r-18.0"
|
|
871
871
|
fgColor index 25
|
|
872
872
|
bgColor index 3
|
|
@@ -976,7 +976,7 @@ botShadowColor index 14
|
|
|
976
976
|
font "arial-medium-r-18.0"
|
|
977
977
|
numCmds 1
|
|
978
978
|
command {
|
|
979
|
-
0 "blueapi -c CONFIG_LOCATION controller run laser_control '\{\"laser_setting\":\"laser2off\",\"pmac\":\"pmac\"\}'"
|
|
979
|
+
0 "blueapi -c CONFIG_LOCATION controller run -i $INSTRUMENT_SESSION laser_control '\{\"laser_setting\":\"laser2off\",\"pmac\":\"pmac\"\}'"
|
|
980
980
|
}
|
|
981
981
|
endObjectProperties
|
|
982
982
|
|
|
@@ -1018,7 +1018,7 @@ botShadowColor index 14
|
|
|
1018
1018
|
font "arial-medium-r-18.0"
|
|
1019
1019
|
numCmds 1
|
|
1020
1020
|
command {
|
|
1021
|
-
0 "blueapi -c CONFIG_LOCATION controller run laser_control '\{\"laser_setting\":\"laser2on\",\"pmac\":\"pmac\"\}'"
|
|
1021
|
+
0 "blueapi -c CONFIG_LOCATION controller run -i $INSTRUMENT_SESSION laser_control '\{\"laser_setting\":\"laser2on\",\"pmac\":\"pmac\"\}'"
|
|
1022
1022
|
}
|
|
1023
1023
|
endObjectProperties
|
|
1024
1024
|
|
|
@@ -1058,7 +1058,7 @@ fontAlign "center"
|
|
|
1058
1058
|
fgColor index 38
|
|
1059
1059
|
bgColor index 0
|
|
1060
1060
|
useDisplayBg
|
|
1061
|
-
visPv "
|
|
1061
|
+
visPv "BL24I-MO-IOC-01:GP109"
|
|
1062
1062
|
visMin "0.00001"
|
|
1063
1063
|
visMax "999"
|
|
1064
1064
|
value {
|
|
@@ -1158,7 +1158,7 @@ x 144
|
|
|
1158
1158
|
y 124
|
|
1159
1159
|
w 75
|
|
1160
1160
|
h 25
|
|
1161
|
-
controlPv "
|
|
1161
|
+
controlPv "BL24I-MO-IOC-01:GP103"
|
|
1162
1162
|
font "helvetica-medium-r-18.0"
|
|
1163
1163
|
fgColor index 25
|
|
1164
1164
|
bgColor index 3
|
|
@@ -1334,7 +1334,7 @@ botShadowColor index 14
|
|
|
1334
1334
|
font "arial-medium-r-18.0"
|
|
1335
1335
|
numCmds 1
|
|
1336
1336
|
command {
|
|
1337
|
-
0 "blueapi -c CONFIG_LOCATION controller run laser_control '\{\"laser_setting\":\"laser1burn\",\"pmac\":\"pmac\"\}'"
|
|
1337
|
+
0 "blueapi -c CONFIG_LOCATION controller run -i $INSTRUMENT_SESSION laser_control '\{\"laser_setting\":\"laser1burn\",\"pmac\":\"pmac\"\}'"
|
|
1338
1338
|
}
|
|
1339
1339
|
endObjectProperties
|
|
1340
1340
|
|
|
@@ -1376,7 +1376,7 @@ botShadowColor index 14
|
|
|
1376
1376
|
font "arial-medium-r-18.0"
|
|
1377
1377
|
numCmds 1
|
|
1378
1378
|
command {
|
|
1379
|
-
0 "blueapi -c CONFIG_LOCATION controller run laser_control '\{\"laser_setting\":\"laser2burn\",\"pmac\":\"pmac\"\}'"
|
|
1379
|
+
0 "blueapi -c CONFIG_LOCATION controller run -i $INSTRUMENT_SESSION laser_control '\{\"laser_setting\":\"laser2burn\",\"pmac\":\"pmac\"\}'"
|
|
1380
1380
|
}
|
|
1381
1381
|
endObjectProperties
|
|
1382
1382
|
|
|
@@ -1451,7 +1451,7 @@ x 144
|
|
|
1451
1451
|
y 155
|
|
1452
1452
|
w 75
|
|
1453
1453
|
h 25
|
|
1454
|
-
controlPv "
|
|
1454
|
+
controlPv "BL24I-MO-IOC-01:GP110"
|
|
1455
1455
|
font "helvetica-medium-r-18.0"
|
|
1456
1456
|
fgColor index 25
|
|
1457
1457
|
bgColor index 3
|
|
@@ -1573,7 +1573,7 @@ fgColor index 14
|
|
|
1573
1573
|
bgColor index 3
|
|
1574
1574
|
topShadowColor index 1
|
|
1575
1575
|
botShadowColor index 8
|
|
1576
|
-
controlPv "
|
|
1576
|
+
controlPv "BL24I-MO-IOC-01:GP111"
|
|
1577
1577
|
font "arial-medium-r-18.0"
|
|
1578
1578
|
numItems 2
|
|
1579
1579
|
symbolTag {
|
|
@@ -18,14 +18,12 @@ from dodal.devices.i24.beamstop import Beamstop
|
|
|
18
18
|
from dodal.devices.i24.dcm import DCM
|
|
19
19
|
from dodal.devices.i24.dual_backlight import DualBacklight
|
|
20
20
|
from dodal.devices.i24.focus_mirrors import FocusMirrorsMode
|
|
21
|
-
from dodal.devices.i24.pilatus_metadata import PilatusMetadata
|
|
22
21
|
from dodal.devices.i24.pmac import PMAC
|
|
23
22
|
from dodal.devices.motors import YZStage
|
|
24
23
|
from dodal.devices.zebra.zebra import Zebra
|
|
25
24
|
|
|
26
25
|
from mx_bluesky.beamlines.i24.serial.dcid import (
|
|
27
26
|
DCID,
|
|
28
|
-
get_pilatus_filename_template_from_device,
|
|
29
27
|
read_beam_info_from_hardware,
|
|
30
28
|
)
|
|
31
29
|
from mx_bluesky.beamlines.i24.serial.fixed_target.ft_utils import (
|
|
@@ -41,7 +39,6 @@ from mx_bluesky.beamlines.i24.serial.log import SSX_LOGGER, log_on_entry
|
|
|
41
39
|
from mx_bluesky.beamlines.i24.serial.parameters import FixedTargetParameters
|
|
42
40
|
from mx_bluesky.beamlines.i24.serial.parameters.constants import (
|
|
43
41
|
BEAM_CENTER_LUT_FILES,
|
|
44
|
-
DetectorName,
|
|
45
42
|
)
|
|
46
43
|
from mx_bluesky.beamlines.i24.serial.setup_beamline import caget, cagetstring, caput, pv
|
|
47
44
|
from mx_bluesky.beamlines.i24.serial.setup_beamline import setup_beamline as sup
|
|
@@ -276,7 +273,6 @@ def start_i24(
|
|
|
276
273
|
mirrors: FocusMirrorsMode,
|
|
277
274
|
beam_center_device: DetectorBeamCenter,
|
|
278
275
|
dcid: DCID,
|
|
279
|
-
pilatus_metadata: PilatusMetadata,
|
|
280
276
|
):
|
|
281
277
|
"""Set up for I24 fixed target data collection, trigger the detector and open \
|
|
282
278
|
the hutch shutter.
|
|
@@ -312,67 +308,7 @@ def start_i24(
|
|
|
312
308
|
SSX_LOGGER.info(f"Number of exposures: {parameters.num_exposures}")
|
|
313
309
|
SSX_LOGGER.info(f"Number of gates (=Total images/N exposures): {num_gates:.4f}")
|
|
314
310
|
|
|
315
|
-
if parameters.detector_name == "
|
|
316
|
-
SSX_LOGGER.info("Using Pilatus detector")
|
|
317
|
-
SSX_LOGGER.info(f"Fastchip Pilatus setup: filepath {filepath}")
|
|
318
|
-
SSX_LOGGER.info(f"Fastchip Pilatus setup: filename {filename}")
|
|
319
|
-
SSX_LOGGER.info(
|
|
320
|
-
f"Fastchip Pilatus setup: number of images {parameters.total_num_images}"
|
|
321
|
-
)
|
|
322
|
-
SSX_LOGGER.info(
|
|
323
|
-
f"Fastchip Pilatus setup: exposure time {parameters.exposure_time_s}"
|
|
324
|
-
)
|
|
325
|
-
|
|
326
|
-
yield from sup.pilatus(
|
|
327
|
-
"fastchip",
|
|
328
|
-
[
|
|
329
|
-
filepath,
|
|
330
|
-
filename,
|
|
331
|
-
parameters.total_num_images,
|
|
332
|
-
parameters.exposure_time_s,
|
|
333
|
-
],
|
|
334
|
-
)
|
|
335
|
-
|
|
336
|
-
# DCID process depends on detector PVs being set up already
|
|
337
|
-
SSX_LOGGER.debug("Start DCID process")
|
|
338
|
-
filetemplate = yield from get_pilatus_filename_template_from_device(
|
|
339
|
-
pilatus_metadata
|
|
340
|
-
)
|
|
341
|
-
dcid.generate_dcid(
|
|
342
|
-
beam_settings=beam_settings,
|
|
343
|
-
image_dir=filepath,
|
|
344
|
-
file_template=filetemplate,
|
|
345
|
-
num_images=parameters.total_num_images,
|
|
346
|
-
shots_per_position=parameters.num_exposures,
|
|
347
|
-
start_time=start_time,
|
|
348
|
-
pump_probe=bool(parameters.pump_repeat),
|
|
349
|
-
)
|
|
350
|
-
|
|
351
|
-
SSX_LOGGER.debug("Arm Pilatus. Arm Zebra.")
|
|
352
|
-
shutter_time_offset = (
|
|
353
|
-
SHUTTER_OPEN_TIME
|
|
354
|
-
if parameters.pump_repeat is PumpProbeSetting.Medium1
|
|
355
|
-
else 0.0
|
|
356
|
-
)
|
|
357
|
-
yield from setup_zebra_for_fastchip_plan(
|
|
358
|
-
zebra,
|
|
359
|
-
parameters.detector_name,
|
|
360
|
-
num_gates,
|
|
361
|
-
parameters.num_exposures,
|
|
362
|
-
parameters.exposure_time_s,
|
|
363
|
-
shutter_time_offset,
|
|
364
|
-
wait=True,
|
|
365
|
-
)
|
|
366
|
-
if parameters.pump_repeat == PumpProbeSetting.Medium1:
|
|
367
|
-
yield from open_fast_shutter_at_each_position_plan(
|
|
368
|
-
zebra, parameters.num_exposures, parameters.exposure_time_s
|
|
369
|
-
)
|
|
370
|
-
caput(pv.pilat_acquire, "1") # Arm pilatus
|
|
371
|
-
yield from arm_zebra(zebra)
|
|
372
|
-
caput(pv.pilat_filename, filename)
|
|
373
|
-
yield from bps.sleep(1.5)
|
|
374
|
-
|
|
375
|
-
elif parameters.detector_name == "eiger":
|
|
311
|
+
if parameters.detector_name == "eiger":
|
|
376
312
|
SSX_LOGGER.info("Using Eiger detector")
|
|
377
313
|
|
|
378
314
|
SSX_LOGGER.debug(f"Creating the directory for the collection in {filepath}.")
|
|
@@ -458,22 +394,16 @@ def finish_i24(
|
|
|
458
394
|
)
|
|
459
395
|
|
|
460
396
|
complete_filename: str
|
|
461
|
-
transmission = float(caget(pv.
|
|
397
|
+
transmission = float(caget(pv.requested_transmission))
|
|
462
398
|
wavelength = yield from bps.rd(dcm.wavelength_in_a)
|
|
463
399
|
|
|
464
|
-
if parameters.detector_name == "
|
|
465
|
-
SSX_LOGGER.debug("Finish I24 Pilatus")
|
|
466
|
-
complete_filename = f"{parameters.filename}_{caget(pv.pilat_filenum)}"
|
|
467
|
-
yield from reset_zebra_when_collection_done_plan(zebra)
|
|
468
|
-
yield from sup.pilatus("return-to-normal", None)
|
|
469
|
-
yield from bps.sleep(0.2)
|
|
470
|
-
elif parameters.detector_name == "eiger":
|
|
400
|
+
if parameters.detector_name == "eiger":
|
|
471
401
|
SSX_LOGGER.debug("Finish I24 Eiger")
|
|
472
402
|
yield from reset_zebra_when_collection_done_plan(zebra)
|
|
473
403
|
yield from sup.eiger("return-to-normal", None, dcm)
|
|
474
404
|
complete_filename = cagetstring(pv.eiger_ODfilenameRBV) # type: ignore
|
|
475
405
|
else:
|
|
476
|
-
raise ValueError(f"{parameters.detector_name
|
|
406
|
+
raise ValueError(f"{parameters.detector_name} unrecognised")
|
|
477
407
|
|
|
478
408
|
# Detector independent moves
|
|
479
409
|
SSX_LOGGER.info("Move chip back to home position by setting PMAC_STRING pv.")
|
|
@@ -513,7 +443,6 @@ def main_fixed_target_plan(
|
|
|
513
443
|
beam_center_device: DetectorBeamCenter,
|
|
514
444
|
parameters: FixedTargetParameters,
|
|
515
445
|
dcid: DCID,
|
|
516
|
-
pilatus_metadata: PilatusMetadata,
|
|
517
446
|
) -> MsgGenerator:
|
|
518
447
|
SSX_LOGGER.info("Running a chip collection on I24")
|
|
519
448
|
|
|
@@ -558,7 +487,6 @@ def main_fixed_target_plan(
|
|
|
558
487
|
mirrors,
|
|
559
488
|
beam_center_device,
|
|
560
489
|
dcid,
|
|
561
|
-
pilatus_metadata,
|
|
562
490
|
)
|
|
563
491
|
|
|
564
492
|
SSX_LOGGER.info("Moving to Start")
|
|
@@ -578,7 +506,7 @@ def main_fixed_target_plan(
|
|
|
578
506
|
beam_x = yield from bps.rd(beam_center_device.beam_x)
|
|
579
507
|
beam_y = yield from bps.rd(beam_center_device.beam_y)
|
|
580
508
|
SSX_LOGGER.debug("Start nexus writing service.")
|
|
581
|
-
call_nexgen(
|
|
509
|
+
yield from call_nexgen(
|
|
582
510
|
chip_prog_dict, parameters, wavelength, (beam_x, beam_y), start_time
|
|
583
511
|
)
|
|
584
512
|
|
|
@@ -631,14 +559,11 @@ def tidy_up_after_collection_plan(
|
|
|
631
559
|
yield from bps.sleep(2.0)
|
|
632
560
|
|
|
633
561
|
# This probably should go in main then
|
|
634
|
-
if parameters.detector_name == "
|
|
635
|
-
SSX_LOGGER.debug("Pilatus Acquire STOP")
|
|
636
|
-
caput(pv.pilat_acquire, 0)
|
|
637
|
-
elif parameters.detector_name == "eiger":
|
|
562
|
+
if parameters.detector_name == "eiger":
|
|
638
563
|
SSX_LOGGER.debug("Eiger Acquire STOP")
|
|
639
564
|
caput(pv.eiger_acquire, 0)
|
|
640
565
|
caput(pv.eiger_ODcapture, "Done")
|
|
641
|
-
|
|
566
|
+
yield from bps.sleep(0.5)
|
|
642
567
|
|
|
643
568
|
yield from finish_i24(zebra, pmac, shutter, dcm, parameters)
|
|
644
569
|
|
|
@@ -663,8 +588,6 @@ def run_fixed_target_plan(
|
|
|
663
588
|
mirrors: FocusMirrorsMode = inject("focus_mirrors"),
|
|
664
589
|
attenuator: ReadOnlyAttenuator = inject("attenuator"),
|
|
665
590
|
beam_center_eiger: DetectorBeamCenter = inject("eiger_bc"),
|
|
666
|
-
beam_center_pilatus: DetectorBeamCenter = inject("pilatus_bc"),
|
|
667
|
-
pilatus_metadata: PilatusMetadata = inject("pilatus_meta"),
|
|
668
591
|
) -> MsgGenerator:
|
|
669
592
|
# Read the parameters
|
|
670
593
|
parameters: FixedTargetParameters = yield from read_parameters(
|
|
@@ -677,11 +600,7 @@ def run_fixed_target_plan(
|
|
|
677
600
|
if parameters.chip_map:
|
|
678
601
|
yield from upload_chip_map_to_geobrick(pmac, parameters.chip_map)
|
|
679
602
|
|
|
680
|
-
beam_center_device =
|
|
681
|
-
beam_center_eiger
|
|
682
|
-
if parameters.detector_name is DetectorName.EIGER
|
|
683
|
-
else beam_center_pilatus
|
|
684
|
-
)
|
|
603
|
+
beam_center_device = beam_center_eiger
|
|
685
604
|
|
|
686
605
|
# DCID instance - do not create yet
|
|
687
606
|
dcid = DCID(emit_errors=False, expt_params=parameters)
|
|
@@ -699,7 +618,6 @@ def run_fixed_target_plan(
|
|
|
699
618
|
beam_center_device,
|
|
700
619
|
parameters,
|
|
701
620
|
dcid,
|
|
702
|
-
pilatus_metadata,
|
|
703
621
|
)
|
|
704
622
|
|
|
705
623
|
|
|
@@ -716,7 +634,6 @@ def run_plan_in_wrapper(
|
|
|
716
634
|
beam_center_device: DetectorBeamCenter,
|
|
717
635
|
parameters: FixedTargetParameters,
|
|
718
636
|
dcid: DCID,
|
|
719
|
-
pilatus_metadata: PilatusMetadata,
|
|
720
637
|
) -> MsgGenerator:
|
|
721
638
|
yield from bpp.contingency_wrapper(
|
|
722
639
|
main_fixed_target_plan(
|
|
@@ -732,7 +649,6 @@ def run_plan_in_wrapper(
|
|
|
732
649
|
beam_center_device,
|
|
733
650
|
parameters,
|
|
734
651
|
dcid,
|
|
735
|
-
pilatus_metadata,
|
|
736
652
|
),
|
|
737
653
|
except_plan=lambda e: (yield from run_aborted_plan(pmac, dcid, e)),
|
|
738
654
|
final_plan=lambda: (
|