Wiki source code of The FLASH HDF5 structure

Version 25.1 by sndueste on 2019/10/21 17:03

Hide last authors
sendels 1.1 1 == Contents ==
2
3
4
sndueste 13.1 5 {{toc/}}
sendels 1.1 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
sendels 4.1 19 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 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
sendels 4.1 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]]
sendels 1.1 31
32 A detailled description of (most) channels can be found in the lower part of the hdf5 viewer:
sendels 4.1 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]]
sendels 1.1 34
sendels 4.1 35 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 36
37 \\
38
sndueste 25.1 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 Example 1:  Images saved at FLASH2
44
45 \\
46
47 [[image:attach:image2019-10-21_17-2-50.png||thumbnail="true" height="150"]]
48
49 \\
50
51 \\
52
53 [[Contents>>doc:||anchor="Contents"]]
54
55 \\
56
57 \\
58
sndueste 14.1 59 == Most popular FLASH parameters and their names in HDF5, DOOCS and (raw) DAQ ==
sendels 1.1 60
sndueste 5.1 61 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"]].
sendels 1.1 62 The most common and often used ones are summarized below:
63
sndueste 5.1 64 Note, the HDF group and data set names apply to our HDF tree version since vers. 0.3.0.
sendels 1.1 65
66 \\
67
68 === FLASH1 ===
69
70 \\
71
72 ==== Beamline info (FLASH1) ====
73
74 {{code language="none"}}/FL1/Beamlines/Attenuator/pressure{{/code}}
75 //always saved (PBD)//
76 DOOCS prop : {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
77 DAQ channel: {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
78 desc: set pressure in the gas attenuator
79 units: mbar
80 \\
81
82 {{code language="none"}}/FL1/Beamlines/BL/Fast shutter/open{{/code}}
83 //always saved (PBD)//
84 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/BL.SHUTTER/CH00.TD{{/code}}
85 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/BL.SHUTTER{{/code}}
86 desc: BL Beamline Fast shutter state
87 units: none
88 \\
89
90 {{code language="none"}}/FL1/Beamlines/PG/Fast shutter/open{{/code}}
91 //always saved (PBD)//
92 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/PG.SHUTTER/CH00.TD{{/code}}
93 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/PG.SHUTTER{{/code}}
94 desc: PG Beamline Fast shutter state
95 units: none
96 \\
97
98 {{code language="none"}}/FL1/Beamlines/BL/Filters/BL filter wheel/position filter 1{{/code}}
99 //always saved (PBD)//
100 DOOCS prop : {{code language="none"}}TTF2.FEL/BLFILTERS1/FILTER1/FW.MOTOR.POS{{/code}}
101 DAQ channel: {{code language="none"}}TTF2.FEL/BLFILTERS1/FILTER1/FW.MOTOR.POS{{/code}}
sndueste 24.1 102 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]]
sendels 1.1 103 units: degree
104 \\
105
106 {{code language="none"}}/FL1/Beamlines/BL/Filters/BL filter wheel/position filter 2{{/code}}
107 //always saved (PBD)//
108 DOOCS prop : {{code language="none"}}TTF2.FEL/BLFILTERS2/FILTER2/FW.MOTOR.POS{{/code}}
109 DAQ channel: {{code language="none"}}TTF2.FEL/BLFILTERS2/FILTER2/FW.MOTOR.POS{{/code}}
sndueste 24.1 110 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]]
sendels 1.1 111 units: degree
112 \\
113
114 {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 1{{/code}}
115 //always saved (PBD)//
116 DOOCS prop : = TTF2.FEL/BDAF1/BDA.F1/FW.MOTOR.POS=
117 DAQ channel: {{code language="none"}}TTF2.FEL/BDAF1/BDA.F1/FW.MOTOR.POS{{/code}}
sndueste 5.1 118 desc: Position of the PG filter wheel 1
sendels 1.1 119 units: degree
120 \\
121
122 {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 2{{/code}}
123 //always saved (PBD)//
124 DOOCS prop : {{code language="none"}}TTF2.FEL/BDAF2/BDA.F2/FW.MOTOR.POS{{/code}}
125 DAQ channel: {{code language="none"}}TTF2.FEL/BDAF2/BDA.F2/FW.MOTOR.POS{{/code}}
sndueste 5.1 126 desc: Position of the PG filter wheel 2
sendels 1.1 127 units: degree
128 \\
129
130 {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 3{{/code}}
131 //always saved (PBD)//
132 DOOCS prop : {{code language="none"}}TTF2.FEL/PGFILTERS/PGFILTERS/FW.MOTOR.POS{{/code}}
133 DAQ channel: {{code language="none"}}TTF2.FEL/PGFILTERS/PGFILTERS/FW.MOTOR.POS{{/code}}
sndueste 5.1 134 desc: Position of the PG filter wheel 3
sendels 1.1 135 units: degree
sndueste 8.1 136
sendels 1.1 137 \\
138
sndueste 8.1 139
140 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
141
sendels 4.1 142 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 143
sndueste 8.1 144 \\
145
sndueste 10.1 146 ==== 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) ====
sendels 1.1 147
148 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
149 //always saved (PBD)//
150 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT04/VAL{{/code}}
151 DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENPULSEIC{{/code}}
152 desc : calibrated average SASE Energy/pulse measured in the TUNNEL before the attenuator (ion current)
153 units : microJ
154
155 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
156 //always saved (PBD)//
157 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT34/VAL{{/code}}
158 DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENERGYPULSE.USER{{/code}}
159 desc :Energy per pulse Tunnel (from e-) - the values are set to "0" if there was no SASE beam in the FEL
sndueste 23.1 160 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]]**
sendels 1.1 161
162 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel (raw){{/code}}
163 //always saved (PBD)//
164 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT14/VAL{{/code}}
165 DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENERGYPULSE.FF{{/code}}
166 desc :Energy per pulse Tunnel (from e-) - uncorrected values. There are also values saved if there was no beam ... just background noise
sndueste 23.1 167 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]]**
sendels 1.1 168
169 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy BDA{{/code}}
170 //always saved (PBD)//
171 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT05/VAL{{/code}}
172 DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENPULSEIC{{/code}}
173 desc : calibrated average SASE Energy/pulse measured in the BDA (in the experimental hall) after the attenuator (ion current)
174 units : microJ
175
176 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA{{/code}}
177 //always saved (PBD)//
178 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT35/VAL{{/code}}
179 DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENERGYPULSE.USER{{/code}}
180 desc :Energy per pulse BDA (from e-) - the values are set to "0" if there was no SASE beam in the FEL
sndueste 23.1 181 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]]**
sendels 1.1 182
183 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA (raw){{/code}}
184 //always saved (PBD)//
185 DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT15/VAL{{/code}}
186 DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENERGYPULSE.FF{{/code}}
187 desc :Energy per pulse BDA (from e-) - uncorrected values. There are also values saved if there was no beam ... just background noise
sndueste 23.1 188 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]]**
sendels 1.1 189
190 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position BDA horizontal{{/code}}
191 //always saved (PBD)//
192 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IX.POS{{/code}}
193 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IX.POS{{/code}}
sndueste 19.1 194 desc :Beam position of the photon Beam determined by the GMD (BDA, x=horizontal)
sendels 1.1 195 units : mm
196
197 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position BDA vertical{{/code}}
198 //always saved (PBD)//
199 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IY.POS{{/code}}
200 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IY.POS{{/code}}
sndueste 19.1 201 desc :Beam position of the photon Beam determined by the GMD (BDA, y=vertical)
sendels 1.1 202 units : mm
203
204 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position tunnel horizontal{{/code}}
205 //always saved (PBD)//
206 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IX.POS{{/code}}
207 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IX.POS{{/code}}
sndueste 19.1 208 desc :Beam position of the photon Beam determined by the GMD (TUNNEL, x=horizontal)
sendels 1.1 209 units : mm
210
211 {{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position tunnel vertical{{/code}}
212 //always saved (PBD)//
213 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IY.POS{{/code}}
214 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IY.POS{{/code}}
sndueste 19.1 215 desc :Beam position of the photon Beam determined by the GMD (TUNNEL, y=vertical)
sendels 1.1 216 units : mm
217
218 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength{{/code}}
219 _always saved (when Spectrum is measured !!) (PBD) _
220 DOOCS prop : {{code language="none"}}TTF2.EXP/PHOTONWL.ML/WAVE_LENGTH/VAL.TD{{/code}}
221 DAQ channel: {{code language="none"}}PBD.PHOTONWL.ML/WAVE_LENGTH{{/code}}
222 desc : XUV Spectrum measured with the "tunnel spectrometer"
223 units :
224
225 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength start value{{/code}}
226 _always saved (when Spectrum is measured !!) (PBD) _
227 DOOCS prop : {{code language="none"}}TTF2.EXP/PBD.PHOTONWL.ML/BSTART/VAL{{/code}}
228 DAQ channel: {{code language="none"}}TTF2.EXP/PBD.PHOTONWL.ML/BSTART/VAL{{/code}}
229 desc : start value (in nm) for the wavelength axis of the XUV Spectrum measured with the "tunnel spectrometer"
230 units : nm
231
232 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength increment{{/code}}
233 _always saved (when Spectrum is measured !!) (PBD) _
234 DOOCS prop : ==
235 DAQ channel: ==
236 desc : increment value (in nm) for each pixel for the wavelength axis of the XUV Spectrum measured with the "tunnel spectrometer"
237 units : nm
238
239 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy{{/code}}
240 //saved on DEMAND (PBD spectrometer stream)//
241 DOOCS prop : ==
242 DAQ channel: {{code language="none"}}PBD.PHOTONEN.ML/PHOTON_ENERGY{{/code}}
243 desc : XUV Spectrum in eV measured with the "PG2 spectrometer"
244 units :
245
246 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy start value{{/code}}
247 //saved on DEMAND (PBD spectrometer stream)//
248 DOOCS prop : ==
249 DAQ channel: ==
250 desc : start value (in eV) for the wavelength axis of the XUV Spectrum measured with the "PG2 spectrometer"
251 units : eV
252
253 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy increment{{/code}}
254 //saved on DEMAND (PBD spectrometer stream)//
255 DOOCS prop : ==
256 DAQ channel: ==
257 desc : increment value (in eV) for each pixel for the wavelength axis of the XUV Spectrum measured with the "PG spectrometer"
258 units : eV
259
260 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength{{/code}}
261 //saved on DEMAND (PBD spectrometer stream)//
262 DOOCS prop : ==
263 DAQ channel: {{code language="none"}}PHOTONEN.ML/PHOTON_WAVE_LEN{{/code}}
264 desc : XUV Spectrum in nm measured with the "PG2 spectrometer"
265 units :
266
267 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength increment{{/code}}
268 //saved on DEMAND (PBD spectrometer stream)//
269 DOOCS prop : ==
270 DAQ channel: ==
271 desc : start value (in nm) for the wavelength axis of the XUV Spectrum measured with the "PG2 spectrometer"
272 units : nm
273
274 {{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength start value{{/code}}
275 //saved on DEMAND (PBD spectrometer stream)//
276 DOOCS prop : ==
277 DAQ channel: ==
278 desc : increment value (in nm) for each pixel for the wavelength axis of the XUV Spectrum measured with the "PG spectrometer"
279 units : nm
280
sendels 4.1 281 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 282
283 ==== Electron Beam properties (FLASH1) ====
284
285 ===== bunch charge =====
286
287 {{code language="none"}}/FL1/Electron Diagnostic/Bunch charge/after undulator{{/code}}
288 //always saved (PBD)//
289 DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/12EXP/CHARGE.FLASH1{{/code}}
290 DAQ channel: {{code language="none"}}FLASH.DIAG/TOROID/12EXP{{/code}}
291 desc: electron bunch charge (FLASH1)
292 units: nC
293
sndueste 5.1 294 =====
295 arrival time =====
sendels 1.1 296
297 {{code language="none"}}/FL1/Electron Diagnostic/BAM/4DBC3/electron bunch arrival time (low charge){{/code}}
298 //always saved (PBD)//
299 DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/4DBC3/LOW_CHARGE_ARRIVAL_TIME{{/code}}
300 DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/4DBC3.LOW_CHARGE_ARRIVAL_TIME{{/code}}
301 desc: Electron bunch arrival time measured with the BAM (more or less) before the undulator (pulse resolved data)
302 units: ps (bigger numbers indicate later arrivaltime of the electrons)
sndueste 24.1 303 note: besides the arivaltime from FLASH1 there is also the FLASH2/3 electron arrival time saved. [[LINK to detailled 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"]] and to a recent  [[talk about the working principle of the BAM>>attach:BAM-basics and outlook-2018_DESY-template_16-9Format.pdf]]
sendels 1.1 304
305 ===== electron beam profile =====
306
307 {{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/TDS profile{{/code}}
308 //always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
309 DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/OUT.PROF.CCCED{{/code}}
310 DAQ channel: {{code language="none"}}PBD.BEAM.PROF.ML/DAQ.OUT.PROF.CCCED{{/code}}
311 desc: temporal profile of electron bunch, y axis in Ampers (FLASH1)
312 units: pixel
313 \\
314
315 {{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/Expert stuff/TDS calibration constant{{/code}}
316 //always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
317 DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/CALIB.CONST.T{{/code}}
318 DAQ channel: = PBD.BEAM.PROF.ML/CCT=
319 desc: TDS calibration constant for the x-axis of the profiles: fs per pixel
320 units: fs per pixel
321 \\
322
323 {{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/TDS profile width rms{{/code}}
324 //always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
325 DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/SOWS.W.CCTED{{/code}}
326 DAQ channel: {{code language="none"}}PBD.BEAM.PROF.ML/PROFWIDTHCCTED{{/code}}
327 desc: rms pulse width of the measures TDS electron bunch profile
328 units: fs
329
330 ===== electron bunch energy =====
331
332 {{code language="none"}}/FL1/Electron Diagnostic/Electron energy/average electron energy{{/code}}
333 _always saved (PBD)
334 DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_INTRA_MEAN/VAL{{/code}}
335 DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_MEAN{{/code}}
336 desc: electron bunch energy (average over the bunch train)
sendels 2.1 337 units: (% class="twikiNewLink" %)MeV(%%)
sendels 1.1 338 \\
339
340 {{code language="none"}}/FL1/Electron Diagnostic/Electron energy/pulse resolved energy{{/code}}
341 _always saved (PBD)
342 DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_SPECT/VAL.TD{{/code}}
343 DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_SPECT{{/code}}
344 desc: electron bunch energy bunch resolved
sndueste 5.1 345 units: (% class="twikiNewLink" %)MeV
sendels 1.1 346
347 \\
348
349 {{code language="none"}}/FL1/Electron Diagnostic/Electron energy/wavelength bunch train average{{/code}}
350 _always saved (PBD)
351 DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/LAMBDA_MEAN/VAL{{/code}}
352 DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/LAMBDA_MEAN{{/code}}
353 desc: Wavelength calculated by the electron bunch energy (average over the bunch train) (FLASH1)
354 units: nm
355 \\
356
sendels 4.1 357 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 358
359 \\
360
sndueste 5.1 361 ==== Timing information, rep rate etc.  (FLASH1) ====
sendels 1.1 362
363 ===== bunch repetition rate =====
364
365 {{code language="none"}}/FL1/Timing/repetition rate{{/code}}
366 //always saved (PBD)//
367 DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.1{{/code}}
368 DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_FREQ{{/code}}
369 desc: repetition rate of the bunches / pulses within the burst (FLASH1)
370 units: kHz
371 \\
372
373 ===== set number of pulses =====
374
375 {{code language="none"}}/FL1/Timing/set number of bunches{{/code}}
376 //always saved (PBD)//
377 DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH1{{/code}}
378 DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_NUM{{/code}}
379 desc: Number of pulses set at the gun (FLASH1)
380 units:
381
382 ===== actual number of pulses =====
383
384 {{code language="none"}}/FL1/Timing/actual number of bunches{{/code}}
385 //always saved (PBD)//
386 DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/12EXP/NUMBEROFBUNCHES.FLASH1{{/code}}
387 DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
388 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)
389 units:
390 \\
391
392 ===== actual pulse pattern recorded after the undulator =====
393
394 {{code language="none"}}/FL1/Timing/Bunch pattern/pattern after undulator{{/code}}
395 //always saved (PBD)//
396 DOOCS prop : {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP/CHARGE.TD{{/code}}
397 DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
398 desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH1)
399 units:
400 \\
401
402 ===== Train ID =====
403
404 {{code language="none"}}/Timing/train ID{{/code}}
405 //always saved (PBD)//
406 DOOCS prop : {{code language="none"}}none{{/code}}
407 DAQ channel: {{code language="none"}}none{{/code}}
sndueste 18.1 408 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 !)
sendels 1.1 409 units:
410 \\
411
412 ===== Train time =====
413
414 {{code language="none"}}/Timing/train time{{/code}}
sndueste 18.1 415 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
sendels 1.1 416 units: d h min s cs
417 \\
418
419 {{code language="none"}}/Timing/time stamp{{/code}}
420 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
421 second column: microseconds
422 third column: Train ID of FLASH
423 \\
424
sendels 4.1 425 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 426
427 \\
428
429 ==== Pump Probe Laser (FLASH1) ====
430
sndueste 5.1 431 {{code language="none"}}/FL1/Experiment/Pump probe laser/laser attenuation{{/code}}
432
433 //always saved (PBD)//
sendels 1.1 434 DOOCS prop : {{code language="none"}}TTF2.FEL/PPDELAYCAL/PPDELAYCAL/ROT2.CURRENT{{/code}}
435 DAQ channel: {{code language="none"}}TTF2.FEL/PPDELAYCAL/PPDELAYCAL/ROT2.CURRENT{{/code}}
436 desc: attenuation of the PPLaser (rotation of a waveplate)
437 units : 0 no transmission , 1: full transmission
438
sndueste 5.1 439 \\
440
sendels 1.1 441 {{code language="none"}}/FL1/Experiment/Pump probe laser/laser delay{{/code}}
442 //always saved (PBD)//
443 DOOCS prop : {{code language="none"}}TTF2.FEL/PPDELAYCAL/PPDELAYCAL/DLY1.CURRENT{{/code}}
444 DAQ channel: {{code language="none"}}TTF2.FEL/PPDELAYCAL/PPDELAYCAL/DLY1.CURRENT{{/code}}
445 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
446 units : ps ( pos delay means IR comes later)
447
sndueste 5.1 448 \\
449
sendels 1.1 450 {{code language="none"}}/FL1/Experiment/Pump probe laser/delay line IK220.0/ENC.DELAY{{/code}}
451 //always saved (PBD)//
452 DOOCS prop : {{code language="none"}}TTF2.FEL/DELLINE.ENC/IK220.0/ENC.DELAY{{/code}}
453 DAQ channel: {{code language="none"}}TTF2.FEL/DELLINE.ENC/IK220.0:ENC.DELAY{{/code}}
454 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
455 units : ps ( pos delay means IR comes later)
456
sndueste 5.1 457 \\
458
sendels 1.1 459 {{code language="none"}}/FL1/Experiment/Pump probe laser/Synchronization/timing jitter RMS GECCO{{/code}}
460 //always saved (PBD)//
461 DOOCS prop : {{code language="none"}}FLASH.SYNC/F1PPL.LASER_LOCK/28C.F1PPL1.CONTROLLER/ADV_CTRL_MANAGER.0.PID_INPUT_JITTER.2.RD{{/code}}
462 DAQ channel: {{code language="none"}}FLASH.SYNC/F1PPL.LASER_LOCK/28C.F1PPL1.CONTROLLER/ADV_CTRL_MANAGER.0.PID_INPUT_JITTER.2.RD{{/code}}
sendels 2.1 463 desc: rms jitter of the GECCO (% class="twikiNewLink" %)TiSa(%%) Oscillator units: fs
sendels 1.1 464
465 \\
466
467 {{code language="none"}}/FL1/Experiment/Pump probe laser/streak camera delay time{{/code}}
468 //always saved (PBD)//
469 DOOCS prop : {{code language="none"}}TTF2.FEL/TDOLFEL/TDOLFEL/STREAK.CAM.TIME{{/code}}
470 DOOCS prop : {{code language="none"}}TTF2.FEL/TDOLFEL/TDOLFEL/STREAK.CAM.TIME{{/code}}
471 desc: delaytime between the optical laser and the FEL units: ps
472
473 \\
474
sendels 4.1 475 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 476
477 \\
478
479 ==== User Data (FLASH1) ====
480
sndueste 18.1 481 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.
482
483 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
484
485 The most common and permanently installed device used by experiment are our ADCs:
486
sendels 1.1 487 ===== GHz ADCs =====
488
sndueste 18.1 489 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]]**
sendels 1.1 490 //saved on DEMAND in the user DAQ//
491 \\The HDF5 names for the ADC traces are depending on the beamline :
492 \\PG Beamline:
493 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH00/TD{{/code}}
494 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH01/TD{{/code}}
495 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH02/TD{{/code}}
496 {{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH03/TD{{/code}}
497
498 BL Beamlines:
499 {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH00/TD{{/code}}
500 {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH01/TD{{/code}}
501 {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH02/TD{{/code}}
502 {{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH03/TD{{/code}}
503 \\{{code language="none"}}/FL1/Experiment/BL2/ADQ412 GHz ADC/CH00/TD{{/code}}
504 {{code language="none"}}/FL1/Experiment/BL2/ADQ412 GHz ADC/CH01/TD{{/code}}
505 \\{{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH02/TD{{/code}}
506 {{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH03/TD{{/code}}
507
508 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00/CH00.TD  or CH00.DAQ.TD{{/code}}
509 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.
510 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00{{/code}}
511
sndueste 18.1 512 In addition there are also additional parameters saved like:
sendels 1.1 513
sndueste 16.1 514 * {{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.
515 * {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
516 * {{code language="none"}}error (ADC):{{/code}} 0 indicates that there was no error
sendels 1.1 517
518 ===== MHz ADCs =====
519
sndueste 5.1 520 similar to the GHz ADCs the MHz ADCs are saved with HDF5 names like:
sendels 1.1 521 {{code language="none"}}/FL1/Experiment/BL1/SIS8300 100MHz ADC/CH2/TD{{/code}}
522 DOOCS prop : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02/CH00.TD
523 DAQ channel: : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02
524
sndueste 18.1 525 In addition there are also additional parameters saved like:
sendels 1.1 526
sndueste 18.1 527 * {{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.
528 * {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
529
sendels 4.1 530 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 531
sndueste 18.1 532 \\
533
534 \\
535
536 \\
537
sendels 1.1 538 === FLASH2 ===
539
sndueste 7.1 540 There is analog to FLASH1 a permanently running "PhotonDagnostic DAQ FLASH2" (PBD2) and 2 User DAQs
sendels 1.1 541
sndueste 7.1 542 ==== Beamline info (FLASH2) ====
sndueste 6.1 543
sndueste 7.1 544 (% style="color: rgb(255,153,0);" %)(not yet available){{code language="none"}}/FL2/Beamlines/Attenuator/pressure  {{/code}}(%%)
sndueste 18.1 545 (% style="color: rgb(193,199,208);" %)//always saved (PBD2)// (%%)
546 (% style="color: rgb(193,199,208);" %)DOOCS prop : {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
547 (% style="color: rgb(193,199,208);" %)DAQ channel:  {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
548 (% style="color: rgb(193,199,208);" %)desc: set pressure in the gas attenuator (%%)
549 (% style="color: rgb(193,199,208);" %)units: mbar(%%)
sndueste 5.1 550 \\
551
sndueste 7.1 552 {{code language="none"}}/FL2/Beamlines/FL20/Shutter/open{{/code}}
553 //always saved (PBD2)//
554 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL2FS/FL20.SHUTTER/CH00.TD{{/code}}
555 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL2FS/FL20.SHUTTER{{/code}}
556 desc: BL Beamline Fast shutter state: 1 is open, 0 is closed ( for technical reasons there are 100 vales of this state saved ...)
sndueste 6.1 557 units: none
sndueste 5.1 558
559
sndueste 7.1 560 {{code language="none"}}/FL2/Beamlines/Filter wheel/position wheel 1{{/code}}
sndueste 8.1 561 //always saved (PBD2)//
sndueste 7.1 562 DOOCS prop : {{code language="none"}}FLASH.FEL/FL20H.PH.MOTOR/MOTOR1.MOT3/FPOS{{/code}}
563 DAQ channel: FLASH.FEL/FL20H.PH.MOTOR/MOTOR1.MOT3/FPOS
sndueste 24.1 564 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]]**
sndueste 6.1 565 units: degree
566 \\
567
568
sndueste 8.1 569 //always saved (PBD2)//
sndueste 24.1 570 \\\\**[[here>>doc:FLASHUSER.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]**
sndueste 7.1 571 {{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}}
sndueste 6.1 572
sndueste 8.1 573 \\
574
575 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
576
sndueste 6.1 577 [[Contents>>doc:||anchor="Contents"]]
578
579 \\
580
581 \\
582
sndueste 10.1 583 ==== Photon Diagnostics SASE ([[XGMD>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/gmd_intensity_and_position/index_eng.html||shape="rect"]] - FLASH2) ====
sndueste 8.1 584
585 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
586 //always saved (PBD2)//
sndueste 9.1 587 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ{{/code}}
588 DAQ channel:{{code language="none"}} FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ{{/code}}
589 desc : calibrated average ( ~~ 20 sec averaging time ) SASE Energy/pulse measured in the TUNNEL before the attenuator (ion current)
sndueste 8.1 590 units : microJ
591
592 \\
593
594 (% style="color: rgb(255,204,0);" %)average Sigma    to be included in
595
sndueste 9.1 596 (% style="color: rgb(193,199,208);" %){{code language="none"}}/FL2/Photon Diagnostic/GMD/Average energy/energy tunnel uncertainty{{/code}} (%%)
597 (% style="color: rgb(193,199,208);" %)//always saved (PBD2)// (%%)
598 (% style="color: rgb(193,199,208);" %)DOOCS prop : FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ.SIGMA (%%)
599 (% style="color: rgb(193,199,208);" %)DAQ channel: FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ.SIGMA (%%)
600 (% 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)(%%)
601 (% style="color: rgb(193,199,208);" %)units : microJ
sndueste 8.1 602
603 \\
604
605 \\
606
607 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
sndueste 9.1 608 //always saved (PBD2)//
609 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.TD{{/code}}
610 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.TD{{/code}}
611 desc : Energy per pulse measured in the Tunnel  (in fromt of the gas attenuator and the apertures in the Hall)
sndueste 23.1 612 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]]**
sndueste 8.1 613
614 \\
615
616 \\
617
sndueste 9.1 618 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel uncertainty (sigma){{/code}}
619 //always saved (PBD2)//
620 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.SIGMA.TD{{/code}}
621 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL:4{{/code}}
622 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)(%%)
623 units : a.u. (more or less µJ - related to the value of the pulse energy )
sndueste 8.1 624
625
sndueste 9.1 626 {{code language="none"}}{{/code}}
sndueste 8.1 627
sndueste 9.1 628 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 !
sndueste 8.1 629
sndueste 9.1 630 \\
sndueste 8.1 631
sndueste 9.1 632 Besides  pulse energy the GMD also provides information about the beam position
sndueste 8.1 633
sndueste 9.1 634 \\
635
636 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average Beam position/position tunnel horizontal{{/code}}
637 //always saved (PBD2)//
638 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS{{/code}}
639 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS{{/code}}
sndueste 19.1 640 desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the GMD (tunnel, x=horizontal)
sndueste 8.1 641 units : mm
642
sndueste 9.1 643 \\
644
645 {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average Beam position/position tunnel vertical{{/code}}
646 //always saved (PBD2)//
647 DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS{{/code}}
648 DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS{{/code}}
sndueste 19.1 649 desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the GMD (tunnel, x=horizontal)
sndueste 8.1 650 units : mm
651
652 \\
653
654
sndueste 9.1 655 //always saved (PBD2)//
656 \\\\{{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
657 {{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}}
658
659 {{code language="none"}}(x=horizontal, y = vertial){{/code}}
660
661 again the same parameter set is available for the **HALL GMD**
662
sndueste 8.1 663 \\
664
sndueste 9.1 665 \\
666
sndueste 15.1 667 ==== Photon Diagnostics OPIS[[ >>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]](FLASH2) ====
sndueste 10.1 668
sndueste 19.1 669 for more info see:** [[ OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]]**
sndueste 10.1 670
671 (The OPIS hall is not installed yet ...)
672
sndueste 9.1 673 \\
674
sndueste 10.1 675 {{code language="none"}}/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/mean photon energy{{/code}}
676 // saved opon request (PBD2)//
677 DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL042{{/code}}
678 DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL042{{/code}}
679 desc : mean photon energy ( ~~ 1 sec averaging time ) measured in the TUNNEL for a specific bunch out of the bunch train (via photoelectron spectroscopy)
680 units : eV
681
sndueste 9.1 682 \\
683
sndueste 10.1 684 {{code language="none"}}/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/mean wavelength{{/code}}
685 // saved opon request (PBD2)//
686 DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL040{{/code}}
687 DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL040{{/code}}
688 desc : meanwavelength ( ~~ 1 sec averaging time ) measured in the TUNNEL for a specific bunch out of the bunch train (via photoelectron spectroscopy)
689 units : nm
690
sndueste 9.1 691 \\
692
sndueste 10.1 693 {{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}}
694 // saved opon request (PBD2)//
695 DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL060{{/code}}
696 DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL060{{/code}}
sndueste 11.1 697 desc : The bunch number of the bunch used for the wavelength calculation
698 units :
sndueste 10.1 699
sndueste 9.1 700 \\
701
sndueste 11.1 702 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"]])
703
sndueste 9.1 704 \\
705
sndueste 15.1 706 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 ...
sndueste 12.1 707
sndueste 9.1 708 \\
709
710 \\
711
sndueste 12.1 712 ==== Electron Beam properties (FLASH2) ====
713
714 ===== bunch charge =====
715
716 {{code language="none"}}/FL2/Electron Diagnostic/Bunch charge/after undulator{{/code}}
sndueste 14.1 717 //always saved (PBD2)//
sndueste 12.1 718 DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
719 DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
sndueste 15.1 720 desc: electron bunch charge FLASH2 (average value for each bunchtrain).
sndueste 12.1 721 units: nC
722
sndueste 9.1 723 \\
724
sndueste 14.1 725 ===== undulator settings =====
sndueste 9.1 726
sndueste 14.1 727 {{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/set wavelength{{/code}}
728 //always saved (PBD2)//
729 DOOCS prop : {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}}
730 DAQ channel:  {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}}
731 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 % ...
732 units: nm
sndueste 12.1 733
sndueste 14.1 734 {{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/SASE14 gap{{/code}}
735 //always saved (PBD2)//
736 DOOCS prop : {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
737 DAQ channel:  {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
sndueste 15.1 738 desc: gap value of the undulators. This can be used to follow up how many undulators were closed and if there was a taper
sndueste 14.1 739 units: mm
740
sndueste 15.1 741 The gap values are saved for all 12 undulators (Nr 3 to 14). Undulator 14 is the one closest to the experimental hall.
sndueste 14.1 742
sndueste 12.1 743 =====
744 arrival time =====
745
sndueste 14.1 746 **FL1**{{code language="none"}}//Electron Diagnostic/BAM/4DBC3/electron bunch arrival time (low charge){{/code}}
747 //always saved (PBD2)//
sndueste 12.1 748 DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/4DBC3/LOW_CHARGE_ARRIVAL_TIME{{/code}}
749 DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/4DBC3.LOW_CHARGE_ARRIVAL_TIME{{/code}}
750 desc: Electron bunch arrival time measured with the BAM (more or less) before the undulator (pulse resolved data)
sndueste 14.1 751 units: ps (bigger numbers indicate later arrivaltime of the electrons)
sndueste 12.1 752
sndueste 15.1 753 The BAM measures the arrivaltime of** FLASH 1 and FLASH2** in the same data set (thus also sorted in at /FL1/ !). The first values are for FLASH1 bunches.
754 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) ...
sndueste 14.1 755
sndueste 24.1 756 Docu for BAM:  [[LINK to detailled 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"]] and to a recent [[talk about the working principle of the BAM>>attach:BAM-basics and outlook-2018_DESY-template_16-9Format.pdf]]
sndueste 10.1 757
sndueste 14.1 758
sndueste 15.1 759 [[Contents>>doc:||anchor="Contents"]]
sndueste 12.1 760
761 \\
762
sndueste 16.1 763 ==== Timing information, rep rate etc.  (FLASH2) ====
sndueste 12.1 764
sndueste 15.1 765 ===== start time of FLASH2 =====
sndueste 12.1 766
sndueste 15.1 767 {{code language="none"}}/FL2/Timing/start time flash2{{/code}}
768 //always saved (PBD2)//
769 DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}}
770 DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}}
sndueste 17.1 771 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 ...)
sndueste 15.1 772 units: µs
sndueste 12.1 773
774 ===== bunch repetition rate =====
775
sndueste 15.1 776 {{code language="none"}}/FL2/Timing/repetition rate{{/code}}
777 //always saved (PBD2)//
778 DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}}
779 DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}}
780 desc: repetition rate of the bunches / pulses within the burst (FLASH2)
sndueste 12.1 781 units: kHz
782
783 ===== actual number of pulses =====
784
785 {{code language="none"}}/FL1/Timing/actual number of bunches{{/code}}
sndueste 15.1 786 //always saved (PBD2)//
787 DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
788 DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
789 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)
sndueste 12.1 790 units:
791 \\
792
793 ===== actual pulse pattern recorded after the undulator =====
794
795 {{code language="none"}}/FL1/Timing/Bunch pattern/pattern after undulator{{/code}}
sndueste 15.1 796 //always saved (PBD2)//
797 DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
798 DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
799 desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH2)
sndueste 12.1 800 units:
801 \\
802
803 ===== Train ID =====
804
805 {{code language="none"}}/Timing/train ID{{/code}}
sndueste 15.1 806 //always saved (PBD2)//
sndueste 12.1 807 DOOCS prop : {{code language="none"}}none{{/code}}
808 DAQ channel: {{code language="none"}}none{{/code}}
809 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 !)
810 units:
811 \\
812
813 ===== Train time =====
814
sndueste 16.1 815 //always saved (PBD2)
816 //{{code language="none"}}/Timing/train time{{/code}}
sndueste 12.1 817 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
818 units: d h min s cs
819 \\
820
sndueste 16.1 821 {{code language="none"}}/Timing/time stamp{{/code}}
822
823 //always saved (PBD2)//
824 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
sndueste 12.1 825 second column: microseconds
826 third column: Train ID of FLASH
827 \\
828
829 [[Contents>>doc:||anchor="Contents"]]
830
831 \\
832
sndueste 19.1 833 ==== User Data (FLASH2) ====
sndueste 18.1 834
sndueste 19.1 835 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.
836
837 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
838
839 The most common and permanently installed device used by experiment are our ADCs:
840
sndueste 18.1 841 ===== GHz ADCs =====
842
sndueste 19.1 843 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]]**
sndueste 18.1 844 //saved on DEMAND in the user DAQ//
sndueste 19.1 845 \\Up to now there are 4 channels available at FL24
846 \\\\{{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH00/TD{{/code}}
847 {{code language="none"}}/FL2/Experiment/MTCA-EXP1/ADQ412 GHz ADC/CH01/TD{{/code}}
848 \\{{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}}
sndueste 18.1 849
sndueste 19.1 850 \\
sndueste 18.1 851
sndueste 19.1 852 DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.ADQ.FL2EXP1/FL2EXP1.CH00/CH00.TD  or CH00.DAQ.TD{{/code}}
sndueste 18.1 853 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.
sndueste 19.1 854 DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.FL2EXP1/FL2EXP1.CH00{{/code}}
sndueste 18.1 855
856 In addition there are also additional parameters saved like:
857
858 * {{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.
859 * {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
860 * {{code language="none"}}error (ADC):{{/code}} 0 indicates that there was no error
861 * {{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.
862
863 ===== MHz ADCs =====
864
865 similar to the GHz ADCs the MHz ADCs are saved with HDF5 names like:
sndueste 19.1 866 {{code language="none"}}/FL2/Experiment/MTCA-EXP1/SIS8300 100MHz ADC/CH2/TD{{/code}}
867 DOOCS prop : FLASH.FEL/ADC.SIS.FL2EXP1/FL2EXP1.CH02/CH00.TD
868 DAQ channel: : FLASH.FEL/ADC.SIS.FL2EXP1/FL2EXP1.CH02
sndueste 18.1 869
870 In addition there are also additional parameters saved like:
871
872 * {{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.
873 * {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
874
875 [[Contents>>doc:||anchor="Contents"]]
876
sndueste 12.1 877 \\
878
879 \\
880
sndueste 21.1 881 ==== Pump Probe Laser (FLASH2) ====
882
883 There may be more information available from the "Laser DAQ". laese contact your Laser Local Contact.
884
885
sndueste 22.1 886 {{code language="none"}}/FL2/Experiment/Pump probe laser/FL24/attenuator position{{/code}}//always saved (PBD2)//
sndueste 21.1 887 DOOCS prop : {{code language="none"}}FLASH.FEL/FLAPP2BEAMLINES/MOTOR1.FL24/FPOS{{/code}}
888 DAQ channel: {{code language="none"}}FLASH.FEL/FLAPP2BEAMLINES/MOTOR1.FL24/FPOS{{/code}}
889 desc: attenuation of the PPLaser in the FL24 hutch (rotation of a waveplate)
890 units : deg.
891
sndueste 12.1 892 \\
893
sndueste 21.1 894
sndueste 22.1 895 {{code language="none"}}/FL2/Experiment/Pump probe laser/FL24/polarization position{{/code}}//always saved (PBD2)//
896 DOOCS prop : {{code language="none"}}FLASH.FEL/FLAPP2BEAMLINES/MOTOR2.FL24/FPOS{{/code}}
897 DAQ channel: {{code language="none"}}FLASH.FEL/FLAPP2BEAMLINES/MOTOR2.FL24/FPOS{{/code}}
sndueste 21.1 898 desc: attenuation of the PPLaser in the FL24 hutch (rotation of a waveplate)
899 units : deg.
900
sndueste 12.1 901 \\
902
sndueste 21.1 903 {{code language="none"}}/FL1/Experiment/Pump probe laser/laser delay readback{{/code}}
904 //always saved (PBD2)//
905 DOOCS prop : {{code language="none"}}FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/FMC0.MD22.0.POSITION.RD{{/code}}
906 DAQ channel: {{code language="none"}}FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/FMC0.MD22.0.POSITION.RD{{/code}}
907 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)
908 units : ps )
909
sndueste 12.1 910 \\
911
sndueste 22.1 912 {{code language="none"}}/FL1/Experiment/Pump probe laser/Synchronization/timing jitter RMS{{/code}}
sndueste 21.1 913 //always saved (PBD)//
sndueste 22.1 914 DOOCS prop : {{code language="none"}}FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/CURRENT_INPUT_JITTER.RD{{/code}}
915 DAQ channel: {{code language="none"}}FLASH.SYNC/LASER.LOCK.EXP/FLASH2.PPL1.OSC1/CURRENT_INPUT_JITTER.RD{{/code}}
916 desc: rms jitter of the fs-Oscillator
917 units: fs
sndueste 21.1 918
919 [[Contents>>doc:||anchor="Contents"]]
920
921 \\
922
sndueste 23.1 923 === "/uncategorized/" ===
924
925 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
926
927 \\
928
sendels 1.1 929 === HDF5 structure revisions ===
930
931 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:
932
933 \\
934
935 * All FLASH1 related HDF groups moved to group "/FL1", i.e. a new prefix "/FL1" is added to their HDF path.
936 * 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".
937 * A number of inconsistent names have been streamlined. The relevant changes are listed in the following table.
938
939 \\
940
sendels 2.1 941 (% class="wrapped" %)
sendels 1.1 942 |=(((
sendels 4.1 943 earlier HDF path (vers. 0.2)
sendels 1.1 944 )))|=(((
sendels 4.1 945 is now (vers. 0.3)
sendels 1.1 946 )))
947 |(((
948 /Photon Diagnostic/GMD/Beam position/position BDA x
949 )))|(((
950 /FL1/Photon Diagnostic/GMD/Beam position/position BDA horizontal
951 )))
952 |(((
953 /Photon Diagnostic/GMD/Beam position/position BDA y
954 )))|(((
955 /FL1/Photon Diagnostic/GMD/Beam position/position BDA vertical
956 )))
957 |(((
958 /Photon Diagnostic/GMD/Beam position/position tunnel x
959 )))|(((
960 /FL1/Photon Diagnostic/GMD/Beam position/position tunnel horizontal
961 )))
962 |(((
963 /Photon Diagnostic/GMD/Beam position/position tunnel y
964 )))|(((
965 /FL1/Photon Diagnostic/GMD/Beam position/position tunnel vertical
966 )))
967 |(((
968 /Experiment/Pump probe laser/BPM/position x
969 )))|(((
970 /FL1/Experiment/Pump probe laser/BPM/position horizontal
971 )))
972 |(((
973 /Experiment/Pump probe laser/BPM/position y
974 )))|(((
975 /FL1/Experiment/Pump probe laser/BPM/position vertical
976 )))
977 |(((
978 /FL2/Photon Diagnostic/GMD/Beam position/Average/position hall horizontal
979 )))|(((
980 /FL2/Photon Diagnostic/GMD/Average beam position/position hall horizontal
981 )))
982 |(((
983 /FL2/Photon Diagnostic/GMD/Beam position/Average/position hall vertical
984 )))|(((
985 /FL2/Photon Diagnostic/GMD/Average beam position/position hall vertical
986 )))
987 |(((
988 /FL2/Photon Diagnostic/GMD/Beam position/Average/position tunnel horizontal
989 )))|(((
990 /FL2/Photon Diagnostic/GMD/Average beam position/position tunnel horizontal
991 )))
992 |(((
993 /FL2/Photon Diagnostic/GMD/Beam position/Average/position tunnel vertical
994 )))|(((
995 /FL2/Photon Diagnostic/GMD/Average beam position/position tunnel vertical
996 )))
997 |(((
998 /FL2/Photon Diagnostic/GMD/Average energy/hall
999 )))|(((
1000 /FL2/Photon Diagnostic/GMD/Average energy/energy hall
1001 )))
1002 |(((
1003 /FL2/Photon Diagnostic/GMD/Average energy/hall (raw)
1004 )))|(((
1005 /FL2/Photon Diagnostic/GMD/Average energy/energy hall (raw)
1006 )))
1007 |(((
1008 /FL2/Photon Diagnostic/GMD/Average energy/tunnel
1009 )))|(((
1010 /FL2/Photon Diagnostic/GMD/Average energy/energy tunnel
1011 )))
1012 |(((
1013 /FL2/Photon Diagnostic/GMD/Average energy/tunnel (raw)
1014 )))|(((
1015 /FL2/Photon Diagnostic/GMD/Average energy/energy tunnel (raw)
1016 )))
1017 |(((
1018 /FL2/Photon Diagnostic/GMD/Beam position/Pulse resolved/hall x
1019 )))|(((
1020 /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position hall horizontal
1021 )))
1022 |(((
1023 /FL2/Photon Diagnostic/GMD/Beam position/Pulse resolved/hall y
1024 )))|(((
1025 /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position hall vertical
1026 )))
1027 |(((
1028 /FL2/Photon Diagnostic/GMD/Beam position/Pulse resolved/tunnel x
1029 )))|(((
1030 /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel horizontal
1031 )))
1032 |(((
1033 /FL2/Photon Diagnostic/GMD/Beam position/Pulse resolved/tunnel y
1034 )))|(((
1035 /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel vertical
1036 )))
1037
1038 \\
1039
sendels 4.1 1040 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 1041
1042 \\
1043
1044 == Example code showing how to access HDF5 files ==
1045
1046 \\
1047
1048 === Samples how to read HDF5 with Matlab ===
1049
1050 The examples apply to HDF files with HDF tree version before vers. 0.3.0.
1051
1052 (% 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
1053
1054 (% 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
1055
1056 (% style="color: rgb(0,128,0);" %)% read a Number per 10 Hz pulse train:
1057
1058 (% class="code" %)
1059 (((
1060 FEL_Wavelength_energy_server=h5read(hdf5file,'/Photon Diagnostic/Wavelength/Calculated by energy/wavelength' );
1061 )))
1062
1063 (% 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');
1064
1065 (% 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)
1066
1067 \\
1068
1069 (% class="code" %)
1070 (((
1071 Start_event= 500 ; % define the first 10 Hz event
1072 Number_of_events = 20; % how many 10 Hz events to load
1073 )))
1074
1075 (% style="color: rgb(0,128,0);" %)% read only part of the data:
1076
1077 (% class="code" %)
1078 (((
1079 Gotthard_data=h5read(hdf5file,'/Experiment/Gotthard1/BL.0',[2 650 Start_event],[50 85 Number_of_events]);
1080 )))
1081
1082 (% 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 ]
1083
1084 (% class="code" %)
1085 (((
1086 VLS_Spectrum=h5read(hdf5file,'/Photon Diagnostic/Wavelength/VLS online spectrometer/PCO.ROI.X',[400 Start_event],[200 Number_of_events] );
1087
1088 )))
1089
1090 (% 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 ]
1091
1092 (% style="color: rgb(0,128,0);" %)%GMD data
1093
1094 (% class="code" %)
1095 (((
1096 GMD_Spectrum=h5read(hdf5file,'/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA',[1 Start_event],[40 Number_of_events] );
1097 )))
1098
sendels 4.1 1099 [[Contents>>doc:||anchor="Contents"]]
sendels 1.1 1100
1101 === How to read HDF5 with Python via FLASHH5 ===
1102
sndueste 3.1 1103 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.
sendels 1.1 1104
1105 \\
1106
1107 == HDF5 and DOOCS ==
1108
sndueste 3.1 1109 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
sendels 4.1 1110
1111 [[Contents>>doc:||anchor="Contents"]]