Changes for page The FLASH HDF5 structure

Last modified by sndueste on 2025/09/10 11:43

From version 89.9
edited by sndueste
on 2025/04/23 14:41
Change comment: Renamed back-links.
To version 95.1
edited by sndueste
on 2025/05/19 16:53
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -FS-FLASH USER tmp.Offline data analysis (DAQ).WebHome
1 +FLASHUSER.Offline data analysis (DAQ).WebHome
Content
... ... @@ -111,19 +111,22 @@
111 111  == Complete list of recordable parameters ==
112 112  
113 113  The complete list for the relation between DOOCS names and HDF5 names for the recordable parameters can be found in [[DESY's Repository>>url:https://stash.desy.de/projects/CS/repos/pah/browse/src/camp/data/channel2HdfName.dat||shape="rect"]].
114 -
115 115  
116 116  == Most popular FLASH parameters and their names in HDF5, DOOCS and (raw) DAQ ==
117 117  
118 118  {{id name="DOOCSparameters"/}}
119 119  
120 -Note, the HDF group and data set names apply to our HDF tree version since vers. 0.3.0.
121 121  
122 -
123 123  === FLASH1 ===
124 124  
125 -==== Beamline info (FLASH1) ====
126 126  
123 +In the Shutdown 2024 / 2025  the complete photon diagnostic and experiment control was renewed and thus the Doocs names and also some HDF5 names had to be changed. The new naming will be documented here as soon as the systems are online again.
124 +
125 +The previously used naming scheme (2024 and before) can be found here:
126 +
127 +{{expand expanded="false" title="FLASH1 Naming scheme used until 2024"}}
128 +==== (% id="cke_bm_8853497S" style="display:none" %) (%%)Beamline info (FLASH1) ====
129 +
127 127  {{code language="none"}}/FL1/Beamlines/Attenuator/pressure{{/code}}
128 128  //always saved (PBD)//
129 129  DOOCS prop : {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
... ... @@ -130,7 +130,6 @@
130 130  DAQ channel: {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
131 131  desc: set pressure in the gas attenuator
132 132  units: mbar
133 -
134 134  
135 135  {{code language="none"}}/FL1/Beamlines/BL/Fast shutter/open{{/code}}
136 136  //always saved (PBD)//
... ... @@ -152,7 +152,6 @@
152 152  DAQ channel: {{code language="none"}}TTF2.FEL/BLFILTERS1/FILTER1/FW.MOTOR.POS{{/code}}
153 153  desc: Position of the BL filter wheel 1 - to correlate with the filter material please look [[here>>doc:FS-FLASH USER tmp.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]
154 154  units: degree
155 -
156 156  
157 157  {{code language="none"}}/FL1/Beamlines/BL/Filters/BL filter wheel/position filter 2{{/code}}
158 158  //always saved (PBD)//
... ... @@ -160,7 +160,6 @@
160 160  DAQ channel: {{code language="none"}}TTF2.FEL/BLFILTERS2/FILTER2/FW.MOTOR.POS{{/code}}
161 161  desc: Position of the BL filter wheel 2 - to correlate with the filter material please look [[here>>doc:FS-FLASH USER tmp.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]
162 162  units: degree
163 -
164 164  
165 165  {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 1{{/code}}
166 166  //always saved (PBD)//
... ... @@ -168,7 +168,6 @@
168 168  DAQ channel: {{code language="none"}}TTF2.FEL/BDAF1/BDA.F1/FW.MOTOR.POS{{/code}}
169 169  desc: Position of the PG filter wheel 1
170 170  units: degree
171 -
172 172  
173 173  {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 2{{/code}}
174 174  //always saved (PBD)//
... ... @@ -176,8 +176,431 @@
176 176  DAQ channel: {{code language="none"}}TTF2.FEL/BDAF2/BDA.F2/FW.MOTOR.POS{{/code}}
177 177  desc: Position of the PG filter wheel 2
178 178  units: degree
178 +
179 +{{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 3{{/code}}
180 +//always saved (PBD)//
181 +DOOCS prop : {{code language="none"}}TTF2.FEL/PGFILTERS/PGFILTERS/FW.MOTOR.POS{{/code}}
182 +DAQ channel: {{code language="none"}}TTF2.FEL/PGFILTERS/PGFILTERS/FW.MOTOR.POS{{/code}}
183 +desc: Position of the PG filter wheel 3
184 +units: degree
185 +
186 +
187 +
188 +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
189 +
190 +[[Contents>>doc:||anchor="Contents"]]
191 +
192 +
193 +==== Photon Diagnostics SASE ([[GMD>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/gmd_intensity_and_position/index_eng.html||shape="rect"]]) ====
194 +
195 +{{expand title="Discontinued GMD format (used until 2021)"}}
196 +(% style="color:#000000" %)**Discontinued GMD data recording / evaluation  (VME + PhotonFlux ML server)**
197 +
198 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
199 +//always saved (PBD)//
200 +
201 +(% style="color:#000000" %)DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT04/VAL{{/code}} (%%)
202 +(% style="color:#000000" %)DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENPULSEIC{{/code}}(%%)
203 +desc : calibrated average SASE Energy/pulse measured in the TUNNEL upstream the gas attenuator (ion current)
204 +units : microJ
205 +
206 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
207 +//always saved (PBD)//
208 +
209 +DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT34/VAL{{/code}}
210 +DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENERGYPULSE.USER{{/code}}
211 +desc :Energy per pulse Tunnel (from e-) - the values are set to "0" if there was no SASE beam in the FEL
212 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FS-FLASH USER tmp.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
213 +
214 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel (raw){{/code}}
215 +//always saved (PBD)//
216 +DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT14/VAL{{/code}}
217 +DAQ channel: {{code language="none"}}PBD.PHFLUX/TUNNEL.ENERGYPULSE.FF{{/code}}
218 +desc :Energy per pulse Tunnel (from e-) - uncorrected values. There are also values saved if there was no beam ... just background noise
219 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FS-FLASH USER tmp.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
220 +
221 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy BDA{{/code}}
222 +//always saved (PBD)//
223 +
224 +DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT05/VAL{{/code}}
225 +DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENPULSEIC{{/code}}
226 +desc : calibrated average SASE Energy/pulse measured in the BDA (in the experimental hall) after the attenuator (ion current)
227 +units : microJ
228 +
229 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA{{/code}}
230 +//always saved (PBD)//
231 +
232 +DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT35/VAL{{/code}}
233 +DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENERGYPULSE.USER{{/code}}
234 +desc :Energy per pulse BDA (from e-) - the values are set to "0" if there was no SASE beam in the FEL
235 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision) **[[see here for help>>doc:FS-FLASH USER tmp.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
236 +
237 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy BDA (raw){{/code}}
238 +//always saved (PBD)//
239 +DOOCS prop : {{code language="none"}}TTF2.DAQ/PHFLUX/OUT15/VAL{{/code}}
240 +DAQ channel: {{code language="none"}}PBD.PHFLUX/BDA.ENERGYPULSE.FF{{/code}}
241 +desc :Energy per pulse BDA (from e-) - uncorrected values. There are also values saved if there was no beam ... just background noise
242 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision)** [[see here for help>>doc:FS-FLASH USER tmp.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
243 +{{/expand}}
244 +
245 +
246 +(% style="color:#000000; letter-spacing:0px" %)**NEW (since 2021) GMD data recording / evaluation  (same format as FLASH2 and XFEL)**
247 +
248 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
249 +//always saved (PBD)//
250 +(% style="color:#000000" %)DOOCS prop : (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %){{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}}(% style="color:#000000" %) (%%)
251 +(% style="color:#000000" %)DAQ channel: (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %){{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}}
252 +
253 +desc : calibrated average SASE Energy/pulse measured in the TUNNEL upstream the gas attenuator
254 +units : microJ
255 +
256 +
257 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
258 +//always saved (PBD)//
259 +
260 +(% style="color:#000000" %)DOOCS prop : 
261 +(% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %){{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.TUNNEL/INTENSITY.TD{{/code}}(% style="color:#000000" %)DAQ channel: (% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %){{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.TUNNEL/INTENSITY.TD{{/code}}
262 +
263 +desc : Energy per pulse measured in the Tunnel.  In addition measurement errors and beam position are included for EACH pulse in the pulse train  !! (see below)
264 +units : a.u. (more or less µJ but need to be calibrated with the "Average energy" for good precision)** [[see here for help>>doc:FS-FLASH USER tmp.jddd-linked help pages.Calibrating the pulse resolved (electron) data from GMD.WebHome]]**
265 +
266 +{{info title="GMD pulse resolved data structure"}}
267 +For every pulse in the pulse train the information is saved:
268 +
269 +1. **Intensity per pulse** (a.u. (more or less µJ ))
270 +1. Intensity per pulse (auxillary GMD) - not used
271 +1. Position horizontal (mm, for a single pulse the position information may be very noisy  - talk to your local contact)
272 +1. Position vertical (mm, for a single pulse the position information may be very noisy  - talk to your local contact)
273 +1. **Intensity per pulse sigma** (a.u. (more or less µJ ), (% style="color:#000000" %)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)(%%))
274 +1. Position horizontal sigma  (mm, indicates the error (RMS, sigma) of the measurement according to known uncertainties and signal to noise)
275 +1. Position vertical sigma  (mm, indicates the error (RMS, sigma) of the measurement according to known uncertainties and signal to noise)
276 +1. Combined warning and error flags
277 +
278 +The pulse energy and the error are plotted for the first bunch of the pulse trains saved in this 
279 +file
280 +
281 + [[image:image2021-2-9_10-51-6.png]]
282 +
179 179  
284 +{{/info}}
180 180  
286 +All values for the GMD are also available for the** BDA GMD **which is located in the experimental hall down stream the gas attenuator. If the attenuator is on the ratio between BDA and Tunnel signal shows the attenuation. **BUT NOTE** that the filter units  are downstream the GMD. So if filters  are used this influence is NOT measured by the GMD BDA !
287 +
288 +
289 +Besides  pulse energy the GMD also provides information about the beam position
290 +
291 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position BDA horizontal{{/code}}
292 +//always saved (PBD)//
293 +DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IX.POS{{/code}}
294 +DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IX.POS{{/code}}
295 +desc :Beam position of the photon Beam determined by the GMD (BDA, x=horizontal)
296 +units : mm
297 +
298 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position BDA vertical{{/code}}
299 +//always saved (PBD)//
300 +DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IY.POS{{/code}}
301 +DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.BDA/IY.POS{{/code}}
302 +desc :Beam position of the photon Beam determined by the GMD (BDA, y=vertical)
303 +units : mm
304 +
305 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position tunnel horizontal{{/code}}
306 +//always saved (PBD)//
307 +DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IX.POS{{/code}}
308 +DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IX.POS{{/code}}
309 +desc :Beam position of the photon Beam determined by the GMD (TUNNEL, x=horizontal)
310 +units : mm
311 +
312 +{{code language="none"}}/FL1/Photon Diagnostic/GMD/Beam position/position tunnel vertical{{/code}}
313 +//always saved (PBD)//
314 +DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IY.POS{{/code}}
315 +DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL1.TUNNEL/IY.POS{{/code}}
316 +desc :Beam position of the photon Beam determined by the GMD (TUNNEL, y=vertical)
317 +units : mm
318 +
319 +
320 +==== Spectrometer (FLASH1) ====
321 +
322 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength{{/code}}
323 +_always saved (when Spectrum is measured !!) (PBD) _
324 +DOOCS prop : {{code language="none"}}TTF2.EXP/PHOTONWL.ML/WAVE_LENGTH/VAL.TD{{/code}}
325 +DAQ channel: {{code language="none"}}PBD.PHOTONWL.ML/WAVE_LENGTH{{/code}}
326 +desc : XUV Spectrum measured with the "tunnel spectrometer"
327 +units :
328 +
329 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength start value{{/code}}
330 +_always saved (when Spectrum is measured !!) (PBD) _
331 +DOOCS prop : {{code language="none"}}TTF2.EXP/PBD.PHOTONWL.ML/BSTART/VAL{{/code}}
332 +DAQ channel: {{code language="none"}}TTF2.EXP/PBD.PHOTONWL.ML/BSTART/VAL{{/code}}
333 +desc : start value (in nm) for the wavelength axis of the XUV Spectrum measured with the "tunnel spectrometer"
334 +units : nm
335 +
336 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/Tunnelspectrometer/wavelength increment{{/code}}
337 +_always saved (when Spectrum is measured !!) (PBD) _
338 +DOOCS prop : ==
339 +DAQ channel: ==
340 +desc : increment value (in nm) for each pixel for the wavelength axis of the XUV Spectrum measured with the "tunnel spectrometer"
341 +units : nm
342 +
343 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy{{/code}}
344 +//saved on DEMAND (PBD spectrometer stream)//
345 +DOOCS prop : ==
346 +DAQ channel: {{code language="none"}}PBD.PHOTONEN.ML/PHOTON_ENERGY{{/code}}
347 +desc : XUV Spectrum in eV measured with the "PG2 spectrometer"
348 +units :
349 +
350 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy start value{{/code}}
351 +//saved on DEMAND (PBD spectrometer stream)//
352 +DOOCS prop : ==
353 +DAQ channel: ==
354 +desc : start value (in eV) for the wavelength axis of the XUV Spectrum measured with the "PG2 spectrometer"
355 +units : eV
356 +
357 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon energy increment{{/code}}
358 +//saved on DEMAND (PBD spectrometer stream)//
359 +DOOCS prop : ==
360 +DAQ channel: ==
361 +desc : increment value (in eV) for each pixel for the wavelength axis of the XUV Spectrum measured with the "PG spectrometer"
362 +units : eV
363 +
364 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength{{/code}}
365 +//saved on DEMAND (PBD spectrometer stream)//
366 +DOOCS prop : ==
367 +DAQ channel: {{code language="none"}}PHOTONEN.ML/PHOTON_WAVE_LEN{{/code}}
368 +desc : XUV Spectrum in nm measured with the "PG2 spectrometer"
369 +units :
370 +
371 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength increment{{/code}}
372 +//saved on DEMAND (PBD spectrometer stream)//
373 +DOOCS prop : ==
374 +DAQ channel: ==
375 +desc : start value (in nm) for the wavelength axis of the XUV Spectrum measured with the "PG2 spectrometer"
376 +units : nm
377 +
378 +{{code language="none"}}/FL1/Photon Diagnostic/Wavelength/PG2 spectrometer/photon wavelength start value{{/code}}
379 +//saved on DEMAND (PBD spectrometer stream)//
380 +DOOCS prop : ==
381 +DAQ channel: ==
382 +desc : increment value (in nm) for each pixel for the wavelength axis of the XUV Spectrum measured with the "PG spectrometer"
383 +units : nm
384 +
385 +[[Contents>>doc:||anchor="Contents"]]
386 +
387 +==== Electron Beam properties (FLASH1) ====
388 +
389 +===== bunch charge =====
390 +
391 +{{code language="none"}}/FL1/Electron Diagnostic/Bunch charge/after undulator{{/code}}
392 +//always saved (PBD)//
393 +DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/12EXP/CHARGE.FLASH1{{/code}}
394 +DAQ channel: {{code language="none"}}FLASH.DIAG/TOROID/12EXP{{/code}}
395 +desc: electron bunch charge (FLASH1)
396 +units: nC
397 +
398 +=====
399 +arrival time (BAM) =====
400 +
401 +{{info title="BAM information: updates 2022 (status 2025)"}}
402 +* see: [[Info collection about the BAMs and how to use the BAM data>>doc:FS-FLASH USER tmp.jddd-linked help pages.Info collection for the BAM.WebHome||shape="rect"]]
403 +* The data format of the BAM has been completely altered in the 2022 shutdown
404 +* before 2022 BAMs were always saving the arrival time information for each 1µs bucked regardless if there were electrons in the accelerator or not. IN addition the arrival times for  FL1 and FL2 were saved in the same parameter ...
405 +* THIS is now different. There are new parameters saving only the arrival times for pulses that go to FL1 and to FL2 (in detail: first time slot of the accelerator and second)
406 +* There has been also a renaming  (and relocation) of the BAMs.
407 +** acc:  4DBC3 → FL0.DBC2
408 +** FL1: 1SFELC →  FL1.SFELC
409 +** FL2: FL2XTDS → (% style="color:#172b4d" %)FL2.SEED5
410 +* for more Info: [[LINK to detailed infos from MSK>>doc:SDiag.How-to articles.BAM Data Structure.WebHome||shape="rect"]]
411 +* [[Link a collection of papers related to the BAM and the analysis of pump-probe experiments>>doc:FS-FLASH USER tmp.Additional helpful things1.FLASH beamlines and instruments references.WebHome]]
412 +* a recent  [[talk about the working principle of the BAM>>attach:BAM-basics and outlook-2018_DESY-template_16-9Format.pdf]]
413 +{{/info}}
414 +
415 +{{expand title="Discontinued BAM format (used until end 2021)"}}
416 +(% style="color:#000000" %)**Discontinued BAM data recording **
417 +
418 +{{code language="none"}}/FL1/Electron Diagnostic/BAM/4DBC3/electron bunch arrival time (low charge){{/code}}
419 +//always saved (PBD)//
420 +DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/4DBC3/LOW_CHARGE_ARRIVAL_TIME{{/code}}
421 +DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/4DBC3.LOW_CHARGE_ARRIVAL_TIME{{/code}}
422 +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).
423 +units: ps (bigger numbers indicate later arrivaltime of the electrons)
424 +
425 +
426 +{{code language="none"}}/FL1/Electron Diagnostic/BAM/1SFELC/electron bunch arrival time (low charge){{/code}}
427 +//always saved (PBD)//
428 +DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/1SFELC/LOW_CHARGE_ARRIVAL_TIME{{/code}}
429 +DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/1SFELC.LOW_CHARGE_ARRIVAL_TIME{{/code}}
430 +desc: Electron bunch arrival time measured with the BAM  before the undulator (pulse resolved data). This one was newly installed in 2020.
431 +units: ps (bigger numbers indicate later arrival time of the electrons)
432 +{{/expand}}
433 +
434 +====== **BAM FL0.DBC2**{{code language="none"}}{{/code}} ======
435 +
436 +(% style="color:#ff6600" %)**DBC2**/electron bunch arrival time  (HDF5 name not yet implemented - see zraw)(%%)
437 +//always saved (PBD)//
438 +{{code language="none"}}/FL1/Electron Diagnostic/BAM/ {{/code}}DOOCS prop : FLASH.SDIAG/BAM/**FL0.DBC2**/ARRIVAL_TIME.ABSOLUTE.SA1.COMP
439 +DAQ (% style="color:#000000" %)channel: FLASH.SDIAG/BAM/**FL0.DBC2**/ARRIVAL_TIME.ABSOLUTE.SA1.COMP (%%)
440 +desc: Electron bunch arrival time measured with the BAM inside the accelerator (after bunch compressor 2). The property contains only the arrival time of the bunches sent to FL1 (e.g. if there are 30 bunches in FL1 the first 30 values are the arrival time the remaining numbers  still may have arbitrary numbers looking like a signal which they are not ). These are the same values as the "raw" data below - just "cleaned". The values show a very good correlation to the arrival time  of the XUV pulses in the experiment (see help).
441 +
442 +units: fs (bigger numbers (typically) indicate later arrival times of the electrons).
443 +
444 +
445 +(% style="color:#ff6600" %)DBC2/electron bunch arrival time (raw)  (HDF5 name not yet implemented - see zraw)(% style="color: rgb(255, 102, 0); color: rgb(255, 102, 0)" %){{code language="none"}}/FL1/Electron Diagnostic/BAM/{{/code}}(%%)
446 +//always saved (PBD)//
447 +DOOCS prop : FLASH.SDIAG/BAM/FL0.DBC2/ARRIVAL_TIME.ABSOLUTE
448 +DAQ channel: (% style="color:#000000" %)FLASH.SDIAG/BAM/FL0.DBC2/ARRIVAL_TIME.ABSOLUTE (%%)
449 +desc: Electron bunch arrival time measured with the BAM inside the accelerator (after bunch compressor 2). Here the complete bunch train from the FEL is recorded (FLASH1 and FLASH2 pulses). Thus there are values from FLASH 1 in the first part. they may be separated by several "0" values if the reprate is different from 1 MHz ...  - It shows a very good correlation to the arrival time  of the XUV pulses in the experiment (see help). 
450 +units: fs (bigger numbers (typically) indicate later arrival times of the electrons).
451 +
452 +
453 +(% style="color:#ff6600" %)DBC2/error (HDF5 name not yet implemented - see zraw)(% style="color: rgb(255, 102, 0); color: rgb(255, 102, 0)" %){{code language="none"}}/FL1/Electron Diagnostic/BAM/{{/code}}(%%)
454 +//always saved (PBD)//
455 +DOOCS prop : FLASH.SDIAG/BAM/FL0.DBC2/ARRIVAL_TIM(% style="color:#000000" %)E.bamError.1(%%)
456 +DAQ channel: (% style="color:#000000" %)FLASH.SDIAG/BAM/FL0.DBC2/ARRIVAL_TIME.BAMERROR.1(%%)
457 +desc:(% style="letter-spacing:0.0px" %) status bit: 0 - data is valid; 1 - beam present; 2 - calibration ongoing; 3 - feedback enabled; 4 - feedback acting;  mostly check for bit 0 == 1 is sufficient
458 +
459 +
460 +(% style="color:#ff6600" %)DBC2/status  (HDF5 name not yet implemented - see zraw)(% style="color: rgb(255, 102, 0); color: rgb(255, 102, 0)" %){{code language="none"}}/FL1/Electron Diagnostic/BAM/{{/code}}(%%)
461 +//always saved (PBD)//
462 +DOOCS prop : FLASH.SDIAG/BAM/FL0.DBC2/ARRIVAL_TIM(% style="color:#000000" %)E..bamStatus.//1//(%%)
463 +DAQ channel(% style="color:#000000" %): FLASH.SDIAG/BAM/FL0.DBC2/ARRIVAL_TIME.BAMSTATUS.1(%%)
464 +desc: (% style="letter-spacing:0.0px" %) status bit: 0 - data is valid; 1 - beam present; 2 - calibration ongoing; 3 - feedback enabled; 4 - feedback acting;  mostly check for bit 0 == 1 is sufficient
465 +
466 +
467 +====== **BAM FL1.SFELC**{{code language="none"}}{{/code}} ======
468 +
469 +(% style="font-family:SFMono-Medium,~"SF Mono~",~"Segoe UI Mono~",~"Roboto Mono~",~"Ubuntu Mono~",Menlo,Courier,monospace; letter-spacing:0.0px" %)/FL1/Electron Diagnostic/BAM/**SFELC**(% style="color:#ff6600" %)/electron bunch arrival time  (HDF5 name not yet implemented - see zraw)
470 +
471 +//always saved (PBD)//
472 +(% style="color:#172b4d" %)**FL1.SFELC**(%%)
473 +(% style="color:#000000" %)channel: FLASH.SDIAG/BAM/(% style="color:#172b4d" %)FL1.SFELC(% style="color:#000000" %)/ARRIVAL_TIME.ABSOLUTE.SA1.COMP
474 +(% style="color: rgb(0, 0, 0); color: rgb(0, 0, 0)" %){{code language="none"}} DOOCS prop : FLASH.SDIAG/BAM//ARRIVAL_TIME.ABSOLUTE.SA1.COMPDAQ {{/code}}(% style="letter-spacing:0.0px" %)desc: Electron bunch arrival time measured  with the BAM  before the undulator (pulse resolved data). This one was newly installed in 2020.. The property contains only the arrival time of the bunches sent to FL1 (e.g. if there are 30 bunches in FL1 the first 30 values are the arrival time the remaining numbers still may have arbitrary numbers looking like a signal which they are not). These are the same values as the "raw" data below - just "cleaned". The values show a very good correlation to the arrival time  of the XUV pulses in the experiment (see help).
475 +units: fs (bigger numbers (typically) indicate later arrival times of the electrons).
476 +
477 +
478 +
479 +(% style="color:#172b4d" %)SFELC(% style="color:#ff6600" %)/electron bunch arrival time (raw) (HDF5 name not yet implemented - see zraw)(% style="color: rgb(255, 102, 0); color: rgb(255, 102, 0)" %){{code language="none"}}/FL1/Electron Diagnostic/BAM/{{/code}}(%%)
480 +//always saved (PBD)//
481 +DOOCS prop : FLASH.SDIAG/BAM/(% style="color:#172b4d" %)FL1.SFELC(%%)/ARRIVAL_TIME.ABSOLUTE
482 +DAQ channel:** **(% style="color:#000000" %)FLASH.SDIAG/BAM/FL1.SFELC/ARRIVAL_TIME.ABSOLUTE (%%)
483 +desc: Electron bunch arrival time measured  with the BAM  before the undulator (pulse resolved data). This one was newly installed in 2020. Here the complete bunch train from the FEL is recorded (FLASH1 and FLASH2 pulses). Thus there are values from FLASH 1 in the first part. they may be separated by several "0" values if the reprate is different from 1 MHz ...  - It shows a very good correlation to the arrival time  of the XUV pulses in the experiment (see help). 
484 +units: fs (bigger numbers (typically) indicate later arrival times of the electrons).
485 +
486 +
487 +(% style="color:#172b4d" %)SFELC(% style="color:#ff6600" %)/error (HDF5 name not yet implemented - see zraw)(% style="color: rgb(255, 102, 0); color: rgb(255, 102, 0)" %){{code language="none"}}/FL1/Electron Diagnostic/BAM/{{/code}}(%%)
488 +//always saved (PBD)//
489 +DOOCS prop : FLASH.SDIAG/BAM/(% style="color:#172b4d" %)FL1.SFELC(%%)/ARRIVAL_TIM(% style="color:#000000" %)E.bamError(%%)
490 +DAQ channel(% style="color:#000000" %): FLASH.SDIAG/BAM/FL1.SFELC/ARRIVAL_TIME.BAMERROR(%%)
491 +desc: If the value is 0 , the BAM is working well. If it is non-zero there is a problem !!
492 +
493 +
494 +(% style="color:#172b4d" %)SFELC(% style="color:#ff6600" %)/status  (HDF5 name not yet implemented - see zraw)(% style="color: rgb(255, 102, 0); color: rgb(255, 102, 0)" %){{code language="none"}}/FL1/Electron Diagnostic/BAM/{{/code}}(%%)
495 +//always saved (PBD)//
496 +DOOCS prop : FLASH.SDIAG/BAM/(% style="color:#172b4d" %)FL1.SFELC(%%)/ARRIVAL_TIM(% style="color:#000000" %)E..bamStatus.//1//(%%)
497 +DAQ chann(% style="color:#000000" %)el: FLASH.SDIAG/BAM/FL1.SFELC/ARRIVAL_TIME.BAMSTATUS.1(%%)
498 +desc: status bit: 0 - data is valid; 1 - beam present; 2 - calibration ongoing; 3 - feedback enabled; 4 - feedback acting;  mostly check for bit 0 == 1 is sufficient
499 +
500 +
501 +
502 +===== electron beam profile =====
503 +
504 +{{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/TDS profile{{/code}}
505 +//always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
506 +DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/OUT.PROF.CCCED{{/code}}
507 +DAQ channel: {{code language="none"}}PBD.BEAM.PROF.ML/DAQ.OUT.PROF.CCCED{{/code}}
508 +desc: temporal profile of electron bunch, y axis in Ampers (FLASH1)
509 +units: pixel
510 +
511 +{{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/Expert stuff/TDS calibration constant{{/code}}
512 +//always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
513 +DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/CALIB.CONST.T{{/code}}
514 +DAQ channel: = PBD.BEAM.PROF.ML/CCT=
515 +desc: TDS calibration constant for the x-axis of the profiles: fs per pixel
516 +units: fs per pixel
517 +
518 +{{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/TDS profile width rms{{/code}}
519 +//always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
520 +DOOCS prop : {{code language="none"}}TTF2.DAQ/BEAM.PROF.ML/BEAM.PROF/SOWS.W.CCTED{{/code}}
521 +DAQ channel: {{code language="none"}}PBD.BEAM.PROF.ML/PROFWIDTHCCTED{{/code}}
522 +desc: rms pulse width of the measures TDS electron bunch profile
523 +units: fs
524 +
525 +===== electron bunch energy =====
526 +
527 +{{code language="none"}}/FL1/Electron Diagnostic/Electron energy/average electron energy{{/code}}
528 +//always saved (PBD)//
529 +DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_INTRA_MEAN/VAL{{/code}}
530 +DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_MEAN{{/code}}
531 +desc: electron bunch energy (average over the bunch train)
532 +units: (% class="twikiNewLink" %)MeV
533 +
534 +{{code language="none"}}/FL1/Electron Diagnostic/Electron energy/pulse resolved energy{{/code}}
535 +//always saved (PBD)//
536 +DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_SPECT/VAL.TD{{/code}}
537 +DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_SPECT{{/code}}
538 +desc: electron bunch energy bunch resolved
539 +units: (% class="twikiNewLink" %)MeV
540 +
541 +
542 +{{code language="none"}}/FL1/Electron Diagnostic/Electron energy/wavelength bunch train average{{/code}}
543 +//always saved (PBD)//
544 +DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/LAMBDA_MEAN/VAL{{/code}}
545 +DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/LAMBDA_MEAN{{/code}}
546 +desc: Wavelength calculated by the electron bunch energy (average over the bunch train) (FLASH1)
547 +units: nm
548 +
549 +[[Contents>>doc:||anchor="Contents"]]
550 +{{/expand}}
551 +
552 +==== Beamline info (FLASH1) ====
553 +
554 +{{code language="none"}}/FL1/Beamlines/Attenuator/pressure{{/code}}
555 +//always saved (PBD)//
556 +DOOCS prop : {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
557 +DAQ channel: {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
558 +desc: set pressure in the gas attenuator
559 +units: mbar
560 +
561 +{{code language="none"}}/FL1/Beamlines/BL/Fast shutter/open{{/code}}
562 +//always saved (PBD)//
563 +DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/BL.SHUTTER/CH00.TD{{/code}}
564 +DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/BL.SHUTTER{{/code}}
565 +desc: BL Beamline Fast shutter state: 1 is open, 0 is closed ( for technical reasons there are 100 vales of this state saved ...)
566 +units: none
567 +
568 +{{code language="none"}}/FL1/Beamlines/PG/Fast shutter/open{{/code}}
569 +//always saved (PBD)//
570 +DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/PG.SHUTTER/CH00.TD{{/code}}
571 +DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL1FS/PG.SHUTTER{{/code}}
572 +desc: PG Beamline Fast shutter state: 1 is open, 0 is closed ( for technical reasons there are 100 vales of this state saved ...)
573 +units: none
574 +
575 +{{code language="none"}}/FL1/Beamlines/BL/Filters/BL filter wheel/position filter 1{{/code}}
576 +//always saved (PBD)//
577 +DOOCS prop : {{code language="none"}}TTF2.FEL/BLFILTERS1/FILTER1/FW.MOTOR.POS{{/code}}
578 +DAQ channel: {{code language="none"}}TTF2.FEL/BLFILTERS1/FILTER1/FW.MOTOR.POS{{/code}}
579 +desc: Position of the BL filter wheel 1 - to correlate with the filter material please look [[here>>doc:FS-FLASH USER tmp.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]
580 +units: degree
581 +
582 +{{code language="none"}}/FL1/Beamlines/BL/Filters/BL filter wheel/position filter 2{{/code}}
583 +//always saved (PBD)//
584 +DOOCS prop : {{code language="none"}}TTF2.FEL/BLFILTERS2/FILTER2/FW.MOTOR.POS{{/code}}
585 +DAQ channel: {{code language="none"}}TTF2.FEL/BLFILTERS2/FILTER2/FW.MOTOR.POS{{/code}}
586 +desc: Position of the BL filter wheel 2 - to correlate with the filter material please look [[here>>doc:FS-FLASH USER tmp.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]
587 +units: degree
588 +
589 +{{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 1{{/code}}
590 +//always saved (PBD)//
591 +DOOCS prop : = TTF2.FEL/BDAF1/BDA.F1/FW.MOTOR.POS=
592 +DAQ channel: {{code language="none"}}TTF2.FEL/BDAF1/BDA.F1/FW.MOTOR.POS{{/code}}
593 +desc: Position of the PG filter wheel 1
594 +units: degree
595 +
596 +{{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 2{{/code}}
597 +//always saved (PBD)//
598 +DOOCS prop : {{code language="none"}}TTF2.FEL/BDAF2/BDA.F2/FW.MOTOR.POS{{/code}}
599 +DAQ channel: {{code language="none"}}TTF2.FEL/BDAF2/BDA.F2/FW.MOTOR.POS{{/code}}
600 +desc: Position of the PG filter wheel 2
601 +units: degree
602 +
181 181  {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 3{{/code}}
182 182  //always saved (PBD)//
183 183  DOOCS prop : {{code language="none"}}TTF2.FEL/PGFILTERS/PGFILTERS/FW.MOTOR.POS{{/code}}
... ... @@ -267,7 +267,6 @@
267 267  
268 268  {{info title="GMD pulse resolved data structure"}}
269 269  For every pulse in the pulse train the information is saved:
270 -
271 271  
272 272  1. **Intensity per pulse** (a.u. (more or less µJ ))
273 273  1. Intensity per pulse (auxillary GMD) - not used
... ... @@ -412,7 +412,7 @@
412 412  ** FL1: 1SFELC →  FL1.SFELC
413 413  ** FL2: FL2XTDS → (% style="color:#172b4d" %)FL2.SEED5
414 414  * for more Info: [[LINK to detailed infos from MSK>>doc:SDiag.How-to articles.BAM Data Structure.WebHome||shape="rect"]]
415 -* [[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]]
836 +* [[Link a collection of papers related to the BAM and the analysis of pump-probe experiments>>doc:FS-FLASH USER tmp.Additional helpful things1.FLASH beamlines and instruments references.WebHome]]
416 416  * a recent  [[talk about the working principle of the BAM>>attach:BAM-basics and outlook-2018_DESY-template_16-9Format.pdf]]
417 417  {{/info}}
418 418  
... ... @@ -511,7 +511,6 @@
511 511  DAQ channel: {{code language="none"}}PBD.BEAM.PROF.ML/DAQ.OUT.PROF.CCCED{{/code}}
512 512  desc: temporal profile of electron bunch, y axis in Ampers (FLASH1)
513 513  units: pixel
514 -
515 515  
516 516  {{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/Expert stuff/TDS calibration constant{{/code}}
517 517  //always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
... ... @@ -519,7 +519,6 @@
519 519  DAQ channel: = PBD.BEAM.PROF.ML/CCT=
520 520  desc: TDS calibration constant for the x-axis of the profiles: fs per pixel
521 521  units: fs per pixel
522 -
523 523  
524 524  {{code language="none"}}/FL1/Electron Diagnostic/Electron bunch profile/TDS profile width rms{{/code}}
525 525  //always saved (PBD) - IF LOLA is ON and ACTIVATED in the PBD DAQ (talk to expert)//
... ... @@ -535,8 +535,7 @@
535 535  DOOCS prop : {{code language="none"}}TTF2.DAQ/ENERGY.DOGLEG/E_INTRA_MEAN/VAL{{/code}}
536 536  DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/E_MEAN{{/code}}
537 537  desc: electron bunch energy (average over the bunch train)
538 -units: (% class="twikiNewLink" %)MeV(%%)
539 -
957 +units: (% class="twikiNewLink" %)MeV
540 540  
541 541  {{code language="none"}}/FL1/Electron Diagnostic/Electron energy/pulse resolved energy{{/code}}
542 542  //always saved (PBD)//
... ... @@ -552,7 +552,6 @@
552 552  DAQ channel: {{code language="none"}}PBD.ENERGY.DOGLEG/LAMBDA_MEAN{{/code}}
553 553  desc: Wavelength calculated by the electron bunch energy (average over the bunch train) (FLASH1)
554 554  units: nm
555 -
556 556  
557 557  [[Contents>>doc:||anchor="Contents"]]
558 558  
... ... @@ -567,7 +567,6 @@
567 567  DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_FREQ{{/code}}
568 568  desc: repetition rate of the bunches / pulses within the burst (FLASH1)
569 569  units: kHz
570 -
571 571  
572 572  ===== set number of pulses =====
573 573  
... ... @@ -586,7 +586,6 @@
586 586  DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
587 587  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)
588 588  units:
589 -
590 590  
591 591  ===== actual pulse pattern recorded after the undulator =====
592 592  
... ... @@ -596,7 +596,6 @@
596 596  DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
597 597  desc: The bunch pattern as function of time in a burst recorded by toroid diagnostic BEHIND the undulator. (FLASH1)
598 598  units:
599 -
600 600  
601 601  ===== Train ID =====
602 602  
... ... @@ -606,24 +606,34 @@
606 606  DAQ channel: {{code language="none"}}none{{/code}}
607 607  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 !)
608 608  units:
609 -
610 610  
611 -===== Train time =====
1024 +===== (% style="color:#e67e22" %)Train time(%%) =====
612 612  
613 -{{code language="none"}}/Timing/train time{{/code}}
1026 +(% style="color:#e67e22" %){{code language="none"}}/Timing/train time{{/code}}
614 614  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
615 615  units: d h min s cs
616 -
617 617  
618 -{{code language="none"}}/Timing/time stamp{{/code}}
1030 +(% style="color:#e67e22" %){{code language="none"}}/Timing/time stamp{{/code}}
619 619  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
620 620  second column: microseconds
621 621  third column: Train ID of FLASH
622 -
623 623  
624 -[[Contents>>doc:||anchor="Contents"]]
1035 +currently it is saved as Unix time in : /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time
625 625  
1037 +{{expand expanded="false" title="Timestamp help for python"}}
1038 + import time
626 626  
1040 +# epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!!
1041 +# The time and date of the start of the data taking in the HDF file is encoded in the filename - to roughly check the time
1042 +epoch_time = 1709051499.17 # Replace with your epoch time
1043 +
1044 +formatted_time = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(epoch_time))
1045 +print(formatted_time)
1046 +{{/expand}}
1047 +
1048 +
1049 +[[Contents>>doc:||anchor="Contents"]]
1050 +
627 627  ==== Pump Probe Laser (FLASH1) ====
628 628  
629 629  **PIGLET (PG laser)**
... ... @@ -754,8 +754,7 @@
754 754  (% style="color:#000000" %)DOOCS prop : {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
755 755  (% style="color:#000000" %)DAQ channel:  {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
756 756  (% style="color:#000000" %)desc: set pressure in the gas attenuator (%%)
757 -(% style="color:#000000" %)units: mbar(%%)
758 -
1181 +(% style="color:#000000" %)units: mbar
759 759  
760 760  {{code language="none"}}/FL2/Beamlines/FL20/Shutter/open{{/code}}
761 761  //always saved (PBD2)//
... ... @@ -771,7 +771,6 @@
771 771  DAQ channel: FLASH.FEL/FL20H.PH.MOTOR/MOTOR1.MOT3/FPOS
772 772  desc: Position of the BL filter wheel 1 - to correlate with the filter material please look **[[here>>doc:FS-FLASH USER tmp.jddd-linked help pages.Filter-Units.Filter wheels in FLASH1 and FLASH2.WebHome]]**
773 773  units: degree
774 -
775 775  
776 776  /FL2/Beamlines/Filter wheel/position wheel 2
777 777  always saved (PBD2)
... ... @@ -806,7 +806,6 @@
806 806  
807 807  {{info title="GMD pulse resolved data structure"}}
808 808  For every pulse in the pulse train the information is saved:
809 -
810 810  
811 811  1. **Intensity per pulse** (a.u. (more or less µJ ))
812 812  1. Intensity per pulse (auxillary GMD) - not used
... ... @@ -955,7 +955,7 @@
955 955  ** FL1: 1SFELC →  FL1.SFELC
956 956  ** FL2: FL2XTDS → (% style="color:#172b4d" %)FL2.SEED5
957 957  * for more Info: [[LINK to detailed infos from MSK>>doc:SDiag.How-to articles.BAM Data Structure.WebHome||shape="rect"]]
958 -* [[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]]
1379 +* [[Link a collection of papers related to the BAM and the analysis of pump-probe experiments>>doc:FS-FLASH USER tmp.Additional helpful things1.FLASH beamlines and instruments references.WebHome]]
959 959  * a recent  [[talk about the working principle of the BAM>>attach:BAM-basics and outlook-2018_DESY-template_16-9Format.pdf]]
960 960  {{/info}}
961 961  
... ... @@ -980,7 +980,7 @@
980 980  * The BAM 4DBC3 measures the arrivaltime of** FLASH 1 and FLASH2** in the same data set (thus also sorted in at /FL1/ !).
981 981  * 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 
982 982  ** 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
983 -* [[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]]
1404 +* [[Link a collection of papers related to the BAM and the analysis of pump-probe experiments >>doc:FS-FLASH USER tmp.Additional helpful things1.FLASH beamlines and instruments references.WebHome]]
984 984  * [[LINK to detailed infos from MSK (may only work inside DESY network~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|height="12" width="13"~]~]>>url:http://www.desy.de/~~mbock/pages/BAM_daq_channel_descriptions.html||shape="rect"]]
985 985  * a recent  [[talk about the working principle of the BAM>>attach:BAM-basics and outlook-2018_DESY-template_16-9Format.pdf]]
986 986  {{/info}}
... ... @@ -1104,7 +1104,6 @@
1104 1104  DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
1105 1105  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)
1106 1106  units:
1107 -
1108 1108  
1109 1109  ===== actual pulse pattern recorded after the undulator =====
1110 1110  
... ... @@ -1114,7 +1114,6 @@
1114 1114  DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
1115 1115  desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH2)
1116 1116  units:
1117 -
1118 1118  
1119 1119  ===== Train ID =====
1120 1120  
... ... @@ -1124,26 +1124,40 @@
1124 1124  DAQ channel: {{code language="none"}}none{{/code}}
1125 1125  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 !)
1126 1126  units:
1127 -
1128 1128  
1129 -===== Train time =====
1547 +===== (% style="color:#e67e22" %)Train time(%%) =====
1130 1130  
1131 -//always saved (PBD2)//
1132 -{{code language="none"}}/Timing/train time{{/code}}
1549 +(% style="color:#e67e22" %)//always saved (PBD2)//(%%)
1550 +(% style="color:#e67e22" %){{code language="none"}}/Timing/train time{{/code}}
1133 1133  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
1134 1134  units: d h min s cs
1135 -
1136 1136  
1137 1137  {{code language="none"}}
1138 1138  /Timing/time stamp
1139 1139  {{/code}}
1140 1140  
1141 -//always saved (PBD2)//
1142 -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
1558 +(% style="color:#e67e22" %)//always saved (PBD2)//(%%)
1559 +(% style="color:#e67e22" %)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
1143 1143  second column: microseconds
1144 1144  third column: Train ID of FLASH
1145 -
1146 1146  
1563 +
1564 +(% id="cke_bm_2455529S" style="display:none" %) (%%)currently it is saved as Unix time in : /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time
1565 +
1566 +{{expand expanded="false" title="Timestamp help for python"}}
1567 + import time
1568 +
1569 +# epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!!
1570 +# The time and date of the start of the data taking in the HDF file is encoded in the filename - to roughly check the time
1571 +epoch_time = 1709051499.17 # Replace with your epoch time
1572 +
1573 +formatted_time = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(epoch_time))
1574 +print(formatted_time)
1575 +{{/expand}}
1576 +
1577 +
1578 +
1579 +
1147 1147  [[Contents>>doc:||anchor="Contents"]]
1148 1148  
1149 1149