Versions Compared

Key

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

...

Image splitting is implemented as a regular psana module ImgAlgos::ImgVsTimeSplitInFiles.

Command:

Code Block

psana -c <config-file> <xtc-file-list>

For example:

Code Block

psana -c ana-misc-exp/psana-xcsi0112-r0015-img-auto-correlation.cfg  /reg/d/psdm/XCS/xcsi0112/xtc/e167-r0015-*

Produce files:

Code Block
img-xcs-r0015-b0000.bin - file with a part of image vs time
img-xcs-r0015-b0001.bin
img-xcs-r0015-b0002.bin
img-xcs-r0015-b0003.bin
img-xcs-r0015-b0004.bin
img-xcs-r0015-b0005.bin
img-xcs-r0015-b0006.bin
img-xcs-r0015-b0007.bin
img-xcs-r0015-time.txt - list of time-record for all events in processed run.
img-xcs-r0015-med.txt - file with metadata. In particular it has the original image size, number of image parts for splitting, number of images in run, etc.

...

ImgAlgos/test/corana application

Command:

Code Block

<path>/corana -f <fname-data> [-t <fname-tau>] -h [-l <logfile>] [-b <basedir>]

For example:

Code Block

<path>/corana -f img-xcs-r0015-b0001.bin -t my-tau.txt 

Produce files:

Code Block
img-xcs-r0015-tau.txt          - string of tau values for which the auto-correlation function is evaluated
img-xcs-r0015-b0000-result.bin - auto-correlators for the part of the image for all tau values 
img-xcs-r0015-b0001-result.bin
img-xcs-r0015-b0002-result.bin
img-xcs-r0015-b0003-result.bin
img-xcs-r0015-b0004-result.bin
img-xcs-r0015-b0005-result.bin
img-xcs-r0015-b0006-result.bin
img-xcs-r0015-b0007-result.bin

...

ImgAlgos/test/corana_merge application

Command:

Code Block

<path>/corana_merge -f <fname-data> [-t <fname-tau>] -h [-l <logfile>] [-b <basedir>]

For example:

Code Block

<path>/corana_merge -f img-xcs-r0015-b0001-result.bin -t my-tau.txt

Produce file:

Code Block
img-xcs-r0015-image-result.bin

Wrapping script

./CorAnaSubmit.py

Code Block

./CorAnaSubmit.py -c <config-file> -t <fname-tau> [-x] <xtc-file-list>

For example:

Code Block

./CorAnaSubmit.py -c ana-misc-exp/psana-xcsi0112-r0015-img-auto-correlation.cfg -t my-tau.txt /reg/d/psdm/XCS/xcsi0112/xtc/e167-r0015-s00-c00.xtc

Where my-tau.txt:

Code Block
 1 3 5 7 9 10 12 14 16 18 20 24 28 30 32 36 40 50 60 70 80 90 100 120 140 160 180 200 240 280 300 320 360 400

...