Versions Compared

Key

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

...

Color table selection widget allows to change the color table for image. Two Hue angles set the limits for color table. These parameters can be controlled by the mouse or edit in two fields. Apply button sends a signal to update color table on image and spectrum.

Get and run latest version

Code of this tool resides in the package PSQt. If it is not in the release directory, then do these commands:

Code Block
ssh psana
kinit
cd <one-of-your-directories>
newrel ana-current test_release_directory
cd test_release_directory
sit_setup
addpkg PSQt HEAD
addpkg <other-package-name> HEAD
scons

Run latest version

Hint on input parameters can bee seen by command:

...

and non-optional argument <test-number> is used for debugging purpose.

The ndarray image file must be an unassembled image file (i.e. 3D array with no geometry applied).  Sample psana code to save this ndarray image file:

Code Block
calib = det.calib(evt)
det.save_txtnda(fname='unassembled.txt',ndarr=calib,fmt="%.5f")

 

Application can be launched without parameters by the command

...