Versions Compared

Key

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

...

Psana has a simple python-script interface, which can be run online (in realtime), offline, and parallelized over many cores both online and offline.  Once you have run the quick example below, you can find complete documentation all on ONE page here.

Quick Example

To do analysis with a psana python script execute the following commands.  This requires the ability to ssh to an LCLS unix account and the ability to open up a graphics window on your computer ("X-windows").  Replace "YOURACCOUNTNAME" in the first line below with your unix account name.

...

The 17-line ipsana.py script loops over 4 events and plots a princeton camera image (close each image window to see the next one).  You can examine the script with the command "more ipsana.py" or edit it with unix editors like emacs, vim, or vi.

 Once you have run the quick example above, you can find complete documentation all on ONE page here.