Versions Compared

Key

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

Setup environment

ssh pslogin
ssh psananeh
# (or psanafeh for cxi, sxr, and mec)
cd <your-directory>
sit_setup

...

Another file common_mode/0-end.data usually looks like

Code Block
1 50 10

Similarly to pedestals the files for pixel_status and pixel_gain can be supplied.

Analysis

Configuration script for analysis with psana with name for this example: ana-xpp50312/psana-xpp50312-r0092.cfg:

...

This configuration file provides parameters for psana and three modules.
Currently we setup calibration files for cspad_mod.CsPadCalib module for pedestal subtraction and common mode correction.
Module CSPadPixCoords.CSPad2x2ImageProducer produces the CSPad2x2 image and saves it in the event.
Module SaveImageInFile saves indicated image(s) in the file(s).

Run psana with this configuration file:

psana -c ana-xpp50312/psana-xpp50312-r0092.cfg

Plot obtained text file with an image:

./PlotCameraImageFromFile.py cspad2x2-r0092-2012-07-20-154000.855680176.txt -20 120

Playing with doPedestals and doCommonMode parameters, we could get different images:.
Raw data without any correction:

...