Contents
To discuss sample corrections, specifically the absorption and multiple scattering, we must first define terms pertinent to the calculations of these corrections.
First, we define the total cross section per atom, which for the majority of elements, is equal to the sum of the element’s scattering and absorption cross sections:
(1)
where is the neutron wavelength, , and is the differential cross-section which is the cross-section () per solid angle ().
Typically, the scattering cross section is directly found from tabulated single atom values [1] and with good approximation, assumed independent of wavelength. If we observe the equation above for , we have that it is equal to the integration of the differential cross section. Yet, for the typical diffraction experiment, the differential cross-section is exactly the quantity we wish to measure. Thus, to proceed one could chose from the following:
For the energies used to measure structure of materials, is to reasonable approximation independent of . However, exceptions include nuclear resonances, strong Bragg scattering as in beryllium, and significant inelastic effects. [2]
For the absorption cross section, again typically the cross section is used from the same tabulated single atom values [1] but is only valid for the reference wavelength, 1.7982 , at which it was measured at. Thus, we can look up the value of . Yet, the absorption cross section is a linear function of wavelength (away from nuclear resonances). Thus, we can calculate the absorption cross section at other wavelengths from:
(2)
NOTE: In Mantid, the reference wavelength is defined as a variable ReferenceLambda in NeutronAtom.cpp [3]. This variable should be used for consistency in all sample correction algorithms that calculate from this reference wavelength.
The attenuation length is defined as:
(3)
where is the atomic number density of the sample. Note that is not the crystallographic or microscopic density of a unit cell but the macroscopic density of the bulk sample. If one were to measure a powder sample, the powder would not pack perfectly and thus there would be a given packing fraction, . Then, if the microscopic density is given as , it is related to via:
(4)
The definition of is used throughout the rest of this documentation.
Methods for calculating the absorption corrections (and also the multiple scattering) generally fall into these categories:
The analytical method generally provides a quicker solution, but at the expense of having to make assumptions about sample geometries and scattering processes that make them less flexible than the Monte Carlo techniques (integration and ray-tracing). However, in many cases analytical solutions are satisfactory and allow much more efficient analysis of results.
Determination of the structure and/or dynamics of samples depends on the analysis of single scattering data. Overall, the absorption correction is a factor, , such that 0 < < 1 . It is a factor that accounts for the loss of intensity from single scattering in the sample (or other component in the instrument). due to both scattering and capture events in the sample. The factor is divided by the measured intensity. Thus, the absorption correction has an overall multiplicative enhancement of the measured intensity.
The figure shows how a general single scattering process might occur. The neutron travels a certain distance through the sample before a single scattering event occurs in the volume element of the sample. Then, the neutron travels a final length before leaving the sample and being picked up by a detector.
To formulate the absorption sample correction, first, we assume we have a homogeneous sample of a given shape that is fully illuminated by the incident beam. Then, the number of neutrons per unit solid angle scattered once by a volume element of the sample and seen by a detector is given by:
(5)
where is the incident flux, is the atomic number density, is the differential cross-section, and are the path lengths for incident neutrons to and from to the detector, respectively, and and are the incident and scattered wavelength, respectively.
Yet, this is only the contribution from a single volume element, or voxel, of the sample volume that contributes to a detector. Thus, if we integrate over the entire sample volume (all the voxels), we arrive at the total intensity of neutrons scattered once through an angle and then leaving the sample without further scattering, given as:
(6)
In the last part of the equation for , we have introduced the term , given as:
(7)
This is the basic absorption correction for a single sample volume (i.e. no container included, no partial correction factors, no partial illumination, etc.). NOTE: In some references, this term is instead defined as the inverse . Some references use the notation here: [2] [4] [5] [7] [8] and [10], while others use the inverse notation: [6].
For elastic scattering, = = and we can simplify to:
(8)
When the scattering of a sample (liquid, powder, gas, etc.) is measured, the sample is often held in a thick sample container. This container contributes significantly to the measured neutron beam. Often the empty container is measured and the signal from the container () subtracted from the signal of sample plus container ().
The Paalman-Pings formalism (PPF) [4] provides a framework for correcting for individual component absorption contributions, or the partial absorption correction factors, when a sample is measured in a container and, possibly, one or more sample environments. PPF builds on the earlier work of Ritter [5], who described a graphical approach of accounting for partial absorption correction factors. The PPF goes beyond the work of Ritter in two important ways
In their analysis, Paalman and Pings show that the latter point is not generally of consequence since this region only exists for a few angstroms in most materials, but the ability to account for it is re-assuring. The sample/container interaction could be of significant importance in cases where the container and sample are single crystal or poly-crystalline.
Generally, the container measurement (neglecting multiple scattering and inelastic effects) is written:
(9)
The full PPF for the sample and container measurement (neglecting multiple scattering and inelastic effects) is written:
(10)
As discussed above, the final term in this expression is generally neglected.
The analytically approach has been further extended in a number of ways:
(11)
where is the effective volume of the cylinder in the beam.
Indicates the energy modes that the algorithm can accommodate:
Legend for Energy Mode | |
---|---|
E | Elastic |
D | Direct |
I | Indirect |
Indicates the technique used for calculating the absorption correction:
Legend for Technique | |
---|---|
NI | Numerical Integration |
MC | Monte Carlo Integration |
Options that describe what functions the algorithm is capable of and the output types:
Legend for Functions | |
---|---|
L | Loads correction from file |
MS | Multiple scattering correction calculated |
FI | Full illumination of sample by beam |
PI | Full or partial illumination of sample by beam |
W | Outputs a corrected sample workspace |
A | Absorption correction calculated |
A+ | Calculates both sample and container absorption corrections (, ) |
A++ | Calculates full set of partial absorption corrections (, , , ) |
Algorithm | Energy Mode | Technique | Geometry | Input Units | Functions | Notes |
---|---|---|---|---|---|---|
AbsorptionCorrection | E,D,I | NI | Any Shape | Wavelength | A,PI | Approximates sample shape using cuboid mesh of given element size
Base class: AbsorptionCorrection
|
AnnularRingAbsorption | E,D,I | MC | Annular / Hollow Cylinder | Wavelength | A,PI | |
AnvredCorrection | E | NI | Sphere | Wavelength or TOF | A,FI,W | Absorption for spheres with additional corrections in ANVRED program from ISAW:
- weight factors for pixels of instrument
- correct for the slant path through the scintillator glass and scale factors
|
ApplyPaalmanPingsCorrection | E,D,I | NI | Cylinder or Flat Plate / Slab | Wavelength | W | Simply applies the correction workspaces from other Paalman-Pings-style algorithms
Can also apply shift and scale factors to container workspaces
|
CalculateCarpenterSampleCorrection | E | NI | Cylinder | Wavelength | A,MS,FI | Only applicable to Vanadium
In-plane only
|
CalculateMonteCarloAbsorption | E,D,I | MC | Cylinder or
Flat Plate / Slab or
Annular / Hollow Cylinder
|
Wavelength | A+,PI | Uses multiple calls to SimpleShapeMonteCarloAbsorption to calculate
sample and container correction workspaces
|
CarpenterSampleCorrection | E | NI | Cylinder | Wavelength | A,MS,FI,W | Only applicable to Vanadium
In-plane only
|
CuboidGaugeVolumeAbsorption | E,D,I | NI | Cuboid section in Any Shape sample | Wavelength | A,PI | Base class: AbsorptionCorrection via wrapping via wrapping FlatPlateAbsorption |
CylinderAbsorption | E,D,I | NI | Cylinder | Wavelength | A,FI | Base class: AbsorptionCorrection |
CylinderPaalmanPingsCorrection | E,D,I | NI | Cylinder | Wavelength | A++,FI | |
FlatPlateAbsorption | E,D,I | NI | Flat Plate / Slab | Wavelength | A,FI | Base class: AbsorptionCorrection |
FlatPlatePaalmanPingsCorrection | E,D,I | NI | Flat Plate / Slab | Wavelength | A++,FI | |
HRPDSlabCanAbsorption | E | NI | HRPD aluminium flat plate only
with HRPD vanadium windows
with HRPD vanadium windows
|
Wavelength | A+*,FI | Only for HRPD via hard-coded dimensions.
Uses FlatPlateAbsorption for sample.
Uses slightly different analytical formula for aluminium holder and vanadium windows
for the HRPD instrument.
*Outputs a single correction workspace with both sample and container corrections
|
IndirectAnnulusAbsorption | I | MC | Annular / Hollow Cylinder for
both sample and container
|
Wavelength | A+,W | Workflow algorithm specific to Indirect geometry spectrometers.
Uses MonteCarloAbsorption for sample and container.
Will apply calculated absorption corrections and subtract container from sample.
|
IndirectCylinderAbsorption | I | MC | Cylinder for sample and
Annular / Hollow Cylinder
for container
|
Wavelength | A+,W | Workflow algorithm specific to Indirect geometry spectrometers.
Uses MonteCarloAbsorption for sample and container.
Will apply calculated absorption corrections and subtract container from sample.
|
IndirectFlatPlateAbsorption | I | MC | Flat Plate / Slab for both
sample and container
|
Wavelength | A+,W | Workflow algorithm specific to Indirect geometry spectrometers.
Uses MonteCarloAbsorption for sample and container.
Will apply calculated absorption corrections and subtract container from sample.
|
MayersSampleCorrection | E | NI | Cylinder | TOF | A,MS,FI,W | |
MonteCarloAbsorption | E,D,I | MC | Any Shape | Wavelength | A+*,PI | “Workhorse” of the MC-based algorithms
*Outputs a single correction workspace with both sample and container corrections
|
PearlMCAbsorption | E | MC | Any Shape | N/A | L | Simply reads in pre-computed values for PEARL instrument from an
external Monte Carlo program. Uses LoadAscii
|
SimpleShapeMonteCarloAbsorption | E,D,I | MC | Cylinder or
Flat Plate / Slab or
Annular / Hollow Cylinder
|
Wavelength | A,PI | Wrapper for MonteCarloAbsorption for 3 shape types
|
SphericalAbsorption | E | NI | Sphere | Wavelength | A,FI,W | Wrapper around AvredCorrection |
Determination of the structure and/or dynamics of samples depends on the analysis of single scattering data. Small but unwanted higher-order scattering is always present although in many typical experiments multiple scattering effects are negligible. However, in some cases the data may contain a significant contribution from multiple scattering. In neutron scattering, the absorption cross-section is often much smaller than the scattering cross-section. For this reason it is necessary to account for multiple scattering events. Using the PPF notation from previously, the measured beam from (neglecting multiple scattering and inelastic effects) is given as:
(12)
Thus, the multiple scattering is a parasitic signal that needs to be subtracted from the experimentally measured intensity. To get an idea of when and why multiple scattering corrections are needed, let us define as the likelihood of a neutron being scattered times. Then it is possible to show [6] that:
(13)
Where practical, the shape and thickness of a sample are carefully chosen to minimize as much unwanted multiple. This may be achieved by using a sample that is either [7]
Increasing the absorption cross section is not always attainable - due to the type of material in question - or desirable, due to the accompanying intensity losses becoming overly prohibitive.
The figure shows how a general double scattering process might occur. The neutron travels a certain distance through the sample before the first scattering event in the volume element . The second scattering occurs in another volume element after a distance has been traversed following which the neutron travels a final length before leaving the sample and being picked up by a detector.
We define the multiple scattering intensity, , in terms of the total scattering intensity, , from number of orders of scattering intensity, , as:
(14)
Then, we see that to compute the multiple scattering, we must compute scattering intensity terms to subtract from the total, .
Let us first just consider the secondary scattering term, . We again assume we have a homogeneous sample of a given shape that is fully illuminated by the incident beam. Then, extending from Eq. (5), we have that the number of neutrons per unit solid angle scattered once by a volume element and then a second time by a volume element of the sample and seen by a detector is given by:
(15)
where is the angle between the incident path and scatter path from , is the angle between scatter path from and scatter path from dV_2, is the angle between the incident path and scatter path from to the detector, is the scattered wavelength from volume element , and the term is due to the inverse square law (that as the distance increases between and , the solid angle subtended by at decreases as the inverse square of ).
And the total secondary scattering intensity seen by a detector is:
(16)
We can generalize this for order of scatter terms as:
(17)
and
(18)
Which then the multiple scattering up to the order scattering term is given as:
(19)
Thus, some of the difficulties in correcting multiple scattering arises from:
To address (2) above, we can assume elastic scattering and then Eq. (19) becomes:
(20)
To address (3) above, we can assume isotropic scattering and then Eq. (19) becomes:
(21)
To address (4), a typical assumption in the analytical method [6] [9] approaches is to assume that the ratio is a constant, , thus:
(23)
Then, with the assumption that , Eq. (19) can be manipulated into a geometric series:
(24)
Similarly:
(25)
Subtracting Eq. (25) from Eq. (24), we have:
(26)
Which, solving for and based on the assumption , implying , we arrive at:
(27)
NOTE: Sears arrived at a separate equation for based on flat plate samples but supposedly general enough for any shape sample: . However, comparisons of both equations for cylinders show that Eq. (27) is more accurate solution. [10]
From Eq. (27), we are left with calculating :
(28)
Using the isotropic approximation, we arrive at:
(29)
where is the secondary scattering absorption factor and is the single scattering absorption factor, equivalent to in Eq. (7). The absorption factors can be further simplified by using the elastic scattering assumption from Eq. (8).
We can now begin to solve for by taking Eq. (27) and substituting this into Eq. (14):
(30)
Solving this for , we see that:
(31)
Thus, comparing Eq. (31) and Eq. (29) with Eq. (14), we see that:
(32)
The analytical approach has been further extended in a number of ways:
Monte Carlo approaches are a “brute force” technique that does require more computational time than the analytical approaches yet does not suffer many of the drawbacks to the analytical approach. Such drawbacks included assumptions of isotropic scattering required to formulate the solvable equations, not being able to include the intermediate energy transfers for scattering, and easier flexibility to handle complicated shapes for sample, container, and/or sample environments.
In the Monte Carlo ray tracing technique, a virtual experiment is performed such that individual neutrons are put on a trajectory through a model of the instrument with scattering kernels defined for samples, containers, and other components of the instrument. Neutron histories are recorded so there is a clear distinction between single and multiple scattered neutrons and the multiple scattering correction is easily obtained from the result.
In some areas, such as small angle scattering, there may be useful approximations that can be applied that are not present for the more general wide angle scattering case. Again matters may become complicated, as for example small angle scatter followed by incoherent scatter from hydrogen can be more significant in blurring sharp features than double small angle scatter. For early considerations of multiple small angle scattering see for example [13] [14].
Indicates the energy modes that the algorithm can accommodate:
Legend for Energy Mode | |
---|---|
E | Elastic |
D | Direct |
I | Indirect |
Indicates the technique used for calculating the absorption correction:
Legend for Technique | |
---|---|
NI | Numerical Integration |
MC | Monte Carlo Integration |
Options that describe what functions the algorithm is capable of, assumptions, and the output types:
Functions | |
---|---|
L | Loads correction from file |
FI | Full illumination of sample by beam |
PI | Full or partial illumination of sample by beam |
W | Outputs a corrected sample workspace |
IA | Isotropic assumption is used for all orders of scattering |
EA | Elastic scattering assumption is used |
Algorithm | Energy Mode | Technique | Geometry | Input Units | Functions | Notes |
---|---|---|---|---|---|---|
CalculateCarpenterSampleCorrection | E | NI | Cylinder | Wavelength | IA,EA,FI | Only applicable to Vanadium
In-plane only
|
CarpenterSampleCorrection | E | NI | Cylinder | Wavelength | IA,EA,FI,W | Only applicable to Vanadium
In-plane only
|
LoadMcStas | E,D,I | MC | Any Shape | L | Loads McStas [15] v2.1 histogram or event data files.
Can extract multiple scattering and subtract from scattering in Mantid
|
|
LoadMcStasNexus | E,D,I | MC | Any Shape | L | Loads McStas [15] v2.0 histogram data files.
Can extract multiple scattering and subtract from scattering in Mantid
|
|
MayersSampleCorrection | E | NI+MC | Cylinder | TOF | IA,EA,FI,W | Uses Monte Carlo integration to evaluate the analytical integral. |
MuscatData | I | MC | Cylinder or Flat Plate / Slab | FI | ||
MuscatFunc | I | MC | Cylinder or Flat Plate / Slab | FI | ||
VesuvioCalculateMS | I | MC | Flat Plate / Slab | TOF | FI | Monte Carlo ray tracing algorithm for deep inelastic neutron scattering.
Calculates both total and multiple scattering output workspaces. Specific to
Vesuvio but possibly general.
|
[1] | (1, 2, 3) NIST Center for Neutron Research tabulated neutron scattering lengths and cross sections. - https://www.ncnr.nist.gov/resources/n-lengths/list.html |
[2] | (1, 2) A.K. Soper (2012). GudrunN and GudrunX manual. - https://www.isis.stfc.ac.uk/OtherFiles/Disordered%20Materials/Gudrun-Manual-2017-10.pdf |
[3] | Mantid source code for NeutronAtom.cpp to define ReferenceLambda variable. |
[4] | (1, 2)
|
[5] | (1, 2)
|
[6] | (1, 2, 3, 4)
|
[7] | (1, 2) V.F. Sears (1975): Slow-neutron multiple scattering, Advances in Physics, 24:1, 1-45 |
[8] | (1, 2) A.K.Soper, W.S.Howells and A.C.Hannon ATLAS - Analysis of Time-of-Flight Diffraction Data from Liquid and Amorphous Samples Rutherford Appleton Laboratory Report (1989): RAL-89-046 |
[9] |
|
[10] | (1, 2, 3, 4, 5)
|
[11] |
|
[12] |
|
[13] | J.Schelten & W.Schmatz, J.Appl.Cryst. 13(1980)385-390 |
[14] | J.R.D.Copley J.Appl.Cryst 21(1988)639-644 |
[15] | (1, 2) McStas: A neutron ray-trace simulation package website |
[16] | (1, 2)
|
[17] | (1, 2) FORTRAN source code for MUSCAT as 3rd party software in Mantid. |
Category: Concepts