Table of Contents
Name | Direction | Type | Default | Description |
---|---|---|---|---|
RunNumbers | Input | string | Sample run numbers | |
Vanadium | Input | string | Preprocessed white-beam vanadium file. Allowed extensions: [‘.nxs’] | |
EmptyCanRunNumbers | Input | string | Empty can run numbers | |
EnergyBins | Input | dbl list | 1.5 | Energy transfer binning scheme (in meV) |
MomentumTransferBins | Input | dbl list | Momentum transfer binning scheme (in inverse Angstroms) | |
NormalizeSlices | Input | boolean | False | Do we normalize each slice? |
CleanWorkspaces | Input | boolean | True | Do we clean intermediate steps? |
OutputWorkspace | Output | MatrixWorkspace | S_Q_E_sliced | Output workspace |
Reduction algorithm for powder or isotropic data taken at the SNS/ARCS beamline. Its purpose is to yield a S(Q,E) structure factor from which a dynamic pair distribution function G(r,E) can be obtained via the Dynamic PDF interface.
The ARCS instrument has two gaps at particular θ angles due to arrangement of the banks
The gaps lead to empty bins in the S(θ,E) histogram which in turn generate significant errors in the final S(Q,E) for certain values of Q. To prevent this we carry out a linear interpolation in S(θ,E) at the blind-strip θ angles.
If user desires to plot the OutputWorkspace with Mantid’s slice viewer, user should choose the “# Events Normalization” view. The last step in the reduction is performed by executing ConvertMDHistoToMatrixWorkspace, which requires NumEventsNormalization. Our input workspace has as many spectra as instrument detectors. Each detector has a 2D binning in Q and E. Each detector is at a particular θ angle, thus E and Q are related by:
E(Q)→ℏQ22m=2Ei+E−2√(Ei+E)Ei cosθ
That means that only (Q,E) bins satisfying the above condition have counts. Thus for detector i we have number of counts Ni(Qj,Ek)≠0 if the (Qj,Ek) pair satisfy the above condition. This represents a trajectory in Q−E space.
When we execute ConvertMDHistoToMatrixWorkspace with Q binning ΔQ and E binning ΔE, we go detector by detectory and we look at the fragment of the Q(E) trajectory enclosed in the cell of Q-E phase space denoted by the corners (Q,E), (Q+ΔQ,E), (Q,E+ΔE) and (Q+ΔQ,E+ΔE). Thus we have for detector i to look at the (Qj,Ek) pairs within this cell for detector i, with associated Ni(Qj,Ek) counts and associated scattering cross-section:
(dσ2dEdΩ)i,j,k (Qj,Ek)=Ni(Qj,Ek)dΩδE
The scattering cross-section in the aforementioned cell of dimensions ΔQ x ΔE is the average of all the scattering cross sections:
dσ2ΔEdΩ(Q,E)=∑i,j,k(dσ2δEdΩ)i,j,k (Qj,Ek)⋅ΠQ,Q+ΔQ (Qj)⋅ΠE,E+ΔE (Ek)/∑i,j,kΠQ,Q+ΔQ (Qj)⋅ΠE,E+ΔE (Ek)
where Πa,b (x) is the boxcar function
Categories: AlgorithmIndex | Inelastic\Reduction
Python: DPDFreduction.py (last modified: 2020-03-27)