Page History
...
Code Block |
---|
corana -f cor-ana-r0015-b0001.bin -t my-tau.txt bsub -q psfehq -o log-file 'corana -f cor-ana-r0015-b0000.bin' |
Where ~/<path-from-home-dir>/
is an arbitrary directory, but this directory should exist before running this script.
Produce files:
Code Block |
---|
cor-ana-r0015-tau.txt - string of {{tau}} values for which the auto-correlation function is evaluated cor-ana-r0015-b0000-result.bin - auto-correlators for the part of the image for all {{tau}} values cor-ana-r0015-b0001-result.bin cor-ana-r0015-b0002-result.bin cor-ana-r0015-b0003-result.bin cor-ana-r0015-b0004-result.bin cor-ana-r0015-b0005-result.bin cor-ana-r0015-b0006-result.bin cor-ana-r0015-b0007-result.bin |
...
Code Block |
---|
psana -c <config-file> <xtc-file-list> corana -f <fname-data> [-t <fname-tau>] [-l <logfile>] [-h] corana_merge -f <fname-data> [-t <fname-tau>] [-l <logfile>] [-h] {color:green} corana_procres -f <fname-data> [-t <fname-tau>] [-l <logfile>] [-h] {color} |
or submit in batch from pslogin##
node:
Code Block |
---|
bsub -q psfehq -o log-file 'psana -c <config-file> <xtc-file-list>' bsub -q psfehq -o log-file 'corana -f <fname-data> [-t <fname-tau>] [-l <logfile>] [-h]' bsub -q psfehq -o log-file 'corana_merge -f <fname-data> [-t <fname-tau>] [-l <logfile>] [-h]' {color:green} bsub -q psfehq -o log-file 'corana_procres -f <fname-data> [-t <fname-tau>] [-l <logfile>] [-h]' {color} |
The corana
batch jobs can be submitted and run on separate butch nodes in parallel. All other procedures can be submitted when previous is successfully finished and all necessary files are produced.
The last command is optional and is currently used for test purpose only. But, it may be replaced by real analysis code.
File formats
- File with split-image data for selected events
cor-ana-r0015-b000N.bin
:
Currently this file contains<uint16_t>
amplitude for each pixel in binary format for:Code Block <data-for-img-partN-of-img1> <data-for-img-partN-of-img2> ... <data-for-img-partN-of-imgLast>
- File with metadata parameters
cor-ana-r0015-med.txt
:Code Block IMAGE_ROWS 1300 IMAGE_COLS 1340 IMAGE_SIZE 1742000 NUMBER_OF_FILES 8 BLOCK_SIZE 217750 REST_SIZE 0 NUMBER_OF_IMGS 500 FILE_TYPE bin DATA_TYPE uint16_t TIME_SEC_AVE 8.088413 TIME_SEC_RMS 0.063639 TIME_INDEX_MAX 499
- File with image time records
cor-ana-r0015-time.txt
:
where each record has:Code Block 1 0.000000 0.000000 20120616-080236.671607864 5366 0 2 8.026429 8.026429 20120616-080244.698036743 8255 1 3 16.144788 8.118359 20120616-080252.816395836 11177 2 4 24.154835 8.010048 20120616-080300.826443448 14060 3 ...
Code Block <image-in-file#> <t(sec)-from-the-1st-event> <dt(sec)> <time-stamp> <fiducials> <event#-since-configure>
- File with image time records and evaluated time index
cor-ana-r0015-time-ind.txt
:
where each record has:Code Block 1 0.000000 0.000000 20120616-080236.671607864 5366 0 0 2 8.026429 8.026429 20120616-080244.698036743 8255 1 1 3 16.144788 8.118359 20120616-080252.816395836 11177 2 2 4 24.154835 8.010048 20120616-080300.826443448 14060 3 3 5 32.281937 8.127102 20120616-080308.953545010 16985 4 4 ...
Code Block <image-in-file#> <t(sec)-from-the-1st-event> <dt(sec)> <time-stamp> <fiducials> <event#-since-configure> <time-index-starting-from-0>
- File with split-image correlators for each value of
tau
cor-ana-r0015-b000N-result.bin
:
Currently it saves<float>
correlator for each pixel in binary format for:Code Block <corr-for-img-partN-of-tau1> <corr-for-img-partN-of-tau2> ... <corr-for-img-partN-of-tauLast>
my-tau.txt
:
contains theCode Block 1 3 5 7 9 10 12 14 16 18 20 24 28 30 32 36 40 ... 160 180 200 240 280 300 320 360 400
tau
values presented in terms of number of ordered images in the file.
...
Overview
Content Tools