Versions Compared

Key

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

...

The same information can be obtained in a python script like  /reg/g/psdmsdf/group/lcls/ds/ana/tutorials/examplePython3psana1_examples/detNames.py:

Code Block
from psana import *
ds = DataSourceMPIDataSource('exp=xpptut15:run=59:smd')

detNames = DetNames()
print('*** Detector Names (Full-Name, DAQ-Alias, User-Alias) ***')
for detname in DetNames(): 
    print(detname)

epicsNames = DetNames('epics')
print('*** Some Epics Names (Full-Name, DAQ-Alias, User-Alias) ***')
for ename in epicsNames[:4]: 
    print(ename) # only print a few

...