Page tree

This plug-in subtracts the 2D detector background or dark current image, if there is background or current image, and integrates 2D detector images in azimuthal (Figure 1) or radial (Figure 2) direction using pyFAI histogram module.


 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 plugin ImageIntegrationSubBG.

  Figure 4: Screenshot of the example Direct Transmission File.


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.
  • Scan Type: Select type of output 1-D scan for radial profile: "Q-SPACE_nm^-1", "2-THETA_deg", "2-THETA_rad", "RADIAL_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.
  • ErrorModel(optional): Error estimation method.
  • BackgroundImageFileName (optional): The path to background detector image.
  • DarkCurrentImageFileName (optional): The path to dark current detector image.
  • DirectTransmissionFileName(optional): The path to direct transmission file (one column ASCII file, Figure 4).
  • SpecFileNameForTransmission(optional): The path to SPEC data file which has the transmission scan data. Note: If the DirectTransmissionFileName parameter is not empty, the parameter SpecFileNameForTransmission and the following parameter for calculation of transmission will be ignored.
  • SpecScanNumberForTransmission(optional): The scan number for the transmission scan in the SPEC data file.
  • EmptyBeamScanNumberForTransmission(optional): The scan number for the empty beam (without sample) scan in the SPEC data file.
  • SpecCounterNameForTransmission(optional): The counter name which is used for the transmission measurement.
  • FirstImageFileNumberInTheScan(optional): The first detector image file number of the measurement scan.

Inputs

  • image: The path to the detector image.


Outputs

  • q[chi]: q values if Profile is set to Radial, chi values if Profile is set to Azimuthal.
  • I: The integrated intensity data.
  • error: error estimation of the image integration.


  • No labels