Wiki source code of The FLASH HDF5 structure

Version 34.1 by sndueste on 2020/10/28 16:14

Show last authors
1 == Contents ==
2
3
4
5 {{toc/}}
6
7 \\
8
9 == General information about HDF5 ==
10
11 HDF5 is a data format maintained by the HDF group. For detailed general information see [[here~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://www.hdfgroup.org/HDF5/||shape="rect"]]
12
13 To download the HDF5 Viewer click [[here~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://support.hdfgroup.org/products/java/hdfview/index.html||shape="rect"]]
14
15 For use on the DESY Maxwell or PAL (max-fsc or pal) **hdfview** is available in the xray module :
16 {{code language="none"}}> module load xray{{/code}}
17 {{code language="none"}}> hdfview{{/code}}
18
19 [[Contents>>doc:||anchor="Contents"]]
20
21 == FLASH HDF5 structure ==
22
23 The photon diagnostic, electron diagnostic and beamline information as well as the information about the pump-probe laser and the infrastructure offered for users (GHz/MHz ADCs) can be included in one HDF5 file which is organised according to train IDs. The general structure is:
24
25 * Electron Diagnostic
26 * Photon Diagnostics
27 * Beamlines
28 * Experiment
29 * Timing
30 [[~[~[image:url:http://hasfweb.desy.de/pub/Setup/HDF5main/HDF5_structure.jpg~|~|alt="HDF5_structure.jpg" width="700" height="500"~]~]>>attach:HDF5_structure.jpg]]
31
32 A detailled description of (most) channels can be found in the lower part of the hdf5 viewer:
33 [[~[~[image:url:http://hasfweb.desy.de/pub/Setup/HDF5main/HDF5_structure_desc.jpg~|~|alt="HDF5_structure_desc.jpg" width="341" height="413"~]~]>>attach:HDF5_structure_desc.jpg]]
34
35 [[Contents>>doc:||anchor="Contents"]]
36
37 \\
38
39 == HDF5 example files ==
40
41 Here we have a few HDF5 samples (User data combined with Photon diagnostics data) from a few beamtimes showing the different kind options.
42
43 [[image:attach:image2019-10-21_17-2-50.png||thumbnail="true" width="300"]] [[download HDF5 (Images @ FL2)>>url:https://desycloud.desy.de/index.php/s/nyEgeCWJFC4gao2||shape="rect"]]
44
45 \\
46
47 [[~[~[image:attach:image2019-10-22_10-52-27.png~|~|thumbnail="true" width="300"~]~]download HDF5 (GHz ADC and OPIS @ FL2)>>url:https://desycloud.desy.de/index.php/s/AeA2kPNNnZgX95A||shape="rect"]]
48
49 \\
50
51 \\
52
53 [[Contents>>doc:||anchor="Contents"]]
54
55 \\
56
57 \\
58
59 == Most popular FLASH parameters and their names in HDF5, DOOCS and (raw) DAQ ==
60
61 {{id name="DOOCSparameters"/}}
62
63 The complete list for the relation between DOOCS names and HDF5 names for the recordable parameters can be found in [[DESY's Repository~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://stash.desy.de/projects/CS/repos/pah/browse/src/camp/data/channel2HdfName.dat||shape="rect"]].
64 The most common and often used ones are summarized below:
65
66 Note, the HDF group and data set names apply to our HDF tree version since vers. 0.3.0.
67
68 \\
69
70 === FLASH1 ===
71
72 \\
73
74 ==== Beamline info (FLASH1) ====
75
76 {{code language="none"}}/FL1/Beamlines/Attenuator/pressure{{/code}}
77 //always saved (PBD)//
78 DOOCS prop : {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
79 DAQ channel: {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
80 desc: set pressure in the gas attenuator
81 units: mbar
82 \\
83
84 {{code language="none"}}/FL1/Beamlines/BL/Fast shutter/open{{/code}}
85 //always saved (PBD)//
86 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/BL.SHUTTER/CH00.TD{{/code}}
87 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/BL.SHUTTER{{/code}}
88 desc: BL Beamline Fast shutter state
89 units: none
90 \\
91
92 {{code language="none"}}/FL1/Beamlines/PG/Fast shutter/open{{/code}}
93 //always saved (PBD)//
94 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/PG.SHUTTER/CH00.TD{{/code}}
95 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/PG.SHUTTER{{/code}}
96 desc: PG Beamline Fast shutter state
97 units: none
98 \\
99
100 {{code language="none"}}/FL1/Beamlines/BL/Filters/BL filter wheel/position filter 1{{/code}}
101 //always saved (PBD)//
102 DOOCS prop : {{code language="none"}}TTF2.FEL/BLFILTERS1/FILTER1/FW.MOTOR.POS{{/code}}
103 DAQ channel: {{code language="none"}}TTF2.FEL/BLFILTERS1/FILTER1/FW.MOTOR.POS{{/code}}
104 desc: Position of the BL filter wheel 1 - to correlate with the filter material please look [[here>>doc:FLASHUSER.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]
105 units: degree
106 \\
107
108 {{code language="none"}}/FL1/Beamlines/BL/Filters/BL filter wheel/position filter 2{{/code}}
109 //always saved (PBD)//
110 DOOCS prop : {{code language="none"}}TTF2.FEL/BLFILTERS2/FILTER2/FW.MOTOR.POS{{/code}}
111 DAQ channel: {{code language="none"}}TTF2.FEL/BLFILTERS2/FILTER2/FW.MOTOR.POS{{/code}}
112 desc: Position of the BL filter wheel 2 - to correlate with the filter material please look [[here>>doc:FLASHUSER.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]
113 units: degree
114 \\
115
116 {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 1{{/code}}
117 //always saved (PBD)//
118 DOOCS prop : = TTF2.FEL/BDAF1/BDA.F1/FW.MOTOR.POS=
119 DAQ channel: {{code language="none"}}TTF2.FEL/BDAF1/BDA.F1/FW.MOTOR.POS{{/code}}
120 desc: Position of the PG filter wheel 1
121 units: degree
122 \\
123
124 {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 2{{/code}}
125 //always saved (PBD)//
126 DOOCS prop : {{code language="none"}}TTF2.FEL/BDAF2/BDA.F2/FW.MOTOR.POS{{/code}}
127 DAQ channel: {{code language="none"}}TTF2.FEL/BDAF2/BDA.F2/FW.MOTOR.POS{{/code}}
128 desc: Position of the PG filter wheel 2
129 units: degree
130 \\
131
132 {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 3{{/code}}
133 //always saved (PBD)//
134 DOOCS prop : {{code language="none"}}TTF2.FEL/PGFILTERS/PGFILTERS/FW.MOTOR.POS{{/code}}
135 DAQ channel: {{code language="none"}}TTF2.FEL/PGFILTERS/PGFILTERS/FW.MOTOR.POS{{/code}}
136 desc: Position of the PG filter wheel 3
137 units: degree
138
139 \\
140
141
142 NOTE: Aperture positions in the beamline as well as the positions of the beam steering mirrors are also saved. For more Info contact your local contact
143
144 [[Contents>>doc:||anchor="Contents"]]
145
146 \\
147
148 ==== Photon Diagnostics SASE ([[GMD>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/gmd_intensity_and_position/index_eng.html||shape="rect"]]) / Spectrometer (FLASH1) ====
149
150 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
151 //always saved (PBD)//
152 (% style="color: rgb(165,173,186);" %)New MTCA Version: DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}} (%%)
153 (% style="color: rgb(165,173,186);" %)New MTCA Version: DAQ channel: {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}}
154
155 (% style="color: rgb(0,0,0);" %)DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT04/VAL{{/code}} (%%)
156 (% style="color: rgb(0,0,0);" %)DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENPULSEIC{{/code}}(%%)
157 desc : calibrated average SASE Energy/pulse measured in the TUNNEL upstream the gas attenuator (ion current)
158 units : microJ
159
160 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
161 //always saved (PBD)//
162
163 (% style="color: rgb(193,199,208);" %)New MTCA Version: DOOCS prop : 
164 {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.TUNNEL/INTENSITY.TD{{/code}}New MTCA Version: DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.TUNNEL/INTENSITY.TD{{/code}}
165
166 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT34/VAL{{/code}}
167 DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENERGYPULSE.USER{{/code}}
168 desc :Energy per pulse Tunnel (from e-) - the values are set to "0" if there was no SASE beam in the FEL
169 units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FLASHUSER.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
170
171 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel (raw){{/code}}
172 //always saved (PBD)//
173 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT14/VAL{{/code}}
174 DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENERGYPULSE.FF{{/code}}
175 desc :Energy per pulse Tunnel (from e-) - uncorrected values. There are also values saved if there was no beam ... just background noise
176 units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FLASHUSER.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
177
178 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy BDA{{/code}}
179 //always saved (PBD)//
180
181 (% style="color: rgb(165,173,186);" %)New MTCA Version: DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.BDA/PHOTONFLUX.UJ{{/code}} (%%)
182 (% style="color: rgb(165,173,186);" %)New MTCA Version: DAQ channel: {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.BDA/PHOTONFLUX.UJ{{/code}}
183
184 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT05/VAL{{/code}}
185 DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENPULSEIC{{/code}}
186 desc : calibrated average SASE Energy/pulse measured in the BDA (in the experimental hall) after the attenuator (ion current)
187 units : microJ
188
189 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA{{/code}}
190 //always saved (PBD)//
191
192 (% style="color: rgb(193,199,208);" %)New MTCA Version: DOOCS prop : 
193 {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.BDA/INTENSITY.TD{{/code}}New MTCA Version: DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.BDA/INTENSITY.TD{{/code}}(%%)
194 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT35/VAL{{/code}}
195 DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENERGYPULSE.USER{{/code}}
196 desc :Energy per pulse BDA (from e-) - the values are set to "0" if there was no SASE beam in the FEL
197 units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FLASHUSER.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
198
199 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA (raw){{/code}}
200 //always saved (PBD)//
201 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT15/VAL{{/code}}
202 DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENERGYPULSE.FF{{/code}}
203 desc :Energy per pulse BDA (from e-) - uncorrected values. There are also values saved if there was no beam ... just background noise
204 units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision)** [[see here for help>>doc:FLASHUSER.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
205
206 \\
207
208 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position BDA horizontal{{/code}}
209 //always saved (PBD)//
210 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IX.POS{{/code}}
211 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IX.POS{{/code}}
212 desc :Beam position of the photon Beam determined by the GMD (BDA, x=horizontal)
213 units : mm
214
215 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position BDA vertical{{/code}}
216 //always saved (PBD)//
217 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IY.POS{{/code}}
218 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IY.POS{{/code}}
219 desc :Beam position of the photon Beam determined by the GMD (BDA, y=vertical)
220 units : mm
221
222 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position tunnel horizontal{{/code}}
223 //always saved (PBD)//
224 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IX.POS{{/code}}
225 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IX.POS{{/code}}
226 desc :Beam position of the photon Beam determined by the GMD (TUNNEL, x=horizontal)
227 units : mm
228
229 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position tunnel vertical{{/code}}
230 //always saved (PBD)//
231 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IY.POS{{/code}}
232 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IY.POS{{/code}}
233 desc :Beam position of the photon Beam determined by the GMD (TUNNEL, y=vertical)
234 units : mm
235
236 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength{{/code}}
237 _always saved (when Spectrum is measured !!) (PBD) _
238 DOOCS prop : {{code language="none"}}TTF2.EXP/PHOTONWL.ML/WAVE_LENGTH/VAL.TD{{/code}}
239 DAQ channel: {{code language="none"}}PBD.PHOTONWL.ML/WAVE_LENGTH{{/code}}
240 desc : XUV Spectrum measured with the "tunnel spectrometer"
241 units :
242
243 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength start value{{/code}}
244 _always saved (when Spectrum is measured !!) (PBD) _
245 DOOCS prop : {{code language="none"}}TTF2.EXP/PBD.PHOTONWL.ML/BSTART/VAL{{/code}}
246 DAQ channel: {{code language="none"}}TTF2.EXP/PBD.PHOTONWL.ML/BSTART/VAL{{/code}}
247 desc : start value (in nm) for the wavelength axis of the XUV Spectrum measured with the "tunnel spectrometer"
248 units : nm
249
250 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength increment{{/code}}
251 _always saved (when Spectrum is measured !!) (PBD) _
252 DOOCS prop : ==
253 DAQ channel: ==
254 desc : increment value (in nm) for each pixel for the wavelength axis of the XUV Spectrum measured with the "tunnel spectrometer"
255 units : nm
256
257 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy{{/code}}
258 //saved on DEMAND (PBD spectrometer stream)//
259 DOOCS prop : ==
260 DAQ channel: {{code language="none"}}PBD.PHOTONEN.ML/PHOTON_ENERGY{{/code}}
261 desc : XUV Spectrum in eV measured with the "PG2 spectrometer"
262 units :
263
264 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy start value{{/code}}
265 //saved on DEMAND (PBD spectrometer stream)//
266 DOOCS prop : ==
267 DAQ channel: ==
268 desc : start value (in eV) for the wavelength axis of the XUV Spectrum measured with the "PG2 spectrometer"
269 units : eV
270
271 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy increment{{/code}}
272 //saved on DEMAND (PBD spectrometer stream)//
273 DOOCS prop : ==
274 DAQ channel: ==
275 desc : increment value (in eV) for each pixel for the wavelength axis of the XUV Spectrum measured with the "PG spectrometer"
276 units : eV
277
278 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength{{/code}}
279 //saved on DEMAND (PBD spectrometer stream)//
280 DOOCS prop : ==
281 DAQ channel: {{code language="none"}}PHOTONEN.ML/PHOTON_WAVE_LEN{{/code}}
282 desc : XUV Spectrum in nm measured with the "PG2 spectrometer"
283 units :
284
285 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength increment{{/code}}
286 //saved on DEMAND (PBD spectrometer stream)//
287 DOOCS prop : ==
288 DAQ channel: ==
289 desc : start value (in nm) for the wavelength axis of the XUV Spectrum measured with the "PG2 spectrometer"
290 units : nm
291
292 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength start value{{/code}}
293 //saved on DEMAND (PBD spectrometer stream)//
294 DOOCS prop : ==
295 DAQ channel: ==
296 desc : increment value (in nm) for each pixel for the wavelength axis of the XUV Spectrum measured with the "PG spectrometer"
297 units : nm
298
299 [[Contents>>doc:||anchor="Contents"]]
300
301 ==== Electron Beam properties (FLASH1) ====
302
303 ===== bunch charge =====
304
305 {{code language="none"}}/FL1/Electron Diagnostic/Bunch charge/after undulator{{/code}}
306 //always saved (PBD)//
307 DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/12EXP/CHARGE.FLASH1{{/code}}
308 DAQ channel: {{code language="none"}}FLASH.DIAG/TOROID/12EXP{{/code}}
309 desc: electron bunch charge (FLASH1)
310 units: nC
311
312 =====
313 arrival time =====
314
315 {{code language="none"}}/FL1/Electron Diagnostic/BAM/4DBC3/electron bunch arrival time (low charge){{/code}}
316 //always saved (PBD)//
317 DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/4DBC3/LOW_CHARGE_ARRIVAL_TIME{{/code}}
318 DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/4DBC3.LOW_CHARGE_ARRIVAL_TIME{{/code}}
319 desc: Electron bunch arrival time measured with the BAM inside the accelerator - however shows a very good correlation to the arrivaltime  of the XUV pulses in the experiment (pulse resolved data).
320 units: ps (bigger numbers indicate later arrivaltime of the electrons)
321
322 {{code language="none"}}/FL1/Electron Diagnostic/BAM/1SFELC/electron bunch arrival time (low charge){{/code}}
323 //always saved (PBD)//
324 DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/1SFELC/LOW_CHARGE_ARRIVAL_TIME{{/code}}
325 DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/1SFELC.LOW_CHARGE_ARRIVAL_TIME{{/code}}
326 desc: Electron bunch arrival time measured with the BAM  before the undulator (pulse resolved data). This one was newly installed in 2020.
327 units: ps (bigger numbers indicate later arrivaltime of the electrons)
328
329 {{info title="BAM hints"}}
330 * besides the arrivaltime from FLASH1 there is also the FLASH2/3 electron arrival time saved.In case of doubt ask your local contact
331 * [[Link a collection of papers related to the BAM and the analysis of pump-probe experiments >>doc:FLASHUSER.Additional helpful things.FLASH beamlines and instruments references.WebHome]]
332 * [[LINK to detailed infos from MSK (may only work inside DESY network~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:http://www.desy.de/~~mbock/pages/BAM_daq_channel_descriptions.html||shape="rect"]]
333 * a recent  [[talk about the working principle of the BAM>>attach:BAM-basics and outlook-2018_DESY-template_16-9Format.pdf]]
334 {{/info}}
335
336 \\
337
338 ===== electron beam profile =====
339
340 {{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/TDS profile{{/code}}
341 //always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
342 DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/OUT.PROF.CCCED{{/code}}
343 DAQ channel: {{code language="none"}}PBD.BEAM.PROF.ML/DAQ.OUT.PROF.CCCED{{/code}}
344 desc: temporal profile of electron bunch, y axis in Ampers (FLASH1)
345 units: pixel
346 \\
347
348 {{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/Expert stuff/TDS calibration constant{{/code}}
349 //always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
350 DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/CALIB.CONST.T{{/code}}
351 DAQ channel: = PBD.BEAM.PROF.ML/CCT=
352 desc: TDS calibration constant for the x-axis of the profiles: fs per pixel
353 units: fs per pixel
354 \\
355
356 {{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/TDS profile width rms{{/code}}
357 //always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
358 DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/SOWS.W.CCTED{{/code}}
359 DAQ channel: {{code language="none"}}PBD.BEAM.PROF.ML/PROFWIDTHCCTED{{/code}}
360 desc: rms pulse width of the measures TDS electron bunch profile
361 units: fs
362
363 ===== electron bunch energy =====
364
365 {{code language="none"}}/FL1/Electron Diagnostic/Electron energy/average electron energy{{/code}}
366 _always saved (PBD)
367 DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_INTRA_MEAN/VAL{{/code}}
368 DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_MEAN{{/code}}
369 desc: electron bunch energy (average over the bunch train)
370 units: (% class="twikiNewLink" %)MeV(%%)
371 \\
372
373 {{code language="none"}}/FL1/Electron Diagnostic/Electron energy/pulse resolved energy{{/code}}
374 _always saved (PBD)
375 DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_SPECT/VAL.TD{{/code}}
376 DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_SPECT{{/code}}
377 desc: electron bunch energy bunch resolved
378 units: (% class="twikiNewLink" %)MeV
379
380 \\
381
382 {{code language="none"}}/FL1/Electron Diagnostic/Electron energy/wavelength bunch train average{{/code}}
383 _always saved (PBD)
384 DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/LAMBDA_MEAN/VAL{{/code}}
385 DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/LAMBDA_MEAN{{/code}}
386 desc: Wavelength calculated by the electron bunch energy (average over the bunch train) (FLASH1)
387 units: nm
388 \\
389
390 [[Contents>>doc:||anchor="Contents"]]
391
392 \\
393
394 ==== Timing information, rep rate etc.  (FLASH1) ====
395
396 ===== bunch repetition rate =====
397
398 {{code language="none"}}/FL1/Timing/repetition rate{{/code}}
399 //always saved (PBD)//
400 DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.1{{/code}}
401 DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_FREQ{{/code}}
402 desc: repetition rate of the bunches / pulses within the burst (FLASH1)
403 units: kHz
404 \\
405
406 ===== set number of pulses =====
407
408 {{code language="none"}}/FL1/Timing/set number of bunches{{/code}}
409 //always saved (PBD)//
410 DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH1{{/code}}
411 DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_NUM{{/code}}
412 desc: Number of pulses set at the gun (FLASH1)
413 units:
414
415 ===== actual number of pulses =====
416
417 {{code language="none"}}/FL1/Timing/actual number of bunches{{/code}}
418 //always saved (PBD)//
419 DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/12EXP/NUMBEROFBUNCHES.FLASH1{{/code}}
420 DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
421 desc: Number of bunches measured BEHIND the undulator. If pulses are used for diagnostic of the protection system of the accelerator limits the number of bunches to be accelerated this is the actual number that created XUV radiation.The number is calculated by the DAQ middle layer server, (FLASH1)
422 units:
423 \\
424
425 ===== actual pulse pattern recorded after the undulator =====
426
427 {{code language="none"}}/FL1/Timing/Bunch pattern/pattern after undulator{{/code}}
428 //always saved (PBD)//
429 DOOCS prop : {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP/CHARGE.TD{{/code}}
430 DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
431 desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH1)
432 units:
433 \\
434
435 ===== Train ID =====
436
437 {{code language="none"}}/Timing/train ID{{/code}}
438 //always saved (PBD)//
439 DOOCS prop : {{code language="none"}}none{{/code}}
440 DAQ channel: {{code language="none"}}none{{/code}}
441 desc: Each 10 Hz burst has its unique train ID. For the HDF5 data set the ID is the same for all parameters with the same index (note camera images may be shifted by 1 ID - talk to the experts !)
442 units:
443 \\
444
445 ===== Train time =====
446
447 {{code language="none"}}/Timing/train time{{/code}}
448 desc:Local time as array of day, hour, minute, second, and centisecond. This data set is meant for visualization purposes only. For correlations use the train ID or the Unix time of the time stamp
449 units: d h min s cs
450 \\
451
452 {{code language="none"}}/Timing/time stamp{{/code}}
453 desc:first column: Local time in unix time. To get day, hour, minute, second you can use unix: e.g. date ~-~-date='@1553617729' or matlab, python etc
454 second column: microseconds
455 third column: Train ID of FLASH
456 \\
457
458 [[Contents>>doc:||anchor="Contents"]]
459
460 \\
461
462 ==== Pump Probe Laser (FLASH1) ====
463
464 {{code language="none"}}/FL1/Experiment/Pump probe laser/laser attenuation{{/code}}
465
466 //always saved (PBD)//
467 DOOCS prop : {{code language="none"}}TTF2.FEL/PPDELAYCAL/PPDELAYCAL/ROT2.CURRENT{{/code}}
468 DAQ channel: {{code language="none"}}TTF2.FEL/PPDELAYCAL/PPDELAYCAL/ROT2.CURRENT{{/code}}
469 desc: attenuation of the PPLaser (rotation of a waveplate)
470 units : 0 no transmission , 1: full transmission
471
472 \\
473
474 {{code language="none"}}/FL1/Experiment/Pump probe laser/laser delay{{/code}}
475 //always saved (PBD)//
476 DOOCS prop : {{code language="none"}}TTF2.FEL/PPDELAYCAL/PPDELAYCAL/DLY1.CURRENT{{/code}}
477 DAQ channel: {{code language="none"}}TTF2.FEL/PPDELAYCAL/PPDELAYCAL/DLY1.CURRENT{{/code}}
478 desc: delay of the Pump probe laser - measured by the read back position of the motor. only read out every secound ... better use the encoder
479 units : ps ( pos delay means IR comes later)
480
481 \\
482
483 {{code language="none"}}/FL1/Experiment/Pump probe laser/delay line IK220.0/ENC.DELAY{{/code}}
484 //always saved (PBD)//
485 DOOCS prop : {{code language="none"}}TTF2.FEL/DELLINE.ENC/IK220.0/ENC.DELAY{{/code}}
486 DAQ channel: {{code language="none"}}TTF2.FEL/DELLINE.ENC/IK220.0:ENC.DELAY{{/code}}
487 subsystem: {{code language="none"}}DELLINE.ENC{{/code}} desc : delay of the Pump probe laser - measured by an encoder. The position is read out with 10Hz train synchronized and should be used to determine the actual laser delay (the motor position is only read out about every second
488 units : ps ( pos delay means IR comes later)
489
490 \\
491
492 {{code language="none"}}/FL1/Experiment/Pump probe laser/Synchronization/timing jitter RMS GECCO{{/code}}
493 //always saved (PBD)//
494 DOOCS prop : {{code language="none"}}FLASH.SYNC/F1PPL.LASER_LOCK/28C.F1PPL1.CONTROLLER/ADV_CTRL_MANAGER.0.PID_INPUT_JITTER.2.RD{{/code}}
495 DAQ channel: {{code language="none"}}FLASH.SYNC/F1PPL.LASER_LOCK/28C.F1PPL1.CONTROLLER/ADV_CTRL_MANAGER.0.PID_INPUT_JITTER.2.RD{{/code}}
496 desc: rms jitter of the GECCO (% class="twikiNewLink" %)TiSa(%%) Oscillator units: fs
497
498 \\
499
500 {{code language="none"}}/FL1/Experiment/Pump probe laser/streak camera delay time{{/code}}
501 //always saved (PBD)//
502 DOOCS prop : {{code language="none"}}TTF2.FEL/TDOLFEL/TDOLFEL/STREAK.CAM.TIME{{/code}}
503 DOOCS prop : {{code language="none"}}TTF2.FEL/TDOLFEL/TDOLFEL/STREAK.CAM.TIME{{/code}}
504 desc: delaytime between the optical laser and the FEL units: ps
505
506 \\
507
508 [[Contents>>doc:||anchor="Contents"]]
509
510 \\
511
512 ==== User Data (FLASH1) ====
513
514 The data saved specifically for detectors at an experiment will show up in /Experiment/ there is a large number of options for cameras or monitoring pslow properties (motor positons etc) for user experiments. For details please ask your local contact.
515
516 NOTE: If parameters for an experiment are included on short notice the correct naming in the HDF5 may not be in time and the data will show up in /uncategorized/ with the DOOCS names
517
518 The most common and permanently installed device used by experiment are our ADCs:
519
520 ===== GHz ADCs =====
521
522 ADC traces of the (SPDevices 412) GHZ ADCs available for the users . More information about the ADCs can be found** [[here>>doc:FLASHUSER.Data Acquisition and controls.Controls (DOOCS, jDDD,\.\.\.).MTCA ADCs.WebHome]]**
523 //saved on DEMAND in the user DAQ//
524 \\The HDF5 names for the ADC traces are depending on the beamline :
525 \\PG Beamline:
526 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH00/TD{{/code}}
527 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH01/TD{{/code}}
528 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH02/TD{{/code}}
529 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH03/TD{{/code}}
530
531 BL Beamlines:
532 {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH00/TD{{/code}}
533 {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH01/TD{{/code}}
534 {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH02/TD{{/code}}
535 {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH03/TD{{/code}}
536 \\{{code language="none"}}/FL1/Experiment/BL2/ADQ412 GHz ADC/CH00/TD{{/code}}
537 {{code language="none"}}/FL1/Experiment/BL2/ADQ412 GHz ADC/CH01/TD{{/code}}
538 \\{{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH02/TD{{/code}}
539 {{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH03/TD{{/code}}
540
541 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00/CH00.TD  or CH00.DAQ.TD{{/code}}
542 here the {{code language="none"}}CH00.TD{{/code}} is the full ADC trace as it is sampled ( typically several 100.000 samples per pulse train) while the {{code language="none"}}CH00.DAQ.TD{{/code}} trace only has the number of samples which are sent to the DAQ OR if //grouping// is activated the {{code language="none"}}CH00.DAQ.TD{{/code}} conatins only the grouped spectra. To read the ADC trace with an online analysis program the {{code language="none"}}CH00.DAQ.TD{{/code}} is used preferablly.
543 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00{{/code}}
544
545 In addition there are also additional parameters saved like:
546
547 * {{code language="none"}}sample frequency{{/code}}: it shows the sample frequency in MHz (number of samples per µs). NOTE: the clock of the ADC is NOT synchronized to the FLASH timing system. Thus the number of samples between bunches in the bunch train may be not integer numbers which will be show up for long bunch trains.
548 * {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
549 * {{code language="none"}}error (ADC):{{/code}} 0 indicates that there was no error
550
551 ===== MHz ADCs =====
552
553 similar to the GHz ADCs the MHz ADCs are saved with HDF5 names like:
554 {{code language="none"}}/FL1/Experiment/BL1/SIS8300 100MHz ADC/CH2/TD{{/code}}
555 DOOCS prop : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02/CH00.TD
556 DAQ channel: : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02
557
558 In addition there are also additional parameters saved like:
559
560 * {{code language="none"}}sample frequency{{/code}}: it shows the sample frequency in MHz (number of samples per µs). NOTE: the clock of the ADC is NOT synchronized to the FLASH timing system. Thus the number of samples between bunches in the bunch train may be not integer numbers which will be show up for long bunch trains.
561 * {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
562
563 [[Contents>>doc:||anchor="Contents"]]
564
565 \\
566
567 \\
568
569 \\
570
571 === FLASH2 ===
572
573 There is analog to FLASH1 a permanently running "PhotonDagnostic DAQ FLASH2" (PBD2) and 2 User DAQs
574
575 ==== Beamline info (FLASH2) ====
576
577 (% style="color: rgb(255,153,0);" %)(not yet available){{code language="none"}}/FL2/Beamlines/Attenuator/pressure  {{/code}}(%%)
578 (% style="color: rgb(193,199,208);" %)//always saved (PBD2)// (%%)
579 (% style="color: rgb(193,199,208);" %)DOOCS prop : {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
580 (% style="color: rgb(193,199,208);" %)DAQ channel:  {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
581 (% style="color: rgb(193,199,208);" %)desc: set pressure in the gas attenuator (%%)
582 (% style="color: rgb(193,199,208);" %)units: mbar(%%)
583 \\
584
585 {{code language="none"}}/FL2/Beamlines/FL20/Shutter/open{{/code}}
586 //always saved (PBD2)//
587 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL2FS/FL20.SHUTTER/CH00.TD{{/code}}
588 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL2FS/FL20.SHUTTER{{/code}}
589 desc: BL Beamline Fast shutter state: 1 is open, 0 is closed ( for technical reasons there are 100 vales of this state saved ...)
590 units: none
591
592
593 {{code language="none"}}/FL2/Beamlines/Filter wheel/position wheel 1{{/code}}
594 //always saved (PBD2)//
595 DOOCS prop : {{code language="none"}}FLASH.FEL/FL20H.PH.MOTOR/MOTOR1.MOT3/FPOS{{/code}}
596 DAQ channel: FLASH.FEL/FL20H.PH.MOTOR/MOTOR1.MOT3/FPOS
597 desc: Position of the BL filter wheel 1 - to correlate with the filter material please look **[[here>>doc:FLASHUSER.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]**
598 units: degree
599 \\
600
601
602 //always saved (PBD2)//
603 \\\\**[[here>>doc:FLASHUSER.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]**
604 {{code language="none"}}/FL2/Beamlines/Filter wheel/position wheel 2 DOOCS prop : FLASH.FEL/FL20H.PH.MOTOR/MOTOR2.MOT3/FPOS DAQ channel: FLASH.FEL/FL20H.PH.MOTOR/MOTOR2.MOT3/FPOS desc: Position of the BL filter wheel 2 - to correlate with the filter material please look units: degree{{/code}}
605
606 \\
607
608 NOTE: Aperture positions in the beamline as well as the positions of the beam steering mirrors are also saved. for more Info contact your local contact
609
610 [[Contents>>doc:||anchor="Contents"]]
611
612 \\
613
614 \\
615
616 ==== Photon Diagnostics SASE ([[XGMD>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/gmd_intensity_and_position/index_eng.html||shape="rect"]] - FLASH2) ====
617
618 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
619 //always saved (PBD2)//
620 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ{{/code}}
621 DAQ channel:{{code language="none"}} FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ{{/code}}
622 desc : calibrated average ( ~~ 20 sec averaging time ) SASE Energy/pulse measured in the TUNNEL before the attenuator (ion current)
623 units : microJ
624
625 \\
626
627 (% style="color: rgb(255,204,0);" %)average Sigma    to be included in
628
629 (% style="color: rgb(193,199,208);" %){{code language="none"}}/FL2/Photon Diagnostic/GMD/Average energy/energy tunnel uncertainty{{/code}} (%%)
630 (% style="color: rgb(193,199,208);" %)//always saved (PBD2)// (%%)
631 (% style="color: rgb(193,199,208);" %)DOOCS prop : FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ.SIGMA (%%)
632 (% style="color: rgb(193,199,208);" %)DAQ channel: FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ.SIGMA (%%)
633 (% style="color: rgb(193,199,208);" %)desc :  This parameter gives an indication of the error of the measurement of the average pulse energy. This takes signal to noise,  detector resolution, uncertainties in crossection etc into account. (it is NOT the measurement of the statistical fluctuation of the SASE pulses)(%%)
634 (% style="color: rgb(193,199,208);" %)units : microJ
635
636 \\
637
638 \\
639
640 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
641 //always saved (PBD2)//
642 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.TD{{/code}}
643 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.TD{{/code}}
644 desc : Energy per pulse measured in the Tunnel  (in fromt of the gas attenuator and the apertures in the Hall)
645 units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision)** [[see here for help>>doc:FLASHUSER.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
646
647 \\
648
649 \\
650
651 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel uncertainty (sigma){{/code}}
652 //always saved (PBD2)//
653 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.SIGMA.TD{{/code}}
654 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL:4{{/code}}
655 desc :(% style="color: rgb(0,0,0);" %)This parameter gives an indication of the error of the measurement of the pulse energy. This takes signal to noise,  detector resolution, uncertainties in crossection etc into account. (it is NOT the measurement of the statistical fluctuation of the SASE pulses)(%%)
656 units : a.u. (more or less µJ - related to the value of the pulse energy )
657
658
659 {{code language="none"}}{{/code}}
660
661 All values for the GMD are also available for the** HALL GMD **which is located in the experimental hall down stream the gas attenuator. If the attenuator is on the ratio between Hall and Tunnel signal shows the attenuation. **BUT NOTE** that the filter unit and the Aperture 4 are downstream the GMD. So if filters and aperture are used this influence is NOT measured by the GMD hall !
662
663 \\
664
665 Besides  pulse energy the GMD also provides information about the beam position
666
667 \\
668
669 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average Beam position/position tunnel horizontal{{/code}}
670 //always saved (PBD2)//
671 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS{{/code}}
672 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS{{/code}}
673 desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the GMD (tunnel, x=horizontal)
674 units : mm
675
676 \\
677
678 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average Beam position/position tunnel vertical{{/code}}
679 //always saved (PBD2)//
680 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS{{/code}}
681 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS{{/code}}
682 desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the GMD (tunnel, x=horizontal)
683 units : mm
684
685 \\
686
687
688 //always saved (PBD2)//
689 \\\\{{code language="none"}}/FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel x DOOCS prop : FLASH.FEL/XGM.BPM/FL2.HALL/X.TDDAQ channel: FLASH.FEL/XGM.BPM/FL2.HALL:2 desc: {{/code}}Besides the well calibrated averaged beam position information there is also the option
690 {{code language="none"}}to measure the beam position on a single bunch level. HOWEVER this methide needs a perfectly adjusted signal level (talk to your local contact !!) and also then the signal to noise is rather small and one needs some averaging ... BUT with this option one can determine if there was a spatial slope on a burst (say forst bunches were lower than the last ones or so ...)units : mm    {{/code}}
691
692 {{code language="none"}}(x=horizontal, y = vertial){{/code}}
693
694 again the same parameter set is available for the **HALL GMD**
695
696 \\
697
698 \\
699
700 ==== Photon Diagnostics OPIS[[ >>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]](FLASH2) ====
701
702 for more info see:** [[ OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]]**
703
704 (The OPIS hall is not installed yet ...)
705
706 \\
707
708 {{code language="none"}}/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/mean photon energy{{/code}}
709 // saved opon request (PBD2)//
710 DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL042{{/code}}
711 DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL042{{/code}}
712 desc : mean photon energy ( ~~ 1 sec averaging time ) measured in the TUNNEL for a specific bunch out of the bunch train (via photoelectron spectroscopy)
713 units : eV
714
715 \\
716
717 {{code language="none"}}/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/mean wavelength{{/code}}
718 // saved opon request (PBD2)//
719 DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL040{{/code}}
720 DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL040{{/code}}
721 desc : meanwavelength ( ~~ 1 sec averaging time ) measured in the TUNNEL for a specific bunch out of the bunch train (via photoelectron spectroscopy)
722 units : nm
723
724 \\
725
726 {{code language="none"}}/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/number of analyzed bunch        (in older version this can be found in OPIS tunnel/Expert stuff/General operation parameters/){{/code}}
727 // saved opon request (PBD2)//
728 DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL060{{/code}}
729 DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL060{{/code}}
730 desc : The bunch number of the bunch used for the wavelength calculation
731 units :
732
733 \\
734
735 If Opis is running typically on the the averaged data is saved. For several experiments it may make sense to save the information for each single bunch. This is up to now done by savng the compleate ADC trace of the TOF setup. This is a huge amount of data and needs processing. This has to be performed after the beamtime in close contact to [[Markus Braune>>mailto:markus.braune@desy.de||shape="rect"]] ( respobsible for [[OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]])
736
737 \\
738
739 In case OPIS was not operating there is still informaton about the **set wavelength** for the undulators (see below) which may differ by up to 5 % from the actual wavelength due to different settings in the FEL ...
740
741 \\
742
743 \\
744
745 ==== Electron Beam properties (FLASH2) ====
746
747 ===== bunch charge =====
748
749 {{code language="none"}}/FL2/Electron Diagnostic/Bunch charge/after undulator{{/code}}
750 //always saved (PBD2)//
751 DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
752 DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
753 desc: electron bunch charge FLASH2 (average value for each bunchtrain).
754 units: nC
755
756 \\
757
758 ===== undulator settings =====
759
760 {{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/set wavelength{{/code}}
761 //always saved (PBD2)//
762 DOOCS prop : {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}}
763 DAQ channel:  {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}}
764 desc: Set value for the anticipated wavelength . This parameter is used to set the undulator gap. It may however deviate from the actual wavelength by several % ...
765 units: nm
766
767 {{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/SASE14 gap{{/code}}
768 //always saved (PBD2)//
769 DOOCS prop : {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
770 DAQ channel:  {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
771 desc: gap value of the undulators. This can be used to follow up how many undulators were closed and if there was a taper
772 units: mm
773
774 The gap values are saved for all 12 undulators (Nr 3 to 14). Undulator 14 is the one closest to the experimental hall.
775
776 =====
777 arrival time =====
778
779 {{code language="none"}}/FL2/Electron Diagnostic/BAM/8FL2XTDS/electron bunch arrival time (low charge){{/code}}
780 //always saved (PBD2)//
781 DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/8FL2XTDS/LOW_CHARGE_ARRIVAL_TIME{{/code}}
782 DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/8FL2XTDS.LOW_CHARGE_ARRIVAL_TIME{{/code}}
783 desc: Electron bunch arrival time measured with the BAM after the FLASH2 undulator (pulse resolved data)
784 units: ps (bigger numbers indicate later arrivaltime of the electrons)
785
786 **FL1**{{code language="none"}}//Electron Diagnostic/BAM/4DBC3/electron bunch arrival time (low charge){{/code}}
787 //always saved (PBD2)//
788 DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/4DBC3/LOW_CHARGE_ARRIVAL_TIME{{/code}}
789 DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/4DBC3.LOW_CHARGE_ARRIVAL_TIME{{/code}}
790 desc: Electron bunch arrival time measured with the BAM  in the accelerator  (pulse resolved data)
791 units: ps (bigger numbers indicate later arrivaltime of the electrons)
792
793 \\
794
795 {{info title="BAM hints"}}
796 * The BAM 4DBC3 measures the arrivaltime of** FLASH 1 and FLASH2** in the same data set (thus also sorted in at /FL1/ !).
797 * The BAM 8FL2XTDS measures only for FLASH2 BUT has the same data structure as the other BAMS ... thus there are also (random) values in in the  FLASH1 time slot 
798 ** Structure: The first values are for FLASH1 bunches. After a gap of about 70 micros ( 70 colums)  with  as entry for the switching between FLASH 1 and 2 the values for the electrons used in FLASH2 start.  The start time of FLASH2 is also recorded in the DAQ. FLASH1 start time is for historic reasons 700. thus if e.g. the start time of FLASH2 ( property name see below) is 1200 it means that FLASH starts at column 500 (1200-700) ... .In case of doubt ask your local contact
799 * [[Link a collection of papers related to the BAM and the analysis of pump-probe experiments >>doc:FLASHUSER.Additional helpful things.FLASH beamlines and instruments references.WebHome]]
800 * [[LINK to detailed infos from MSK (may only work inside DESY network~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:http://www.desy.de/~~mbock/pages/BAM_daq_channel_descriptions.html||shape="rect"]]
801 * a recent  [[talk about the working principle of the BAM>>attach:BAM-basics and outlook-2018_DESY-template_16-9Format.pdf]]
802 {{/info}}
803
804
805 [[Contents>>doc:||anchor="Contents"]]
806
807 \\
808
809 ==== Timing information, rep rate etc.  (FLASH2) ====
810
811 ===== start time of FLASH2 =====
812
813 {{code language="none"}}/FL2/Timing/start time flash2{{/code}}
814 //always saved (PBD2)//
815 DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}}
816 DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}}
817 desc: The max 600 µs acceleration time of FLASH is devided between FLASH1 and FLASH2. This 600 µs window starts with FLASH1 (up to now)  at a time"label" of 700 µs (for historic reasons). Thus the first bunch of FLASH 1 comes at "700" and the last possibel bunch comes at 1300 (700+600). After FLASH1 train is over ther is a about 70µs switching time with no bunches. Then comes the first FLASH2 bunch.  Thus if e.g. the start time of FLASH2 is 1200 it means that FLASH2 starts at column 500 (1200-700)  in the HDF5 files. (However for yet unknown reasons this may change by 2-3 colums ...)
818 units: µs
819
820 ===== bunch repetition rate =====
821
822 {{code language="none"}}/FL2/Timing/repetition rate{{/code}}
823 //always saved (PBD2)//
824 DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}}
825 DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}}
826 desc: repetition rate of the bunches / pulses within the burst (FLASH2)
827 units: kHz
828
829 ===== actual number of pulses =====
830
831 {{code language="none"}}/FL1/Timing/actual number of bunches{{/code}}
832 //always saved (PBD2)//
833 DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
834 DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
835 desc: Number of bunches measured BEHIND the undulator. If pulses are used for diagnostic of the protection system of the accelerator limits the number of bunches to be accelerated this is the actual number that created XUV radiation.The number is calculated by the DAQ middle layer server, (FLASH2)
836 units:
837 \\
838
839 ===== actual pulse pattern recorded after the undulator =====
840
841 {{code language="none"}}/FL1/Timing/Bunch pattern/pattern after undulator{{/code}}
842 //always saved (PBD2)//
843 DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
844 DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
845 desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH2)
846 units:
847 \\
848
849 ===== Train ID =====
850
851 {{code language="none"}}/Timing/train ID{{/code}}
852 //always saved (PBD2)//
853 DOOCS prop : {{code language="none"}}none{{/code}}
854 DAQ channel: {{code language="none"}}none{{/code}}
855 desc: Each 10 Hz burst has its unique train ID. For the HDF5 dataset the ID is the same for all parameters with the same index (note camera images may be shifted by 1 ID - talk to the experts !)
856 units:
857 \\
858
859 ===== Train time =====
860
861 //always saved (PBD2)
862 //{{code language="none"}}/Timing/train time{{/code}}
863 desc:Local time as array of day, hour, minute, second, and centisecond. This dataset is meant for visualisation purposes only. For correlations use the train ID or the Unix time of the time stamp
864 units: d h min s cs
865 \\
866
867 {{code language="none"}}/Timing/time stamp{{/code}}
868
869 //always saved (PBD2)//
870 desc: first column: Local time in unix time. To get day, hour, minute, second you can use unix: e.g. date ~-~-date='@1553617729' or matlab, python etc
871 second column: microseconds
872 third column: Train ID of FLASH
873 \\
874
875 [[Contents>>doc:||anchor="Contents"]]
876
877 \\
878
879 ==== User Data (FLASH2) ====
880
881 The data saved specifically for detectors at an experiment will show up in /Experiment/ there is a large number of options for cameras or monitoring pslow properties (motor positons etc) for user experiments. For details please ask your local contact.
882
883 NOTE: If parameters for an experiment are included on short notice the correct naming in the HDF5 may not be in time and the data will show up in /uncategorized/ with the DOOCS names
884
885 The most common and permanently installed device used by experiment are our ADCs:
886
887 ===== GHz ADCs =====
888
889 ADC traces of the (SPDevices 412) GHZ ADCs available for the users . More information about the ADCs can be found** [[here>>doc:FLASHUSER.Data Acquisition and controls.Controls (DOOCS, jDDD,\.\.\.).MTCA ADCs.WebHome]]**
890 //saved on DEMAND in the user DAQ//
891 \\Up to now there are 4 channels available at FL24
892 \\\\{{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH00/TD{{/code}}
893 {{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH01/TD{{/code}}
894 \\{{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH02/TD{{/code}}{{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH03/TD{{/code}}
895
896 \\
897
898 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.ADQ.FL2EXP1/FL2EXP1.CH00/CH00.TD  or CH00.DAQ.TD{{/code}}
899 here the {{code language="none"}}CH00.TD{{/code}} is the full ADC trace as it is sampled ( typically several 100.000 samples per pulse train) while the {{code language="none"}}CH00.DAQ.TD{{/code}} trace only has the number of samples which are sent to the DAQ OR if //grouping// is activated the {{code language="none"}}CH00.DAQ.TD{{/code}} conatins only the grouped spectra. To read the ADC trace with an online analysis program the {{code language="none"}}CH00.DAQ.TD{{/code}} is used preferablly.
900 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.FL2EXP1/FL2EXP1.CH00{{/code}}
901
902 In addition there are also additional parameters saved like:
903
904 * {{code language="none"}}sample frequency{{/code}}: it shows the sample frequency in MHz (number of samples per µs). NOTE: the clock of the ADC is NOT synchronized to the FLASH timing system. Thus the number of samples between bunches in the bunch train may be not integer numbers which will be show up for long bunch trains.
905 * {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
906 * {{code language="none"}}error (ADC):{{/code}} 0 indicates that there was no error
907 * {{code language="none"}}/CH0-CH3/offset{{/code}}: To use the full dynamic range of the ADC one can shift the base line . This offset is saved here.
908
909 ===== MHz ADCs =====
910
911 similar to the GHz ADCs the MHz ADCs are saved with HDF5 names like:
912 {{code language="none"}}/FL2/Experiment/MTCA-EXP1/SIS8300 100MHz ADC/CH2/TD{{/code}}
913 DOOCS prop : FLASH.FEL/ADC.SIS.FL2EXP1/FL2EXP1.CH02/CH00.TD
914 DAQ channel: : FLASH.FEL/ADC.SIS.FL2EXP1/FL2EXP1.CH02
915
916 In addition there are also additional parameters saved like:
917
918 * {{code language="none"}}sample frequency{{/code}}: it shows the sample frequency in MHz (number of samples per µs). NOTE: the clock of the ADC is NOT synchronized to the FLASH timing system. Thus the number of samples between bunches in the bunch train may be not integer numbers which will be show up for long bunch trains.
919 * {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
920
921 [[Contents>>doc:||anchor="Contents"]]
922
923 \\
924
925 \\
926
927 ==== Pump Probe Laser (FLASH2) ====
928
929 There may be more information available from the "Laser DAQ". laese contact your Laser Local Contact.
930
931
932 {{code language="none"}}/FL2/Experiment/Pump probe laser/FL24/attenuator position{{/code}}//always saved (PBD2)//
933 DOOCS prop : {{code language="none"}}FLASH.FEL/FLAPP2BEAMLINES/MOTOR1.FL24/FPOS{{/code}}
934 DAQ channel: {{code language="none"}}FLASH.FEL/FLAPP2BEAMLINES/MOTOR1.FL24/FPOS{{/code}}
935 desc: attenuation of the PPLaser in the FL24 hutch (rotation of a waveplate)
936 units : deg.
937
938 \\
939
940
941 {{code language="none"}}/FL2/Experiment/Pump probe laser/FL24/polarization position{{/code}}//always saved (PBD2)//
942 DOOCS prop : {{code language="none"}}FLASH.FEL/FLAPP2BEAMLINES/MOTOR2.FL24/FPOS{{/code}}
943 DAQ channel: {{code language="none"}}FLASH.FEL/FLAPP2BEAMLINES/MOTOR2.FL24/FPOS{{/code}}
944 desc: attenuation of the PPLaser in the FL24 hutch (rotation of a waveplate)
945 units : deg.
946
947 \\
948
949 {{code language="none"}}/FL1/Experiment/Pump probe laser/laser delay readback{{/code}}
950 //always saved (PBD2)//
951 DOOCS prop : {{code language="none"}}FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/FMC0.MD22.0.POSITION.RD{{/code}}
952 DAQ channel: {{code language="none"}}FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/FMC0.MD22.0.POSITION.RD{{/code}}
953 desc: delay of the Pump probe laser - measured by the read back position of the motor. There is also the set value available ( upto now these values are only updating every 1-2 seconds. There is no fast encoder property as on FLASH1 available)
954 units : ps )
955
956 \\
957
958 {{code language="none"}}/FL1/Experiment/Pump probe laser/Synchronization/timing jitter RMS{{/code}}
959 //always saved (PBD)//
960 DOOCS prop : {{code language="none"}}FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/CURRENT_INPUT_JITTER.RD{{/code}}
961 DAQ channel: {{code language="none"}}FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/CURRENT_INPUT_JITTER.RD{{/code}}
962 desc: rms jitter of the fs-Oscillator
963 units: fs
964
965 [[Contents>>doc:||anchor="Contents"]]
966
967 \\
968
969 === "/uncategorized/" ===
970
971 If parameters for an experiment are included on short notice the correct naming in the HDF5 may not be in time and the data will show up in /uncategorized/ with their DOOCS names
972
973 \\
974
975 === HDF5 structure revisions ===
976
977 Starting with Beamblock 4, August 2018, the hierarchy of the HDF group names have been adapted to reflect the new situation at FLASH. FLASH2 is operating for users quite some time now. Therefore, both accelerators appear equally in their respective HDF groups, namely "/FL1" and "/FL2". The root group of proper, by run organised HDF files have an attribute called "version". This version attribute has changed from "0.2.x" to "0.3.x". The changes in detail:
978
979 \\
980
981 * All FLASH1 related HDF groups moved to group "/FL1", i.e. a new prefix "/FL1" is added to their HDF path.
982 * The ambigious term "pulse" has been replaced by "train" to refer to "pulse train". Most notably, the dataset "/Timing/pulse ID" has changed to "/Timing/train ID".
983 * A number of inconsistent names have been streamlined. The relevant changes are listed in the following table.
984
985 \\
986
987 (% class="wrapped" %)
988 |=(((
989 earlier HDF path (vers. 0.2)
990 )))|=(((
991 is now (vers. 0.3)
992 )))
993 |(((
994 /Photon Diagnostic/GMD/Beam position/position BDA x
995 )))|(((
996 /FL1/Photon Diagnostic/GMD/Beam position/position BDA horizontal
997 )))
998 |(((
999 /Photon Diagnostic/GMD/Beam position/position BDA y
1000 )))|(((
1001 /FL1/Photon Diagnostic/GMD/Beam position/position BDA vertical
1002 )))
1003 |(((
1004 /Photon Diagnostic/GMD/Beam position/position tunnel x
1005 )))|(((
1006 /FL1/Photon Diagnostic/GMD/Beam position/position tunnel horizontal
1007 )))
1008 |(((
1009 /Photon Diagnostic/GMD/Beam position/position tunnel y
1010 )))|(((
1011 /FL1/Photon Diagnostic/GMD/Beam position/position tunnel vertical
1012 )))
1013 |(((
1014 /Experiment/Pump probe laser/BPM/position x
1015 )))|(((
1016 /FL1/Experiment/Pump probe laser/BPM/position horizontal
1017 )))
1018 |(((
1019 /Experiment/Pump probe laser/BPM/position y
1020 )))|(((
1021 /FL1/Experiment/Pump probe laser/BPM/position vertical
1022 )))
1023 |(((
1024 /FL2/Photon Diagnostic/GMD/Beam position/Average/position hall horizontal
1025 )))|(((
1026 /FL2/Photon Diagnostic/GMD/Average beam position/position hall horizontal
1027 )))
1028 |(((
1029 /FL2/Photon Diagnostic/GMD/Beam position/Average/position hall vertical
1030 )))|(((
1031 /FL2/Photon Diagnostic/GMD/Average beam position/position hall vertical
1032 )))
1033 |(((
1034 /FL2/Photon Diagnostic/GMD/Beam position/Average/position tunnel horizontal
1035 )))|(((
1036 /FL2/Photon Diagnostic/GMD/Average beam position/position tunnel horizontal
1037 )))
1038 |(((
1039 /FL2/Photon Diagnostic/GMD/Beam position/Average/position tunnel vertical
1040 )))|(((
1041 /FL2/Photon Diagnostic/GMD/Average beam position/position tunnel vertical
1042 )))
1043 |(((
1044 /FL2/Photon Diagnostic/GMD/Average energy/hall
1045 )))|(((
1046 /FL2/Photon Diagnostic/GMD/Average energy/energy hall
1047 )))
1048 |(((
1049 /FL2/Photon Diagnostic/GMD/Average energy/hall (raw)
1050 )))|(((
1051 /FL2/Photon Diagnostic/GMD/Average energy/energy hall (raw)
1052 )))
1053 |(((
1054 /FL2/Photon Diagnostic/GMD/Average energy/tunnel
1055 )))|(((
1056 /FL2/Photon Diagnostic/GMD/Average energy/energy tunnel
1057 )))
1058 |(((
1059 /FL2/Photon Diagnostic/GMD/Average energy/tunnel (raw)
1060 )))|(((
1061 /FL2/Photon Diagnostic/GMD/Average energy/energy tunnel (raw)
1062 )))
1063 |(((
1064 /FL2/Photon Diagnostic/GMD/Beam position/Pulse resolved/hall x
1065 )))|(((
1066 /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position hall horizontal
1067 )))
1068 |(((
1069 /FL2/Photon Diagnostic/GMD/Beam position/Pulse resolved/hall y
1070 )))|(((
1071 /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position hall vertical
1072 )))
1073 |(((
1074 /FL2/Photon Diagnostic/GMD/Beam position/Pulse resolved/tunnel x
1075 )))|(((
1076 /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel horizontal
1077 )))
1078 |(((
1079 /FL2/Photon Diagnostic/GMD/Beam position/Pulse resolved/tunnel y
1080 )))|(((
1081 /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel vertical
1082 )))
1083
1084 \\
1085
1086 [[Contents>>doc:||anchor="Contents"]]
1087
1088 \\
1089
1090 == Example code showing how to access HDF5 files ==
1091
1092 \\
1093
1094 === Samples how to read HDF5 with Matlab ===
1095
1096 The examples apply to HDF files with HDF tree version before vers. 0.3.0.
1097
1098 (% style="color: rgb(0,128,0);" %)%% read in the needed data p=path; path(p,'D:\mess-daten\DAQ-data\hdf5\Gotthard') % add the actual folder to the path hdf5file='FLASH1_EXP-2016-03-16T1420.h5'; % data with Gotthard and VLS
1099
1100 (% style="color: rgb(0,128,0);" %)% h5disp(hdf5file,'/','min') % to get an idea what is in the file % h5info(hdf5file,'/Experiment/Gotthard1/BL.0') % get info about the individual channel
1101
1102 (% style="color: rgb(0,128,0);" %)% read a Number per 10 Hz pulse train:
1103
1104 (% class="code" %)
1105 (((
1106 FEL_Wavelength_energy_server=h5read(hdf5file,'/Photon Diagnostic/Wavelength/Calculated by energy/wavelength' );
1107 )))
1108
1109 (% style="color: rgb(0,128,0);" %)% read in a 1D array (spectrum) %GMD data GMD_Spectrum=h5read(hdf5file,'/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA');
1110
1111 (% style="color: rgb(0,128,0);" %)% This reads in all the data . One can also limit the amount of data read to a subset of the data stored in the file. e.g. for image Data (Gotthard)
1112
1113 \\
1114
1115 (% class="code" %)
1116 (((
1117 Start_event= 500 ; % define the first 10 Hz event
1118 Number_of_events = 20; % how many 10 Hz events to load
1119 )))
1120
1121 (% style="color: rgb(0,128,0);" %)% read only part of the data:
1122
1123 (% class="code" %)
1124 (((
1125 Gotthard_data=h5read(hdf5file,'/Experiment/Gotthard1/BL.0',[2 650 Start_event],[50 85 Number_of_events]);
1126 )))
1127
1128 (% style="color: rgb(0,128,0);" %)% start stop increment "manual" for 2 D data : [start bunch number in Gotthard data start pixelin spectrum start sample in 10 Hz trains], % [number of bunches in the Gotthard data number of points in the spectrum number of spectra ]
1129
1130 (% class="code" %)
1131 (((
1132 VLS_Spectrum=h5read(hdf5file,'/Photon Diagnostic/Wavelength/VLS online spectrometer/PCO.ROI.X',[400 Start_event],[200 Number_of_events] );
1133
1134 )))
1135
1136 (% style="color: rgb(0,128,0);" %)% start stop increment "manual" for 1D data : [start sample in the spectrum start sample in 10 Hz trains],[number of points in the spectrum number of spectra ]
1137
1138 (% style="color: rgb(0,128,0);" %)%GMD data
1139
1140 (% class="code" %)
1141 (((
1142 GMD_Spectrum=h5read(hdf5file,'/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA',[1 Start_event],[40 Number_of_events] );
1143 )))
1144
1145 [[Contents>>doc:||anchor="Contents"]]
1146
1147 === How to read HDF5 with Python via FLASHH5 ===
1148
1149 With [[FlashH5>>doc:FLASHUSER.FLASHH5 for easier access of FLASH's HDF5 files]] we provide h5py based examples to access and evaluate FLASH's HDF5 files.
1150
1151 \\
1152
1153 == HDF5 and DOOCS ==
1154
1155 Here is an outdated [[list with the available properties that are always saved (PBD) for FLASH1 as>>attach:FLASH1__DaqChannel2HdfNamePbd.xlsx]] HDF5 names and the corresponding DOOCS names
1156
1157 [[Contents>>doc:||anchor="Contents"]]