Page History
...
Code Block |
---|
(ps-4.5.5) monarin@psanagpu111 (master *) psana2 $ python test_jump.py 0 4194783241933859761 (1024, 1024) 1 4194783249723600225 (1024, 1024) 2 4194783254218190609 (1024, 1024) 3 4194783258712780993 (1024, 1024) |
Event Times In Local TimeZone
Code Block | ||
---|---|---|
| ||
import datetime as dt
from psana import DataSource
ds = DataSource(exp='tmoc00118', run=222, dir='/cds/data/psdm/prj/public01/xtc')
myrun = next(ds.runs())
for nevt,evt in enumerate(myrun.events()):
t = evt.datetime()
localt = t.replace(tzinfo=dt.timezone.utc).astimezone(tz=None)
if nevt<3: print(localt.strftime('%H:%M:%S'))
else: break |
Running with Integrating Detector
...
Overview
Content Tools