Data Averaging

Description

This feature allows you to perform different types of averages on your data, and allows you to see what regions of the detector will contribute to the average. The regions to be averaged are clearly shown on the data, and can be easily adjusted. This feature is available only for 2D Data.

How to Average?

Right click on 2D data for the context menu to appear. Select one type of averages among "sector [Q view]", "Annulus [Phi view]", "Box sum", "Box averaging in Qx ", "box averaging on Qy","Perform circular Average".

A slicer will appear except for "Perform circular Average" that you can drag by clicking on a slicer 's marker .When the marker is highlighted in red , it means that the slicer can change size.You can also move some of the slicer by simply drag its side when highlighted in red. the slicer size will be reset to its previous size if the user try to select a region greater than the size of the data.

The user can also select a region to average when a slicer has been selected already by right clicking on the context menu and selecting Edit Slicer Parameters. The dialog window will appears and the user can enter values to selected a region or selected numbers of points to plot nbins.

For Box sum , when the user selects this option, a new panel is created containing the result of average of the sum of every pixels contains on that data.The user can also enter values to select a region.

Sector [Q view]

It averages in constant q-arcs. The width of the sector is specified in degrees (+/- delta phi) each direction from the central angle (phi)

Annulus [Phi view]

It performs an average between two q-values centered in (0,0), and averaged over a width of a specified number of pixels. The data is returned as a function of angle (phi) in degrees.Moving one circle of this slicer to radius of zero corresponding to a circular averaging on radius qmax , the outer circle.

Box sum

Perform the sum of counts in a 2D region of interest.When editing the slicer ,the user can enter the length and the width the rectangle slicer and the coordinates of the center of this rectangle.

Box averaging in Qx

Computes average I(Qx) for a region of interest.When editing the slicer ,the user can enter the length and the width the rectangle slicer.

Box averaging in Qy

Computes average I(Qy) for a region of interest.When editing the slicer ,the user can enter the length and the width the rectangle slicer.

Perform Circular Average

It will perform and average in constant q-rings around the (x,y) pixel location of the beam center