Changes for page The FLASH HDF5 structure
Last modified by sndueste on 2025/09/10 11:43
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -116,15 +116,11 @@ 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 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 - 128 128 ==== Beamline info (FLASH1) ==== 129 129 130 130 {{code language="none"}}/FL1/Beamlines/Attenuator/pressure{{/code}} ... ... @@ -608,9 +608,12 @@ 608 608 second column: microseconds 609 609 third column: Train ID of FLASH 610 610 611 -currently it is saved as Unix time in : /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time607 +currently it is saved as Unix time in 612 612 613 -{{expand expanded="false" title="Timestamp help for python"}} 609 +|((( 610 +/zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time 611 + 612 +{{expand title="Timestamp help for python" expanded="false"}} 614 614 import time 615 615 616 616 # epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!! ... ... @@ -621,9 +621,12 @@ 621 621 print(formatted_time) 622 622 {{/expand}} 623 623 623 + 624 +))) 624 624 625 625 [[Contents>>doc:||anchor="Contents"]] 626 626 628 + 627 627 ==== Pump Probe Laser (FLASH1) ==== 628 628 629 629 **PIGLET (PG laser)** ... ... @@ -1120,10 +1120,10 @@ 1120 1120 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 !) 1121 1121 units: 1122 1122 1123 -===== (% style="color:#e67e22" %)Train time(%%)=====1125 +===== Train time ===== 1124 1124 1125 - (% style="color:#e67e22" %)//always saved (PBD2)//(%%)1126 - (% style="color:#e67e22" %){{code language="none"}}/Timing/train time{{/code}}1127 +//always saved (PBD2)// 1128 +{{code language="none"}}/Timing/train time{{/code}} 1127 1127 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 1128 1128 units: d h min s cs 1129 1129 ... ... @@ -1131,28 +1131,11 @@ 1131 1131 /Timing/time stamp 1132 1132 {{/code}} 1133 1133 1134 - (% style="color:#e67e22" %)//always saved (PBD2)//(%%)1135 - (% 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 etc1136 +//always saved (PBD2)// 1137 +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 1136 1136 second column: microseconds 1137 1137 third column: Train ID of FLASH 1138 1138 1139 - 1140 -(% 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 1141 - 1142 -{{expand expanded="false" title="Timestamp help for python"}} 1143 - import time 1144 - 1145 -# epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!! 1146 -# 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 1147 -epoch_time = 1709051499.17 # Replace with your epoch time 1148 - 1149 -formatted_time = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(epoch_time)) 1150 -print(formatted_time) 1151 -{{/expand}} 1152 - 1153 - 1154 - 1155 - 1156 1156 [[Contents>>doc:||anchor="Contents"]] 1157 1157 1158 1158