This script lives in /sdf/group/lcls/ds/ana/tutorials/psana1_examples/epics.py. The LCLS DAQ includes many slowly changing quantities (e.g. voltages, temperatures, motor positions) that are recorded with software called EPICS. This example shows the use of a more complex "full name" and an easier "alias" (see device names).
from psana import * ds = DataSource('exp=xpptut15:run=59:smd') epicsVarFullName = Detector('HX2:DVD:GCC:01:PMON') epicsVarAlias = Detector('SampleTemp_GetA') for nevent,evt in enumerate(ds.events()): print(epicsVarFullName()) print(epicsVarAlias()) break
References
- EpicsDetector - documentation of methods to access EPICS data.
Overview
Content Tools