Versions Compared

Key

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

In order to keep the filesizes small to avoid issue when analysis the smallData files, we try to extract the important information gleaned from areaDetectors at an event-by-event basis and only save these pieces of data.

Table of Contents

Analysis functions

The following functions are readily available for use in smalldata_tools:

...

The different common modes are described here

Interactive SmallDataAna session

Use of SmallDataAna_psana

For the use of the interactive features of SmallDataAna_psana, we recommend to start it in an ipython session as interactive grabbing of user input is currently not implemented via the notebook.

Creating an average image

In order to decide on the proper ROI, fit a team center or make a mask, the first step is always to create an image that you would like to use as base. This is achieved using the following function in the python terminal opened from:

/reg/d/psdm/<hutch>/<expname>/results/smalldata_tools via:

./examples/runSmallDataAna -r <run#>

Code Block
languagepy
themeRDark
SDAna In: anaps.AvImage()


This will by default create an average image of 100 events of an area detector. 
The full command with all its options can be looked via using the "?" feature of python:

SDAna In: anaps.AvImage?

 
If you would like to take a quick look at your average image before proceeding, call:

Code Block
languagepy
themeRDark
SDAna In: anaps.plotAvImage()


Deprecated

Typical forms of userData

...