Changes for page The FLASH HDF5 structure

Last modified by sndueste on 2025/02/06 10:55

From version 14.1
edited by sndueste
on 2019/09/17 17:52
Change comment: There is no comment for this version
To version 18.1
edited by sndueste
on 2019/09/18 10:09
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -385,7 +385,7 @@
385 385  //always saved (PBD)//
386 386  DOOCS prop : {{code language="none"}}none{{/code}}
387 387  DAQ channel: {{code language="none"}}none{{/code}}
388 -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 !)
388 +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 !)
389 389  units:
390 390  \\
391 391  
... ... @@ -392,7 +392,7 @@
392 392  ===== Train time =====
393 393  
394 394  {{code language="none"}}/Timing/train time{{/code}}
395 -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
395 +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
396 396  units: d h min s cs
397 397  \\
398 398  
... ... @@ -458,9 +458,15 @@
458 458  
459 459  ==== User Data (FLASH1) ====
460 460  
461 +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.
462 +
463 +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
464 +
465 +The most common and permanently installed device used by experiment are our ADCs:
466 +
461 461  ===== GHz ADCs =====
462 462  
463 -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]]
469 +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]]**
464 464  //saved on DEMAND in the user DAQ//
465 465  \\The HDF5 names for the ADC traces are depending on the beamline :
466 466  \\PG Beamline:
... ... @@ -483,14 +483,12 @@
483 483  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.
484 484  DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00{{/code}}
485 485  
486 -in addition there are also additional parameters saved like:
492 +In addition there are also additional parameters saved like:
487 487  
488 -* sample frequency (in MHz)
489 -* error (state)
490 -* offset
494 +* {{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.
495 +* {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
496 +* {{code language="none"}}error (ADC):{{/code}} 0 indicates that there was no error
491 491  
492 -~|
493 -
494 494  ===== MHz ADCs =====
495 495  
496 496  similar to the GHz ADCs the MHz ADCs are saved with HDF5 names like:
... ... @@ -498,10 +498,19 @@
498 498  DOOCS prop : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02/CH00.TD
499 499  DAQ channel: : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02
500 500  
501 -\\
505 +In addition there are also additional parameters saved like:
502 502  
507 +* {{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.
508 +* {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
509 +
503 503  [[Contents>>doc:||anchor="Contents"]]
504 504  
512 +\\
513 +
514 +\\
515 +
516 +\\
517 +
505 505  === FLASH2 ===
506 506  
507 507  There is analog to FLASH1 a permanently running "PhotonDagnostic DAQ FLASH2" (PBD2) and 2 User DAQs
... ... @@ -509,11 +509,11 @@
509 509  ==== Beamline info (FLASH2) ====
510 510  
511 511  (% style="color: rgb(255,153,0);" %)(not yet available){{code language="none"}}/FL2/Beamlines/Attenuator/pressure  {{/code}}(%%)
512 -//always saved (PBD2)//
513 -DOOCS prop : {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}}
514 -DAQ channel:  {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}}
515 -desc: set pressure in the gas attenuator
516 -units: mbar
525 +(% style="color: rgb(193,199,208);" %)//always saved (PBD2)// (%%)
526 +(% style="color: rgb(193,199,208);" %)DOOCS prop : {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
527 +(% style="color: rgb(193,199,208);" %)DAQ channel:  {{code language="none"}}FLASH.FEL/ATT.GAS_DOSING/FL2.HALL/PRESSURE{{/code}} (%%)
528 +(% style="color: rgb(193,199,208);" %)desc: set pressure in the gas attenuator (%%)
529 +(% style="color: rgb(193,199,208);" %)units: mbar(%%)
517 517  \\
518 518  
519 519  {{code language="none"}}/FL2/Beamlines/FL20/Shutter/open{{/code}}
... ... @@ -631,7 +631,7 @@
631 631  
632 632  \\
633 633  
634 -==== Photon Diagnostics OPIS[[ >>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]](FLASH2) ====
647 +==== Photon Diagnostics OPIS[[ >>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]](FLASH2) ====
635 635  
636 636  for more info see: [[ OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]]
637 637  
... ... @@ -670,7 +670,7 @@
670 670  
671 671  \\
672 672  
673 -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 ...
686 +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 ...
674 674  
675 675  \\
676 676  
... ... @@ -684,7 +684,7 @@
684 684  //always saved (PBD2)//
685 685  DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
686 686  DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}}
687 -desc: electron bunch charge (FLASH2)
700 +desc: electron bunch charge FLASH2 (average value for each bunchtrain).
688 688  units: nC
689 689  
690 690  \\
... ... @@ -702,10 +702,10 @@
702 702  //always saved (PBD2)//
703 703  DOOCS prop : {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
704 704  DAQ channel:  {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}}
705 -desc: Sgap value of the Undulators. this can be used to follow up how many undulators were closed and if there was a taper
718 +desc: gap value of the undulators. This can be used to follow up how many undulators were closed and if there was a taper
706 706  units: mm
707 707  
708 -The gap values are saved for all 12 undulators (Nr 3 to 14)
721 +The gap values are saved for all 12 undulators (Nr 3 to 14). Undulator 14 is the one closest to the experimental hall.
709 709  
710 710  =====
711 711  arrival time =====
... ... @@ -717,59 +717,43 @@
717 717  desc: Electron bunch arrival time measured with the BAM (more or less) before the undulator (pulse resolved data)
718 718  units: ps (bigger numbers indicate later arrivaltime of the electrons)
719 719  
720 -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.
733 +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.
734 +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) ...
721 721  
722 -\\
736 +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>>url:https://confluence.desy.de/download/attachments/134216957/BAM-basics_and_outlook-2018_DESY-template_16-9Format.pdf?version=1&modificationDate=1565162143328&api=v2||shape="rect"]]
723 723  
724 -first bunch of FLASH2 ... how to calculate ..
725 725  
726 -\\
739 +[[Contents>>doc:||anchor="Contents"]]
727 727  
728 728  \\
729 729  
730 -Docu:  [[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>>url:https://confluence.desy.de/download/attachments/134216957/BAM-basics_and_outlook-2018_DESY-template_16-9Format.pdf?version=1&modificationDate=1565162143328&api=v2||shape="rect"]]
743 +==== Timing information, rep rate etc.  (FLASH2) ====
731 731  
732 -\\
745 +===== start time of FLASH2 =====
733 733  
734 -\\
747 +{{code language="none"}}/FL2/Timing/start time flash2{{/code}}
748 +//always saved (PBD2)//
749 +DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}}
750 +DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}}
751 +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 ...)
752 +units: µs
735 735  
736 -\\
737 -
738 -
739 -\\
740 -
741 -[[Contents>>doc:||anchor="Contents"]]
742 -
743 -\\
744 -
745 -==== Timing information, rep rate etc.  (FLASH1) ====
746 -
747 747  ===== bunch repetition rate =====
748 748  
749 -{{code language="none"}}/FL1/Timing/repetition rate{{/code}}
750 -//always saved (PBD)//
751 -DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.1{{/code}}
752 -DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_FREQ{{/code}}
753 -desc: repetition rate of the bunches / pulses within the burst (FLASH1)
756 +{{code language="none"}}/FL2/Timing/repetition rate{{/code}}
757 +//always saved (PBD2)//
758 +DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}}
759 +DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}}
760 +desc: repetition rate of the bunches / pulses within the burst (FLASH2)
754 754  units: kHz
755 -\\
756 756  
757 -===== set number of pulses =====
758 -
759 -{{code language="none"}}/FL1/Timing/set number of bunches{{/code}}
760 -//always saved (PBD)//
761 -DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH1{{/code}}
762 -DAQ channel: {{code language="none"}}TTF2.UTIL/LASER.CONTROL/GUN/PULSE_NUM{{/code}}
763 -desc: Number of pulses set at the gun (FLASH1)
764 -units:
765 -
766 766  ===== actual number of pulses =====
767 767  
768 768  {{code language="none"}}/FL1/Timing/actual number of bunches{{/code}}
769 -//always saved (PBD)//
770 -DOOCS prop : {{code language="none"}}FLASH.DIAG/TOROID.ML/12EXP/NUMBEROFBUNCHES.FLASH1{{/code}}
771 -DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
772 -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)
766 +//always saved (PBD2)//
767 +DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
768 +DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}}
769 +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)
773 773  units:
774 774  \\
775 775  
... ... @@ -776,10 +776,10 @@
776 776  ===== actual pulse pattern recorded after the undulator =====
777 777  
778 778  {{code language="none"}}/FL1/Timing/Bunch pattern/pattern after undulator{{/code}}
779 -//always saved (PBD)//
780 -DOOCS prop : {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP/CHARGE.TD{{/code}}
781 -DAQ channel: {{code language="none"}}TTF2.DIAG/PBD.TOROID.ML/12EXP{{/code}}
782 -desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH1)
776 +//always saved (PBD2)//
777 +DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
778 +DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}}
779 +desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH2)
783 783  units:
784 784  \\
785 785  
... ... @@ -786,7 +786,7 @@
786 786  ===== Train ID =====
787 787  
788 788  {{code language="none"}}/Timing/train ID{{/code}}
789 -//always saved (PBD)//
786 +//always saved (PBD2)//
790 790  DOOCS prop : {{code language="none"}}none{{/code}}
791 791  DAQ channel: {{code language="none"}}none{{/code}}
792 792  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 !)
... ... @@ -795,13 +795,16 @@
795 795  
796 796  ===== Train time =====
797 797  
798 -{{code language="none"}}/Timing/train time{{/code}}
795 +//always saved (PBD2)
796 +//{{code language="none"}}/Timing/train time{{/code}}
799 799  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
800 800  units: d h min s cs
801 801  \\
802 802  
803 -{{code language="none"}}/Timing/time stamp{{/code}}
804 -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
801 +{{code language="none"}}/Timing/time stamp{{/code}}
802 +
803 +//always saved (PBD2)//
804 +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
805 805  second column: microseconds
806 806  third column: Train ID of FLASH
807 807  \\
... ... @@ -810,6 +810,54 @@
810 810  
811 811  \\
812 812  
813 +==== User Data (FLASH1) ====
814 +
815 +===== GHz ADCs =====
816 +
817 +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]]
818 +//saved on DEMAND in the user DAQ//
819 +\\The HDF5 names for the ADC traces are depending on the beamline :
820 +\\PG Beamline:
821 +{{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH00/TD{{/code}}
822 +{{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH01/TD{{/code}}
823 +{{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH02/TD{{/code}}
824 +{{code language="none"}}/FL1/Experiment/PG/ADQ412 GHz ADC/CH03/TD{{/code}}
825 +
826 +BL Beamlines:
827 +{{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH00/TD{{/code}}
828 +{{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH01/TD{{/code}}
829 +{{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH02/TD{{/code}}
830 +{{code language="none"}}/FL1/Experiment/BL1/ADQ412 GHz ADC/CH03/TD{{/code}}
831 +\\{{code language="none"}}/FL1/Experiment/BL2/ADQ412 GHz ADC/CH00/TD{{/code}}
832 +{{code language="none"}}/FL1/Experiment/BL2/ADQ412 GHz ADC/CH01/TD{{/code}}
833 +\\{{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH02/TD{{/code}}
834 +{{code language="none"}}/FL1/Experiment/BL3/ADQ412 GHz ADC/CH03/TD{{/code}}
835 +
836 +DOOCS prop : {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00/CH00.TD  or CH00.DAQ.TD{{/code}}
837 +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.
838 +DAQ channel: {{code language="none"}}FLASH.FEL/ADC.ADQ.PG/EXP1.CH00{{/code}}
839 +
840 +In addition there are also additional parameters saved like:
841 +
842 +* {{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.
843 +* {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
844 +* {{code language="none"}}error (ADC):{{/code}} 0 indicates that there was no error
845 +* {{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.
846 +
847 +===== MHz ADCs =====
848 +
849 +similar to the GHz ADCs the MHz ADCs are saved with HDF5 names like:
850 +{{code language="none"}}/FL1/Experiment/BL1/SIS8300 100MHz ADC/CH2/TD{{/code}}
851 +DOOCS prop : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02/CH00.TD
852 +DAQ channel: : FLASH.FEL/ADC.SIS.BL1/EXP1.CH02
853 +
854 +In addition there are also additional parameters saved like:
855 +
856 +* {{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.
857 +* {{code language="none"}}number of samples{{/code}}: total number of samoles recorded for each 10 Hz trigger
858 +
859 +[[Contents>>doc:||anchor="Contents"]]
860 +
813 813  \\
814 814  
815 815  \\
... ... @@ -822,6 +822,8 @@
822 822  
823 823  \\
824 824  
873 +\\
874 +
825 825  (% class="wrapped" %)
826 826  |=(((
827 827  DAQ name