Versions Compared

Key

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

...

In order to eliminate too excessive printout from psana modules, set parameters print_bits = 0 or 1 in the configuration file.

...

Examples for exp=cxif5315:run=165

Example 1

Configuration file: psana-cxif5315-r0165-cspad-ds2-NDArrDropletFinder.cfg

...

Code Block
ImgAlgos/data/PlotNDArrayAndPeaks.py -g /reg/d/psdm/CXI/cxif5315/calib/CsPad::CalibV1/CxiDs2.0:Cspad.0/geometry/1-end.data -i test-cxif5315-r0165-e000001-raw.txt

Example 2

Configuration file: psana-cxif5315-r0165-cspad-ds2-NDArrDropletFinder-v2.cfg

ROI Mask: roi_mask_nda-v2.txt is produced in calibman (tab ROI):

image without mask for event 10:Image Added(dark is subtracted).

mask production stages in the mask editor: Image Added Image Added Image Added

Use this mask-ndarray roi_mask_nda-v2.txt in the NDArrDropletFinder with additional list of segment windows:

Code Block
windows =  0 0 185 0 388 \
           1 0 185 0 388 \ 
           8 0 185 0 388 \
           9 0 185 0 388 \
          16 0 185 0 388 \
          17 0 185 0 388 \
          24 0 185 0 388 \
          25 0 185 0 388 

which contains 8 closest to the beam 2x1 sensors.

Command:

Code Block
psana -c psana-cxif5315-r0165-cspad-ds2-NDArrDropletFinder-v2.cfg

produces fisel with images and list of peaks, which can be viewed by the command

Code Block
ImgAlgos/data/PlotNDArrayAndPeaks.py -g /reg/d/psdm/CXI/cxif5315/calib/CsPad::CalibV1/CxiDs2.0:Cspad.0/geometry/1-end.data -i test-cxif5315-r0165-e000001-raw.txt

Image Added

 

 

Get latest version

...

Release ana-current (Until the psana release > ana-0.13.13 is created, one has to work 18 or later) has the latest version of all necessary packages.

In case of any packages updates relative to the current release, the new version of the code can be tested from local release directory (test_release_directory):

Code Block
ssh psana
kinit
cd <one-of-your-directories>
newrel ana-current test_release_directory
cd test_release_directory
sit_setup
addpkg ImgAlgos HEAD
addpkg pdscalibdata HEAD
addpkg PSCalib HEAD
addpkg CSPadPixCoords<other-package-name> HEAD
scons

...
psana -c psana-xppd7114-r0081-cspad2x2-NDArrDropletFinder.cfg

...