Versions Compared

Key

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

(use the navigation panel on the left to go through the examples)

The model we believe to be way of the future for LCLS analysis (and FEL/lightsource analysis around the world) is that users be able to put together simple/short python "building blocks" to quickly express the complexity of their experiment.  Many of these building blocks are publicly available on the web, and so can be reused around the world.

...

All scripts shown in this section can be copied from this directory:

Code Block
/reg/g/psdm/tutorials/examplePython

They are maintained in the svn user repository named "examplePython".

For reference, here we include a 39-line example script that incorporates several of the building blocks (described with the comments after the "#" character).  See the topics available by expanding the topics box on the left of this confluence page to learn how to modify this to match your application.

...

with a command similar to this (note the "." at the end of the line):

Code Block
cp -r /sdf/group/lcls/ds/ana/tutorials/psana1_examples .
cd psana1_examples

Or you can find them in git here: https://github.com/chrisvam/psana1_examples.git.

These small scripts should be run from a "psana" machine in s3df (use "ssh -X psana") and are described in the following sections.