-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathbeamline_config.yml
157 lines (138 loc) · 4.22 KB
/
beamline_config.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
%YAML 1.2
---
# The class to initialise, and init parameters
class:
mxcubecore.HardwareObjects.Beamline.Beamline
# objects
#
# NBNB some objects that do not currently have their own config files
# would need those added (e.g. the centring methods)
#
objects:
# The !!omap and the lines starting with '- ' give you an *ordered* dictionary
# And thus a reproducible loading order
!!omap
# The values are the file paths to the configuration file for the
# object, relative to the configuration file path(s)
#
# NB - the order is *NOT* arbitrary, as signal connections are set
# on one object that require the other to be already loaded.
#
# Hardware:
- session: session.yaml
- data_publisher: data_publisher.yaml
- machine_info: machine_info.yaml
- detector: detector.yaml
- beam: beam.yaml
- transmission: transmission.yaml
- flux: flux.yaml
- cryo: cryo.yaml
- energy: energy.yaml
- resolution: resolution.yaml
- safety_shutter: safety_shutter.yaml
- fast_shutter: fast_shutter.yaml
- sample_changer: sample_changer.yaml
- sample_changer_maintenance: sample_changer_maint.yaml
# The 2 lines up have to be used for SC and the 2 line below for the plate manipulator
# - sample_changer: plate_manipulator.xml
# - sample_changer_maintenance: plate_manipulator_maint.xml
# - harvester: harvester.xml
# - harvester_maintenance: harvester_maintenance.xml
- diffractometer: minidiff.yaml
- lims: lims.yaml
- sample_view: sample_view.yaml
- queue_manager: queue_manager.yaml
- queue_model: queue_model.yaml
# Procedures:
- beamline_actions: beamline_actions.yaml
- workflow: ednaparams.yaml
- collect: mxcollect.yaml
- xrf_spectrum: xrf.yaml
- energy_scan: energy_scan.yaml
- gphl_connection: gphl/gphl-setup.yaml
- gphl_workflow: gphl/gphl-workflow.yaml
- xray_centring: xray_centring2.yaml
- xml_rpc_server: xml_rpc_server.yaml
# Analysis:
- offline_processing: auto_processing.yaml
- online_processing: parallel_processing.yaml
- characterisation: characterisation.yaml
configuration:
advanced_methods:
- MeshScan
- XrayCentering
tunable_wavelength: true
disable_num_passes: true
run_processing_parallel: true
run_number: 1
click_centring_num_clicks: 3
mesh_result_format: PNG
use_native_mesh: true
enable_2d_points: true
default_acquisition_parameters:
default:
# Default values, also used for standard acquisition.
# Values not given in other dictionaries are taken from here
exp_time: 0.02 # exposure time
osc_start: 0.0 # Only used if no current angle can be found
osc_range: 0.1
num_passes: 1
first_image: 1
overlap: 0
num_images: 1
detector_mode: 1 # Remove as not in practice used ?
inverse_beam: false
take_dark_current: true
skip_existing_images: true
take_snapshots: true
sub_wedge_size: 10
# NB 'compression' not added as apparently never used
helical:
# Defaults for helical scan. Missing values are taken from default
number_of_images: 100
characterisation:
# Defaults for characterisation. Missing values are taken from default
exp_time: 0.05 # exposure time
osc_range: 1
overlap: -89
num_images: 4
shutterless: false
mesh:
# Defaults for 'advanced' acquisition. Missing values are taken from default
exp_time: 10 # exposure time
range: 10
num_images: 100
cell_counting: zig-zag
cell_spacing: vertical, horizontal
mesh_center: top-left
gphlworkflow:
{}
# Apparently this must be here, but we use all values same as default
acquisition_limit_values:
exposure_time:
- 0.02
- 1000
osc_range:
- -10000
- 10000
number_of_images:
- 1
- 99999
kappa:
- -5.0
- 240.0
available_methods:
datacollection: true
characterisation: true
helical: true
xrf_spectrum: true
energy_scan: true
mesh: true
ssx_chip_collection: true
gphlworkflow: true
test_collection: true
undulators:
- type: PPU35C_GAP
device_uri: //orion:10000/id/id/30
- type: PPU35D_GAP
device_uri: //orion:10000/id/id/30