2D 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 region to be averaged will be drown and can be modified by dragging the lines around.

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.

Perform Circular Average

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

Masked Circular Average

This operation is same as 'Perform Circular Average' except that the masked region is excluded if masked.

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. The angle zero starts from the positive x-axis direction.

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 control the length and the width the rectangle slicer. The averaged output is calculated from the constant bins with rectangular shape. The resultant q values are nominal values, i.e., the central values of each bins on the x-axis.

Box averaging in Qy

Computes average I(Qy) for a region of interest.When editing the slicer ,the user can control the length and the width the rectangle slicer. The averaged output is calculated from the constant bins with rectangular shape. The resultant q values are nominal values, i.e., the central values of each bins on the y-axis.