Versions Compared

Key

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

...

PSANA module ImgAlgos.ImgIntForBins

PSANA module ImgAlgos.ImgVsTimeSplitInFiles

...

  • Gets intensity monitor configuration file imon-cfg.txt produced in GUI:
    Code Block
    
     BldInfo(FEEGasDetEnergy)         FEEGasDetEnergy  1 1 1 1   0 0     -1.0000   -1.0000    1.0000
     BldInfo(XCS-IPM-02)              XCS-IPM-02       1 1 1 1   0 0     -1.0000   -1.0000    1.0000
     BldInfo(XCS-IPM-mono)            XCS-IPM-mono     1 1 1 1   0 0     -1.0000   -1.0000   -1.0000
     DetInfo(XcsBeamline.1:Ipimb.4)   Ipimb.4          1 1 1 1   0 0     -1.0000   -1.0000    1.0000
     DetInfo(XcsBeamline.1:Ipimb.5)   Ipimb.5          1 1 1 1   0 0     -1.0000   -1.0000    1.0000
    
Code Block

PSANA module ImgAlgos.ImgIntForBins

Gets the file *-map-static-q.txt with a map of static q bin numbers

Produces the file *-int-static-q.txt with intensities averaged over statis q bins:

Code Block

       0  44.460 
       1  27.982 
       2  62.282 
       3  0.875 
       4  73.732 
       5  698.901 
       6  4.923 
       7  227.669 
       8  28.298 
...

PSANA module ImgAlgos.ImgVsTimeSplitInFiles

Gets/produces the file *-tau.txt with a list of tau intervals in terms of time(event) indexes, for example:

Code Block

 1 2 3 4 5 6 7 8 9 10 12 14 16 20

Produces the file *-med.txt with metadata parameters from splitting algorithm:

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       f
TIME_SEC_AVE    8.088413
TIME_SEC_RMS    0.063639
TIME_INDEX_MAX       499

Processing

Submit command

Code Block
corana -f /reg/neh/home1/dubrovin/LCLS/PSANA-V01/work/t1-cora-r0015-b0000.bin -t ./tau-list.txt

...