Versions Compared

Key

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

...

Code Block
ssh -X pslogin.slac.stanford.edu -l YOURACCOUNTNAME
ssh -X psana

# If you don't know which shell you are using
# try both commands below to see which one succeeds
 
# USE THIS LINE IF YOUR SHELL IS "C-SHELL" (note the ".csh" at the end)
source /reg/g/psdm/etc/ana_env.csh
# USE THIS LINE IF YOUR SHELL IS "BASH" (note the ".sh" at the end)
source /reg/g/psdm/etc/ana_env.sh

cp /reg/g/psdm/tutorials/xcsexamplePython/ipsanafirstExample.py ipsanafirstExample.py
python ipsanafirstExample.py

The 17-line ipsana.py script loops over 2 events and plots a princeton CSPAD camera image (close with many applied calibration corrections, and geometry corrections for each of the detector panels. Close each image window to see the next one).  You can examine the script with the command "more ipsanacat firstExample.py" or edit it with unix editors like emacs, vim, or vi.

...