SAXS/WAXS Integration

Aus Dpdak
Wechseln zu: Navigation, Suche

This plug-in integrates 2D detector images in azimuthal (Figure 1) or radial (Figure 2) direction using pyFAI.

Figure 1 Left: Radial plot. Right: Scheme of the binning (red dashed line) in azimuthal direction.
Figure 2 Left: Azimuthal plot. Right: Scheme of the binning (red dashed line) in radial direction.
Figure 3 : Screenshot of the "SAXS/WAXS Integration" plugin.


Parameters

  • Profile: Radial for a radial plot (Figure 1) or Azimuthal for a azimuthal plot (Figure 2).
  • Pixel Size X: The horizontal dimension of pixels.
  • Pixel Size Y: The vertical dimension of pixels.
  • Beam Center X: The horizontal pixel coordinates of direct beam center.
  • Beam Center Y: The vertical pixel coordinates of direct beam center.
  • Rotation: The rotation angle of a plane in which the angle of tilt is defined.
  • Tilt: The angle of detector tilt within the tilt plane in degrees.
  • Detector Distance: The distance from sample to detector.
  • Wavelength: The X-ray wavelength.
  • Start Azimuth: The azimuth angle for start of region to be integrated (range: 0 to 360).
  • End Azimuth: The azimuth angle for end of region to be integrated (range: 0 to 360). Note: it is allowed that the “Start Azimuth” bigger than "End Azimuth”, e.g. “Start Azimuth” = 60 and “End Azimuth” = 59.
  • Inner Radius: The radius for inner radial limit of region to be integrated.
  • Outer Radius: The radius for outer radial limit of region to be integrated.
  • Bins: Defines the number of output bins around the azimuth or around the radial direction (depends on profile).
  • Geometry Correction: If set to 'ON' will corrects a flat 'scan' to the equivalent of a 2-theta or a Q-space scan. These are effect of distance and obliqueness at higher angle for the flat image plane compared to a detector on a 2-theta arm, always facing the sample.
  • Output Unit: Select type of output 1-D scan for radial profile: "q-_nm^-1", "q-_A^-1" "2-th_deg", "2-th_rad", "r_mm". Note: This option has only effect if the profile is selected as “Radial”.
  • Polarisation Correction: If set to ‘ON’, it will read the ‘Polarisation Factor’ and apply a polarization effect intensity correction.
  • Polarisation Factor: Put a value to do the polarisation correction (range: -1 to 1, default value: 0.99). Note: If the polarisation factor is 0, that doesn’t mean no polarisation correction, it will do circular polarization, the correction correspond to (1+(cos2θ)^2)/2.
  • Empty Beam (optional): If an image is loaded, it will be integrated the same way like the input image and the profile is returned as output I_eb. That allows to subtract an empty beam profile after correcting the sample profile for transmission.
  • Dark Current (optional): If a dark current detector image is loaded, the input image and the Empty Beam will be subtracted by this image.


Inputs

  • image: The path to the detector image.


Outputs

  • x: q values if Profile is set to Radial, chi values if Profile is set to Azimuthal.
  • I: The integrated intensity data.
  • I_eb: The integrated empty beam if an empty beam image was specified in the parameters. Otherwise an array of zeros.