Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
    from psana import DataSource
    ds = DataSource(exp='tmoc00318',run=10, dir='/cds/data/psdm/prj/public01/xtc')
    orun = next(ds.runs())
    det = orun.Detector('epix100')
    for evt in orun.events():
        arr = det.raw.calib(evt, cmpars=(0,7,100,10))
        add = det.raw._common_mode_increment(evt, cmpars=(0,7,100,10))

...