Changes for page The FLASH HDF5 structure

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

From version 89.13
edited by sndueste
on 2025-04-24 13:24
Change comment: There is no comment for this version
To version 91.1
edited by sndueste
on 2025-04-24 13:29
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -604,17 +604,25 @@
604 604  second column: microseconds
605 605  third column: Train ID of FLASH
606 606  
607 -currently it is saved as Unix time in
607 +currently it is saved as Unix time in : /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time
608 608  
609 -|(((
610 -/zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time
609 +{{expand title="Timestamp help for python" expanded="false"}}
610 + import time
611 611  
612 +# epoch time is found in /zraw/FLASH.DIAG/TIMINGINFO/TIME1.BUNCH_FIRST_INDEX.1/dGroup/time #!!! a leading 1 has to be added !!!
613 +# 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
614 +epoch_time = 1709051499.17 # Replace with your epoch time
615 +
616 +formatted_time = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime(epoch_time))
617 +print(formatted_time)
618 +{{/expand}}
619 +
620 +|(((
612 612  
613 613  )))
614 614  
615 615  [[Contents>>doc:||anchor="Contents"]]
616 616  
617 -
618 618  ==== Pump Probe Laser (FLASH1) ====
619 619  
620 620  **PIGLET (PG laser)**