Changes for page The FLASH HDF5 structure

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

From version 89.11
edited by sndueste
on 2025/04/23 14:55
Change comment: Update document after refactoring.
To version 97.3
edited by sndueste
on 2025/05/19 17:22
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -103,27 +103,29 @@
103 103  {{/info}}
104 104  {{/layout-cell}}
105 105  {{/layout-section}}
106 +{{/layout}}
106 106  
107 -{{layout-section ac:type="single"}}
108 -{{layout-cell}}
109 -
110 110  
109 +
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  
122 +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.
123 +
124 +The previously used naming scheme (2024 and before) can be found here:
125 +
126 +{{expand expanded="false" title="FLASH1 Naming scheme used until 2024"}}
127 +==== (% id="cke_bm_8853497S" style="display:none" %) (%%)Beamline info (FLASH1) ====
128 +
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,7 +176,6 @@
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
179 -
180 180  
181 181  {{code language="none"}}/FL1/Beamlines/PG/Filters/position filter 3{{/code}}
182 182  //always saved (PBD)//
... ... @@ -249,8 +249,8 @@
249 249  
250 250  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
251 251  //always saved (PBD)//
252 -(% style="color:#000000" %)DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}} (%%)
253 -(% style="color:#000000" %)DAQ channel: {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}}
249 +(% style="color:#000000" %)DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}} (%%)
250 +(% style="color:#000000" %)DAQ channel: {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL1.TUNNEL/PHOTONFLUX.UJ{{/code}}
254 254  
255 255  desc : calibrated average SASE Energy/pulse measured in the TUNNEL upstream the gas attenuator
256 256  units : microJ
... ... @@ -259,8 +259,8 @@
259 259  {{code language="none"}}/FL1/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
260 260  //always saved (PBD)//
261 261  
262 -(% style="color:#000000" %)DOOCS prop : 
263 -{{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}}
259 +(% style="color:#000000" %)DOOCS prop : (%%)
260 +(% 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}}
264 264  
265 265  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)
266 266  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]]**
... ... @@ -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
... ... @@ -281,8 +281,7 @@
281 281  The pulse energy and the error are plotted for the first bunch of the pulse trains saved in this 
282 282  file
283 283  
284 -
285 -[[image:attach:image2021-2-9_10-51-6.png||height="250"]]
280 + [[image:image2021-2-9_10-51-6.png]]
286 286  
287 287  
288 288  {{/info}}
... ... @@ -474,8 +474,8 @@
474 474  
475 475  //always saved (PBD)//
476 476  (% style="color:#172b4d" %)**FL1.SFELC**(%%)
477 -(% style="color:#000000" %)channel: FLASH.SDIAG/BAM/(% style="color:#172b4d" %)FL1.SFELC(% style="color:#000000" %)/ARRIVAL_TIME.ABSOLUTE.SA1.COMP
478 -{{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).
472 +(% style="color:#000000" %)channel: FLASH.SDIAG/BAM/(% style="color:#172b4d" %)FL1.SFELC(% style="color:#000000" %)/ARRIVAL_TIME.ABSOLUTE.SA1.COMP(%%)
473 +(% 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).
479 479  units: fs (bigger numbers (typically) indicate later arrival times of the electrons).
480 480  
481 481  
... ... @@ -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 -
531 +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,26 +552,27 @@
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  
559 559  
551 +==== ====
552 +
553 +
560 560  ==== Timing information, rep rate etc.  (FLASH1) ====
561 561  
562 562  ===== bunch repetition rate =====
563 563  
564 -{{code language="none"}}/FL1/Timing/repetition rate{{/code}}
558 +{{code language="none"}}/Timing/repetition rate{{/code}}
565 565  //always saved (PBD)//
566 566  DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.1{{/code}}
567 -DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_FREQ{{/code}}
561 +DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.1{{/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  
574 -(% style="color:#ff6600" %)(HDF5 name not yet implemented - see zraw)(% style="color:#ff0000" %){{code language="none"}}/FL1/Timing/set number of bunches {{/code}}(%%)
567 +(% style="color:#ff6600" %)(HDF5 name not yet implemented - see zraw)(% style="color:#ff0000" %){{code language="none"}}/Timing/set number of bunches {{/code}}(%%)
575 575  //always saved (PBD)//
576 576  DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1 [4th number]{{/code}}
577 577  DAQ channel: {{code language="none"}}FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1 [4th number]{{/code}}
... ... @@ -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 =====
601 +===== (% style="color:#e67e22" %)Train time(%%) =====
612 612  
613 -{{code language="none"}}/Timing/train time{{/code}}
603 +(% 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}}
607 +(% 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"]]
612 +currently it is saved as Unix time in : /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time
625 625  
614 +{{expand expanded="false" title="Timestamp help for python"}}
615 + import time
626 626  
617 +# epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!!
618 +# 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
619 +epoch_time = 1709051499.17 # Replace with your epoch time
620 +
621 +formatted_time = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(epoch_time))
622 +print(formatted_time)
623 +{{/expand}}
624 +
625 +
626 +
627 +
627 627  ==== Pump Probe Laser (FLASH1) ====
628 628  
629 629  **PIGLET (PG laser)**
... ... @@ -739,10 +739,9 @@
739 739  * {{code language="none"}}number of samples{{/code}}: total number of samples recorded for each 10 Hz trigger
740 740  
741 741  [[Contents>>doc:||anchor="Contents"]]
743 +{{/expand}}
742 742  
743 743  
744 -
745 -
746 746  === FLASH2 ===
747 747  
748 748  There is analog to FLASH1 a permanently running "PhotonDagnostic DAQ FLASH2" (PBD2) and 2 User DAQs
... ... @@ -750,15 +750,12 @@
750 750  ==== Beamline info (FLASH2) ====
751 751  
752 752  {{code language="none"}}/FL2/Beamlines/Attenuator/pressure  {{/code}}
753 -(% style="color:#000000" %)//always saved (PBD2)// (%%)
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 -
756 +(% style="color:#000000" %)units: mbar
759 759  
760 760  {{code language="none"}}/FL2/Beamlines/FL20/Shutter/open{{/code}}
761 -//always saved (PBD2)//
762 762  DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.SIS.FL2FS/FL20.SHUTTER/CH00.TD{{/code}}
763 763  DAQ channel: {{code language="none"}}FLASH.FEL/ADC.SIS.FL2FS/FL20.SHUTTER{{/code}}
764 764  desc: BL Beamline Fast shutter state: 1 is open, 0 is closed ( for technical reasons there are 100 vales of this state saved ...)
... ... @@ -766,15 +766,12 @@
766 766  
767 767  
768 768  {{code language="none"}}/FL2/Beamlines/Filter wheel/position wheel 1{{/code}}
769 -//always saved (PBD2)//
770 770  DOOCS prop : {{code language="none"}}FLASH.FEL/FL20H.PH.MOTOR/MOTOR1.MOT3/FPOS{{/code}}
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 -always saved (PBD2)
778 778  DOOCS prop : {{code language="none"}}FLASH.FEL/FL20H.PH.MOTOR/MOTOR2.MOT3/FPOS{{/code}}
779 779  DAQ channel: {{code language="none"}}FLASH.FEL/FL20H.PH.MOTOR/MOTOR2.MOT3/FPOS{{/code}}
780 780  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]]
... ... @@ -790,7 +790,6 @@
790 790  ==== Photon Diagnostics SASE ([[XGMD>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/gmd_intensity_and_position/index_eng.html||shape="rect"]] - FLASH2) ====
791 791  
792 792  {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average energy/energy tunnel{{/code}}
793 -//always saved (PBD2)//
794 794  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ{{/code}}
795 795  DAQ channel:{{code language="none"}} FLASH.FEL/XGM.PHOTONFLUX/FL2.TUNNEL/PHOTONFLUX.UJ{{/code}}
796 796  desc : calibrated average ( ~~ 20 sec averaging time ) SASE Energy/pulse measured in the TUNNEL before the attenuator (ion current)
... ... @@ -798,7 +798,6 @@
798 798  
799 799  
800 800  {{code language="none"}}/FL2/Photon Diagnostic/GMD/Pulse resolved energy/energy tunnel{{/code}}
801 -//always saved (PBD2)//
802 802  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.TD{{/code}}
803 803  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.INTENSITY/FL2.TUNNEL/INTENSITY.TD{{/code}}
804 804  desc : Energy per pulse measured in the Tunnel  (in front of the gas attenuator and the apertures in the Hall) In addition measurement errors and beam position are included for EACH pulse in the pulse train  !! (see below)
... ... @@ -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
... ... @@ -834,7 +834,6 @@
834 834  
835 835  
836 836  {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average Beam position/position tunnel horizontal{{/code}}
837 -//always saved (PBD2)//
838 838  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS{{/code}}
839 839  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IX.POS{{/code}}
840 840  desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the GMD (tunnel, x=horizontal)
... ... @@ -842,7 +842,6 @@
842 842  
843 843  
844 844  {{code language="none"}}/FL2/Photon Diagnostic/GMD/Average Beam position/position tunnel vertical{{/code}}
845 -//always saved (PBD2)//
846 846  DOOCS prop : {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS{{/code}}
847 847  DAQ channel: {{code language="none"}}FLASH.FEL/XGM.POSMON/FL2.TUNNEL/IY.POS{{/code}}
848 848  desc : the Average ( ~~ 20 sec averaging time ) Beam position of the photon Beam determined by the GMD (tunnel, x=horizontal)
... ... @@ -850,7 +850,6 @@
850 850  
851 851  
852 852  /FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel x
853 -always saved (PBD2)
854 854  DOOCS prop : FLASH.FEL/XGM.BPM/FL2.HALL/X.TD
855 855  DAQ channel: FLASH.FEL/XGM.BPM/FL2.HALL:2
856 856  desc: Besides the well calibrated averaged beam position information there is also the option 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 ...)
... ... @@ -870,7 +870,6 @@
870 870  
871 871  
872 872  {{code language="none"}}/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/mean photon energy{{/code}}
873 -// saved opon request (PBD2)//
874 874  DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL042{{/code}}
875 875  DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL042{{/code}}
876 876  desc : mean photon energy ( ~~ 1 sec averaging time ) measured in the TUNNEL for a specific bunch out of the bunch train (via photoelectron spectroscopy)
... ... @@ -878,7 +878,6 @@
878 878  
879 879  
880 880  {{code language="none"}}/FL2/Photon Diagnostic/Wavelength/OPIS tunnel/Processed/mean wavelength{{/code}}
881 -// saved opon request (PBD2)//
882 882  DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL040{{/code}}
883 883  DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL040{{/code}}
884 884  desc : mean wavelength ( ~~ 1 sec averaging time ) measured in the TUNNEL for a specific bunch out of the bunch train (via photoelectron spectroscopy)
... ... @@ -886,7 +886,6 @@
886 886  
887 887  
888 888  {{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}}
889 -// saved opon request (PBD2)//
890 890  DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL060{{/code}}
891 891  DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL060{{/code}}
892 892  desc : The bunch number of the bunch used for the wavelength calculation
... ... @@ -905,7 +905,6 @@
905 905  ===== bunch charge =====
906 906  
907 907  {{code language="none"}}/FL2/Electron Diagnostic/Bunch charge/after undulator{{/code}}
908 -//always saved (PBD2)//
909 909  DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
910 910  DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
911 911  desc: electron bunch charge FLASH2 (average value for each bunchtrain).
... ... @@ -915,7 +915,6 @@
915 915  ===== electron bunch energy =====
916 916  
917 917  {{code language="none"}}/FL2/Electron Diagnostic/Electron energy/energy of first bunch/behind undulators{{/code}}
918 -//always saved (PBD2)//
919 919  DOOCS prop : {{code language="none"}}FLASH.DIAG/BEAM_ENERGY_MEASUREMENT/FL2XTDS/ENERGY.FLASH2{{/code}}
920 920  DAQ channel: (% style="color:#5e6c84" %)TTF2.DAQ/PBD2.BEAM.ENERGY.MEAS.ML.COPY/FL2XTDS.ENERGY.FLASH2{{code language="none"}}{{/code}}(%%)
921 921  desc: electron bunch energy measured behind the undulator. Data is saved with 10 Hz - BUT (for computation reasons) only the energy of the FIRST bunch is recorded. The data is also available for (% style="color:#5e6c84" %)extraction and septum  in the beginning of FLASH2
... ... @@ -927,7 +927,6 @@
927 927  ===== undulator settings =====
928 928  
929 929  {{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/set wavelength{{/code}}
930 -//always saved (PBD2)//
931 931  DOOCS prop : {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}}
932 932  DAQ channel:  {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}}
933 933  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 % ...
... ... @@ -934,7 +934,6 @@
934 934  units: nm
935 935  
936 936  {{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/SASE14 gap{{/code}}
937 -//always saved (PBD2)//
938 938  DOOCS prop : {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
939 939  DAQ channel:  {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
940 940  desc: gap value of the undulators. This can be used to follow up how many undulators were closed and if there was a taper
... ... @@ -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 =====
1107 +===== (% style="color:#e67e22" %)Train time(%%) =====
1130 1130  
1131 -//always saved (PBD2)//
1132 -{{code language="none"}}/Timing/train time{{/code}}
1109 +(% style="color:#e67e22" %)//always saved (PBD2)//(%%)
1110 +(% 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
1118 +(% style="color:#e67e22" %)//always saved (PBD2)//(%%)
1119 +(% 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  
1123 +
1124 +(% 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
1125 +
1126 +{{expand expanded="false" title="Timestamp help for python"}}
1127 + import time
1128 +
1129 +# epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!!
1130 +# 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
1131 +epoch_time = 1709051499.17 # Replace with your epoch time
1132 +
1133 +formatted_time = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(epoch_time))
1134 +print(formatted_time)
1135 +{{/expand}}
1136 +
1137 +
1138 +
1139 +
1147 1147  [[Contents>>doc:||anchor="Contents"]]
1148 1148  
1149 1149  
... ... @@ -1687,8 +1687,3 @@
1687 1687  )))
1688 1688  
1689 1689  [[Contents>>doc:||anchor="Contents"]]
1690 -
1691 -
1692 -{{/layout-cell}}
1693 -{{/layout-section}}
1694 -{{/layout}}