Versions Compared

Key

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

...

1) There are four parameters required to uniquely identify an image at LCLS. Type the (1) experiment name, (2) run number, (3) detector name, and (4) event number in the Experiment Parameters panel.

For this tutorial, we will look at experiment cxitut13, run 10, detector DscCsPad, event 11.

...

Code Block
languagepython
#######################################
# Available area detectors: 
# ('CxiDs1.0:Cspad.0', 'DscCsPad', '')
#######################################

CxiDs1.0:Cspad.0 is the detector name. DscCsPad is the detector alias. Psocake can understand both naming conventions.

2)  You can specify the experiment parameters as command line arguments in psocake using the psana-style experiment run string. This is the recommended way of starting psocake:

Code Block
languagepython
$ psocake exp=cxitut13:run=10 -d DscCsPad -n 11 -m sfx

...

Don’t worry if you don’t remember these arguments. For You can view argument options , use using --help:

Code Block
languagepython
$ psocake --help

Psocake should have generated directories and files in the experiment directory. At LCLS, all experiments are stored here: /reg/d/psdm/<instrument>/<experiment>. Let's go and see our directory.

Code Block
languagepython
$ ls /reg/d/psdm/cxi/cxitut13calib ftc hdf5 res scratch usr xtc

Open a new terminal (Remember to 'ssh psana') or escapeCntrl+z 

Mask Mask making

In this example, let's mask out pixels that should not be used for analysis (such as dead pixels), mask out the jet streak at the centre of the detector, and mask out the water ring (for fun).

Note: the Image Panel must be in the default "greyscale" colormap for the mask colors to display properly.

1) On In the mask panel, click on "Use psana mask". This will mask out the following pixels that should not be used for analysis; calib, status, edge, central, unbonded pixels, unbonded pixel neighbor pixels. These pixels are shown as green on the image panel.

...