\(\renewcommand\AA{\unicode{x212B}}\)

TotScatCalculateSelfScattering v1

../_images/TotScatCalculateSelfScattering-v1_dlg.png

TotScatCalculateSelfScattering dialog.

Summary

Calculates the self scattering correction factor for total scattering data.

Properties

Name

Direction

Type

Default

Description

InputWorkspace

Input

Workspace

Mandatory

Raw workspace.

OutputWorkspace

Output

Workspace

Mandatory

Focused corrected workspace.

CalFileName

Input

string

Mandatory

File path for the instrument calibration file.

SampleGeometry

Input

Dictionary

null

Geometry of the sample material.

SampleMaterial

Input

Dictionary

null

Chemical formula for the sample material.

PlaczekOrder

Input

number

1

Placzek correction order to be used.

SampleTemp

Input

string

Sample Temperature in Kelvin. Required for 2nd order Placzek correction if not using Sample Logs.

Description

This is a workflow algorithm that calculates the placzek self scattering factor focused into detector banks. This is done by executing several sub-algorithms as listed below.

  1. SetSample v1 Sets sample data for the run that is to be corrected to the raw workspace.

  2. ExtractSpectra v1 Extracts the monitor spectrum closest to the sample (incident spectrum).

  3. ConvertUnits v1 Converts incident spectrum to wavelength.

  4. FitIncidentSpectrum v1 Fit a curve to the incident spectrum.

  5. CalculatePlaczek v1 Calculate the Placzek self scattering factor for each pixel.

  6. ConvertUnits v1 Convert the Placzek correction into MomentumTransfer

  7. Rebin v1 Rebin correction before GroupDetectors.

  8. LoadCalFile v1 Loads the detector calibration.

  9. GroupDetectors v2 Group the Placzek self scattering factor into detector banks.

  10. CreateWorkspace v1 Create a workspace containing the number of pixels in each detector bank.

  11. Divide v1 Normalize the Placzek correction by pixel number in bank

Workflow

../_images/TotScatCalculateSelfScattering-v1_wkflw.svg

Categories: AlgorithmIndex | Workflow\Diffraction

Source

Python: TotScatCalculateSelfScattering.py