Changes for page The FLASH HDF5 structure

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

From version 96.1
edited by sndueste
on 2025/05/19 17:06
Change comment: There is no comment for this version
To version 89.12
edited by sndueste
on 2025/04/24 13:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -116,17 +116,13 @@
116 116  
117 117  {{id name="DOOCSparameters"/}}
118 118  
119 +Note, the HDF group and data set names apply to our HDF tree version since vers. 0.3.0.
119 119  
121 +
120 120  === FLASH1 ===
121 121  
124 +==== Beamline info (FLASH1) ====
122 122  
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 -
130 130  {{code language="none"}}/FL1/Beamlines/Attenuator/pressure{{/code}}
131 131  //always saved (PBD)//
132 132  DOOCS prop : {{code language="none"}}FLASH.FEL/GAS_DOSING/FL1.ATTENUATOR/PRESSURE{{/code}}
... ... @@ -247,8 +247,8 @@
247 247  
248 248  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
249 249  //always saved (PBD)//
250 -(% style="color:#000000" %)DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}} (%%)
251 -(% style="color:#000000" %)DAQ channel: {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}}
246 +(% style="color:#000000" %)DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}} (%%)
247 +(% style="color:#000000" %)DAQ channel: {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}}
252 252  
253 253  desc : calibrated average SASE Energy/pulse measured in the TUNNEL upstream the gas attenuator
254 254  units : microJ
... ... @@ -257,8 +257,8 @@
257 257  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
258 258  //always saved (PBD)//
259 259  
260 -(% style="color:#000000" %)DOOCS prop : (%%)
261 -(% style="color:#000000" %){{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.TUNNEL/INTENSITY.TD{{/code}}DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.TUNNEL/INTENSITY.TD{{/code}}
256 +(% style="color:#000000" %)DOOCS prop : 
257 +{{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.TUNNEL/INTENSITY.TD{{/code}}DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL1.TUNNEL/INTENSITY.TD{{/code}}
262 262  
263 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 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]]**
... ... @@ -278,7 +278,8 @@
278 278  The pulse energy and the error are plotted for the first bunch of the pulse trains saved in this 
279 279  file
280 280  
281 - [[image:image2021-2-9_10-51-6.png]]
277 +
278 +[[image:attach:image2021-2-9_10-51-6.png||height="250"]]
282 282  
283 283  
284 284  {{/info}}
... ... @@ -470,8 +470,8 @@
470 470  
471 471  //always saved (PBD)//
472 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:#000000" %){{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).
470 +(% style="color:#000000" %)channel: FLASH.SDIAG/BAM/(% style="color:#172b4d" %)FL1.SFELC(% style="color:#000000" %)/ARRIVAL_TIME.ABSOLUTE.SA1.COMP
471 +{{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 475  units: fs (bigger numbers (typically) indicate later arrival times of the electrons).
476 476  
477 477  
... ... @@ -549,23 +549,20 @@
549 549  [[Contents>>doc:||anchor="Contents"]]
550 550  
551 551  
552 -==== ====
553 -
554 -
555 555  ==== Timing information, rep rate etc.  (FLASH1) ====
556 556  
557 557  ===== bunch repetition rate =====
558 558  
559 -{{code language="none"}}/Timing/repetition rate{{/code}}
553 +{{code language="none"}}/FL1/Timing/repetition rate{{/code}}
560 560  //always saved (PBD)//
561 561  DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.1{{/code}}
562 -DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.1{{/code}}
556 +DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_FREQ{{/code}}
563 563  desc: repetition rate of the bunches / pulses within the burst (FLASH1)
564 564  units: kHz
565 565  
566 566  ===== set number of pulses =====
567 567  
568 -(% style="color:#ff6600" %)(HDF5 name not yet implemented - see zraw)(% style="color:#ff0000" %){{code language="none"}}/Timing/set number of bunches {{/code}}(%%)
562 +(% style="color:#ff6600" %)(HDF5 name not yet implemented - see zraw)(% style="color:#ff0000" %){{code language="none"}}/FL1/Timing/set number of bunches {{/code}}(%%)
569 569  //always saved (PBD)//
570 570  DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1 [4th number]{{/code}}
571 571  DAQ channel: {{code language="none"}}FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1 [4th number]{{/code}}
... ... @@ -610,22 +610,13 @@
610 610  second column: microseconds
611 611  third column: Train ID of FLASH
612 612  
613 -currently it is saved as Unix time in : /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time
607 +currently it is saved as Unix time in
614 614  
615 -{{expand expanded="false" title="Timestamp help for python"}}
616 - import time
609 +|/zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time
617 617  
618 -# epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!!
619 -# 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
620 -epoch_time = 1709051499.17 # Replace with your epoch time
611 +[[Contents>>doc:||anchor="Contents"]]
621 621  
622 -formatted_time = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(epoch_time))
623 -print(formatted_time)
624 -{{/expand}}
625 625  
626 -
627 -
628 -
629 629  ==== Pump Probe Laser (FLASH1) ====
630 630  
631 631  **PIGLET (PG laser)**
... ... @@ -741,9 +741,10 @@
741 741  * {{code language="none"}}number of samples{{/code}}: total number of samples recorded for each 10 Hz trigger
742 742  
743 743  [[Contents>>doc:||anchor="Contents"]]
744 -{{/expand}}
745 745  
746 746  
731 +
732 +
747 747  === FLASH2 ===
748 748  
749 749  There is analog to FLASH1 a permanently running "PhotonDagnostic DAQ FLASH2" (PBD2) and 2 User DAQs
... ... @@ -1121,10 +1121,10 @@
1121 1121  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 !)
1122 1122  units:
1123 1123  
1124 -===== (% style="color:#e67e22" %)Train time(%%) =====
1110 +===== Train time =====
1125 1125  
1126 -(% style="color:#e67e22" %)//always saved (PBD2)//(%%)
1127 -(% style="color:#e67e22" %){{code language="none"}}/Timing/train time{{/code}}
1112 +//always saved (PBD2)//
1113 +{{code language="none"}}/Timing/train time{{/code}}
1128 1128  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
1129 1129  units: d h min s cs
1130 1130  
... ... @@ -1132,28 +1132,11 @@
1132 1132  /Timing/time stamp
1133 1133  {{/code}}
1134 1134  
1135 -(% style="color:#e67e22" %)//always saved (PBD2)//(%%)
1136 -(% 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
1121 +//always saved (PBD2)//
1122 +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
1137 1137  second column: microseconds
1138 1138  third column: Train ID of FLASH
1139 1139  
1140 -
1141 -(% 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
1142 -
1143 -{{expand expanded="false" title="Timestamp help for python"}}
1144 - import time
1145 -
1146 -# epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!!
1147 -# 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
1148 -epoch_time = 1709051499.17 # Replace with your epoch time
1149 -
1150 -formatted_time = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(epoch_time))
1151 -print(formatted_time)
1152 -{{/expand}}
1153 -
1154 -
1155 -
1156 -
1157 1157  [[Contents>>doc:||anchor="Contents"]]
1158 1158  
1159 1159