You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Motivation

  • 2012-09-13 14:00 - Mtg with Ryan Coffee, Josef Frisch, Nick Hartmann
  • Would like to have psana application to process xppi0412 data

Psana configuration file to get image:

[psana]                                                               
files         = \
/reg/d/psdm/xpp/<experiment>/xtc/<file-1>.xtc \ 
/reg/d/psdm/xpp/<experiment>/xtc/<file-2>.xtc \ 
...
/reg/d/psdm/xpp/<experiment>/xtc/<file-N>.xtc 

modules       = \
                 ImgAlgos.CameraImageProducer \
                 ImgAlgos.SaveImageInFile
#                psana_examples.DumpOpal1k \
events          = 3

[ImgAlgos.CameraImageProducer] 
source          = DetInfo(:Opal1000)
key_in          = 
key_out         = img
subtract_offset = true
print_bits      = 15

[ImgAlgos.SaveImageInFile]
source        = DetInfo(:Opal1000)
key           = img
fname         = img-spectra
saveAll       = true
#eventSave     = 1

Project of analysis-specific module(s)

Functionality

  • Define and cut the spectral regions for signal and reference band.
  • Integrate in columns.
  • Evaluate two 1024-bin spectra and their relative difference: r= 2(fs-fr)/(fs+fr).
  • Put 3 spectra in the event as ndarray<double,2> object.
  • Save spectra in text format file, 1024 x 3 lines of float numbers, if necessary.

Module parameters

  • source
  • key_in
  • key_out
  • Signal band Y-center
  • Signal band width
  • Signal band tilt angle
  • Reference band Y-center
  • Reference band width
  • Reference band tilt angle
  • Output file name (text format, 1024 x 3 lines of float numbers). If specified, then the file is saved for all selected events.
  • No labels