Versions Compared

Key

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

...

  • If a threshold is provided, shots above threshold will be displayed / stored, and shots below
    threshold will be added to sum of darks for averaging.
  • If a dark file is provided, background subtraction is done before filtering. If not, the below-threshold
    average can be used for background subtraction
  • The plot configuration depends on whether threshold and dark subtraction is used. Intensity projections
    are also added to the plot, can be turned off (in the code).
  • In Interactive mode (see pyana_plotter), you can click on the image to
    • change intensity range (color range): Left-click to set low limit, right-click to set high limit, middle-click to reset
    • change threshold value and region of interest: Click on the rectangle, enter new values when prompted in terminal window
    • switch to SlideShow mode when you are content with the display: Middle-click on the canvas and enter new display mode value.
  • You can save the average image(s) or the selected single-shot images to file (numpy binary file)

To run this module by itself with pyana:

...

CsPad image where the region of interest (a red rectangle in the left figure) has intensity above a given threshold. The right image shows the region of interest.

CsPad image where region of interest (red rectangle) has intensity above a given threshold. Additionally, a dark-subtracted image is shown (bottom left), where the dark average is based on below-threshold shots from the same run (shown bottom right.

This image is similar to the same as above, but the one above. The intensity limits have been adjusted interactively.

At the end of the job, the average of good images (left) and rejected / dark images (right) is shown.

...