Page History
...
Code Block |
---|
from psana import DataSource ds = DataSource(exp='rixdaq18',run=17) myrun = next(ds.runs()) motor1 = myrun.Detector('motor1') motor2 = myrun.Detector('motor2') step_value = myrun.Detector('step_value') step_docstring = myrun.Detector('step_docstring') for step in myrun.steps(): print(motor1(step),motor2(step),step_value(step),step_docstring(step)) for evt in step.events(): pass |
Running
...
From Shared Memory
psana2 scripts can be run on shared memory. Look at the DAQ .cnf file to see what the name of the node is running the shared memory server. You can find the name of the shared memory (hutch name is typically used) either by looking on the .cnf file (the "-P" option to monReqServer executable) or doing a command like this:
...
Overview
Content Tools