Changes for page The FLASH HDF5 structure
Last modified by sndueste on 2026-01-19 14:35
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,3 +1,6 @@ 1 +{{layout}} 2 +{{layout-section ac:type="single"}} 3 +{{layout-cell}} 1 1 == Contents == 2 2 3 3 ... ... @@ -58,17 +58,25 @@ 58 58 {{/expand}} 59 59 60 60 === HDF examples: === 64 +{{/layout-cell}} 65 +{{/layout-section}} 61 61 67 +{{layout-section ac:type="three_equal"}} 68 +{{layout-cell}} 62 62 * ADC data as example for **fast** **data** (10 Hz): 63 63 64 64 [[image:attach:image2020-11-16_15-26-28.png||height="250"]] 72 +{{/layout-cell}} 65 65 74 +{{layout-cell}} 66 66 * The //average// FEL pulse energy as example for the **slow** **data**. Here the data is not saved with 10 Hz - thus not for every FEL pulse train. The data is typically saved with 1 Hz if the values are changing (like the FEL energy) and every about 20 sec if there is no change for longer time ( e.g. motor set values). Thus to use the data together with the "fast" one, one has to interpolate the data as explained in the examples in the repos below show (e.g. {{code language="none"}}df['GMD_T_average'] = df['GMD_T_average'].interpolate(method='linear'){{/code}}) 67 67 68 68 ( as example only every 10th train ID is listed in the HDF group "index") 69 69 70 70 [[image:attach:image2020-11-16_15-31-45.png||height="250"]] 80 +{{/layout-cell}} 71 71 82 +{{layout-cell}} 72 72 * ((( 73 73 //zraw// group contains the **original DAQ (DOOCS) names** 74 74 ))) ... ... @@ -77,7 +77,11 @@ 77 77 78 78 79 79 [[image:attach:image2020-11-16_16-26-3.png||height="400"]] 91 +{{/layout-cell}} 92 +{{/layout-section}} 80 80 94 +{{layout-section ac:type="single"}} 95 +{{layout-cell}} 81 81 {{info}} 82 82 === There are different options that help you to work with the FLASH HDF5 data in Python === 83 83 ... ... @@ -86,6 +86,9 @@ 86 86 87 87 (% class="Object" %)See also the collection of Demo data and sample scripts : [[Collection of HDF5 sample data from different beamlines>>doc:FLASHUSER.Offline data analysis (DAQ).Collection of HDF5 sample data from different beamlines.WebHome]] and [[DEMO - Working with FLASH data>>doc:FLASHUSER.Offline data analysis (DAQ).DEMO - Working with FLASH data.WebHome]] 88 88 {{/info}} 104 +{{/layout-cell}} 105 +{{/layout-section}} 106 +{{/layout}} 89 89 90 90 91 91 ... ... @@ -93,7 +93,7 @@ 93 93 94 94 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"]]. 95 95 96 -== Most popular FLASH parameters and their names in HDF5, DOOCS and ( .raw) DAQ ==114 +== Most popular FLASH parameters and their names in HDF5, DOOCS and (raw) DAQ == 97 97 98 98 {{id name="DOOCSparameters"/}} 99 99 ... ... @@ -105,7 +105,7 @@ 105 105 106 106 The previously used naming scheme (2024 and before) can be found here: 107 107 108 -{{expand expanded="false" title="FLASH1 naming scheme used until 2024"}}126 +{{expand expanded="false" title="FLASH1 Naming scheme used until 2024"}} 109 109 ==== (% id="cke_bm_8853497S" style="display:none" %) (%%)Beamline info (FLASH1) ==== 110 110 111 111 {{code language="none"}}/FL1/Beamlines/Attenuator/pressure{{/code}} ... ... @@ -859,23 +859,6 @@ 859 859 desc : The bunch number of the bunch used for the wavelength calculation 860 860 units : 861 861 862 -{{expand expanded="false" title="More detailed info on OPIS properties"}} 863 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL370,'%','relative width of photoline in percent of the FEL photon energy ROI1, rising flank' 864 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL375,'%','relative width of photoline in percent of the FEL photon energy ROI1, tailing flank' 865 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL470,'%','relative width of photoline in percent of the FEL photon energy ROI1, mean' 866 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL371,'%','relative width of photoline in percent of the FEL photon energy ROI2, rising flank' 867 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL376,'%','relative width of photoline in percent of the FEL photon energy ROI2, tailing flank' 868 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL471,'%','relative width of photoline in percent of the FEL photon energy ROI2, mean' 869 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL372,'%','relative width of photoline in percent of the FEL photon energy ROI3, rising flank' 870 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL377,'%','relative width of photoline in percent of the FEL photon energy ROI3, tailing flank' 871 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL472,'%','relative width of photoline in percent of the FEL photon energy ROI3, mean' 872 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL373,'%','relative width of photoline in percent of the FEL photon energy ROI4, rising flank' 873 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL378,'%','relative width of photoline in percent of the FEL photon energy ROI4, tailing flank' 874 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL473,'%','relative width of photoline in percent of the FEL photon energy ROI4, mean' 875 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL374,'%','relative width of photoline in percent of the FEL photon energy ROI5, rising flank' 876 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL379,'%','relative width of photoline in percent of the FEL photon energy ROI5, tailing flank' 877 -FLASH.UTIL/STORE/FL2.TUNNEL.OPIS/VAL474,'%','relative width of photoline in percent of the FEL photon energy ROI5, mean' 878 -{{/expand}} 879 879 880 880 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 saving the complete 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"]] ( responsible for [[OPIS>>url:http://photon-science.desy.de/facilities/flash/photon_diagnostics/opis_spectrometer/index_eng.html||shape="rect"]]) 881 881