Changes for page The FLASH HDF5 structure
Last modified by sndueste on 2025/02/06 10:55
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,25 +1,8 @@ 1 1 == Contents == 2 2 3 -\\ 4 4 5 -* [[General information about HDF5>>doc:||anchor="General information about HDF5"]] 6 -* [[FLASH HDF5 structure>>doc:||anchor="FLASH HDF5 structure"]] 7 -* [[Most popular FLASH parameters and their names in HDF5>>doc:||anchor="Most popular FLASH parameters and their names in HDF5"]] 8 -** [[FLASH1>>doc:||anchor="FLASH1"]] 9 -*** [[Beamline info (FLASH1)>>doc:||anchor="Beamline info (FLASH1)"]] 10 -*** [[Photon Diagnostics SASE / Spectrometer (FLASH1)>>doc:||anchor="Photon Diagnostics SASE / Spectrometer (FLASH1)"]] 11 -*** [[Electron Beam properties (FLASH1)>>doc:||anchor="Electron Beam properties (FLASH1)"]] 12 -*** [[Timing information, rep rate etc.(FLASH1)>>doc:||anchor="Timing information, rep rate etc.(FLASH1)"]] 13 -*** [[Pump Probe Laser (FLASH1)>>doc:||anchor="Pump Probe Laser (FLASH1)"]] 14 -*** [[User Data (FLASH1)>>doc:||anchor="User Data (FLASH1)"]] 15 -** [[FLASH2>>doc:||anchor="FLASH2"]] 16 -** [[HDF5 structure revisions>>doc:||anchor="HDF5 structure revisions"]] 17 -* [[Example code showing how to access HDF5 files>>doc:||anchor="Example code showing how to access HDF5 files"]] 18 -** [[Samples how to read HDF5 with Matlab>>doc:||anchor="Samples how to read HDF5 with Matlab"]] 19 -** [[How to read HDF5 with Python via FLASHH5>>doc:||anchor="How to read HDF5 with Python via FLASHH5"]] 20 -* [[HDF5 and DOOCS>>doc:||anchor="HDF5 and DOOCS"]] 21 21 22 - \\5 +{{toc/}} 23 23 24 24 \\ 25 25 ... ... @@ -53,7 +53,7 @@ 53 53 54 54 \\ 55 55 56 -== Most popular FLASH parameters and their names in HDF5 == 39 +== Most popular FLASH parameters and their names in HDF5, DOOCS and (raw) DAQ == 57 57 58 58 The complete list for the relation between DOOCS names and HDF5 names for the recordable parameters can be found in [[DESY's Repository~[~[image:url:http://hasfweb.desy.de/pub/TWiki/TWikiDocGraphics/external-link.gif~|~|width="13" height="12"~]~]>>url:https://stash.desy.de/projects/CS/repos/pah/browse/src/camp/data/channel2HdfName.dat||shape="rect"]]. 59 59 The most common and often used ones are summarized below: ... ... @@ -635,9 +635,7 @@ 635 635 636 636 \\ 637 637 638 -\\ 639 639 640 - 641 641 //always saved (PBD2)// 642 642 \\\\{{code language="none"}}/FL2/Photon Diagnostic/GMD/Pulse resolved beam position/position tunnel x DOOCS prop : FLASH.FEL/XGM.BPM/FL2.HALL/X.TDDAQ channel: FLASH.FEL/XGM.BPM/FL2.HALL:2 desc: {{/code}}Besides the well calibrated averaged beam position information there is also the option 643 643 {{code language="none"}}to measure the beam position on a single bunch level. HOWEVER this methide needs a perfectly adjusted signal level (talk to your local contact !!) and also then the signal to noise is rather small and one needs some averaging ... BUT with this option one can determine if there was a spatial slope on a burst (say forst bunches were lower than the last ones or so ...)units : mm {{/code}} ... ... @@ -650,7 +650,7 @@ 650 650 651 651 \\ 652 652 653 -==== Photon Diagnostics OPIS[[ >>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]](FLASH2) ==== 634 +==== Photon Diagnostics OPIS[[ >>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]](FLASH2) ==== 654 654 655 655 for more info see: [[ OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]] 656 656 ... ... @@ -680,24 +680,151 @@ 680 680 // saved opon request (PBD2)// 681 681 DOOCS prop : {{code language="none"}}FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL060{{/code}} 682 682 DAQ channel:{{code language="none"}} FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL060{{/code}} 683 -desc : The bunch number of the bunch used for the wavelength calculationiunits : 664 +desc : The bunch number of the bunch used for the wavelength calculation 665 +units : 684 684 685 685 \\ 686 686 669 +If Opis is running typically on the the averaged data is saved. For several experiments it may make sense to save the information for each single bunch. This is up to now done by savng the compleate ADC trace of the TOF setup. This is a huge amount of data and needs processing. This has to be performed after the beamtime in close contact to [[Markus Braune>>mailto:markus.braune@desy.de||shape="rect"]] ( respobsible for [[OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]]) 670 + 687 687 \\ 688 688 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 ... 674 + 689 689 \\ 690 690 691 691 \\ 692 692 679 +==== Electron Beam properties (FLASH2) ==== 680 + 681 +===== bunch charge ===== 682 + 683 +{{code language="none"}}/FL2/Electron Diagnostic/Bunch charge/after undulator{{/code}} 684 +//always saved (PBD2)// 685 +DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}} 686 +DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN/CHARGE.FLASH2{{/code}} 687 +desc: electron bunch charge FLASH2 (average value for each bunchtrain). 688 +units: nC 689 + 693 693 \\ 694 694 692 +===== undulator settings ===== 693 + 694 +{{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/set wavelength{{/code}} 695 +//always saved (PBD2)// 696 +DOOCS prop : {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}} 697 +DAQ channel: {{code language="none"}}TTF2.FEEDBACK/FL2.WAVELENGTHCONTROL/FLASH2/WAVELENGTH{{/code}} 698 +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 % ... 699 +units: nm 700 + 701 +{{code language="none"}}/FL2/Electron Diagnostic/Undulator setting/SASE14 gap{{/code}} 702 +//always saved (PBD2)// 703 +DOOCS prop : {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}} 704 +DAQ channel: {{code language="none"}}FLASH.UTIL/FL2.UND.MOTOR/FL2SASE14/GAP{{/code}} 705 +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 +units: mm 707 + 708 +The gap values are saved for all 12 undulators (Nr 3 to 14). Undulator 14 is the one closest to the experimental hall. 709 + 710 +===== 711 +arrival time ===== 712 + 713 +**FL1**{{code language="none"}}//Electron Diagnostic/BAM/4DBC3/electron bunch arrival time (low charge){{/code}} 714 +//always saved (PBD2)// 715 +DOOCS prop : {{code language="none"}}FLASH.SDIAG/BAM/4DBC3/LOW_CHARGE_ARRIVAL_TIME{{/code}} 716 +DAQ channel: {{code language="none"}}FLASH.SDIAG/BAM.DAQ/4DBC3.LOW_CHARGE_ARRIVAL_TIME{{/code}} 717 +desc: Electron bunch arrival time measured with the BAM (more or less) before the undulator (pulse resolved data) 718 +units: ps (bigger numbers indicate later arrivaltime of the electrons) 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. 721 +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) ... 722 + 723 +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"]] 724 + 725 + 726 +[[Contents>>doc:||anchor="Contents"]] 727 + 695 695 \\ 696 696 730 +==== Timing information, rep rate etc. (FLASH1) ==== 731 + 732 +===== start time of FLASH2 ===== 733 + 734 +{{code language="none"}}/FL2/Timing/start time flash2{{/code}} 735 +//always saved (PBD2)// 736 +DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}} 737 +DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/BUNCH_POSITION.2{{/code}} 738 +desc: The max 600 µs acceleration time of FLASH is devided between FLASH1 and FLASH2. FLASH1 is (up to now) first starting for historic reasons 700 µs. 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) ... 739 +units: µs 740 + 741 +===== bunch repetition rate ===== 742 + 743 +{{code language="none"}}/FL2/Timing/repetition rate{{/code}} 744 +//always saved (PBD2)// 745 +DOOCS prop : {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}} 746 +DAQ channel: {{code language="none"}}FLASH.DIAG/TIMER/FLASHCPUTIME1.0/REP_RATE_KHZ.2{{/code}} 747 +desc: repetition rate of the bunches / pulses within the burst (FLASH2) 748 +units: kHz 749 + 750 +===== actual number of pulses ===== 751 + 752 +{{code language="none"}}/FL1/Timing/actual number of bunches{{/code}} 753 +//always saved (PBD2)// 754 +DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}} 755 +DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/3GUN/NUMBEROFBUNCHES.FLASH2{{/code}} 756 +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) 757 +units: 697 697 \\ 698 698 760 +===== actual pulse pattern recorded after the undulator ===== 761 + 762 +{{code language="none"}}/FL1/Timing/Bunch pattern/pattern after undulator{{/code}} 763 +//always saved (PBD2)// 764 +DOOCS prop : {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}} 765 +DAQ channel: {{code language="none"}}FLASH.DIAG/PBD2.TOROID.ML/9FL2BURN.PULSEPATTERN{{/code}} 766 +desc: The bunch pattern as function of time in a burst recorded by toroide diagnostic BEHIND the undulator. (FLASH2) 767 +units: 699 699 \\ 700 700 770 +===== Train ID ===== 771 + 772 +{{code language="none"}}/Timing/train ID{{/code}} 773 +//always saved (PBD2)// 774 +DOOCS prop : {{code language="none"}}none{{/code}} 775 +DAQ channel: {{code language="none"}}none{{/code}} 776 +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 !) 777 +units: 778 +\\ 779 + 780 +===== Train time ===== 781 + 782 +{{code language="none"}}/Timing/train time{{/code}} 783 +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 784 +units: d h min s cs 785 +\\ 786 + 787 +{{code language="none"}}/Timing/time stamp{{/code}} 788 +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 789 +second column: microseconds 790 +third column: Train ID of FLASH 791 +\\ 792 + 793 +[[Contents>>doc:||anchor="Contents"]] 794 + 795 +\\ 796 + 797 +\\ 798 + 799 +\\ 800 + 801 +\\ 802 + 803 +\\ 804 + 805 +\\ 806 + 807 +\\ 808 + 701 701 (% class="wrapped" %) 702 702 |=((( 703 703 DAQ name