-
Notifications
You must be signed in to change notification settings - Fork 2
Description
Executive summary
Removes Vanadium peaks out of a background by linearly/quadratically interpolating over the expected peak positions.
Context and background knowledge
This algorithm attempts to find all Vanadium peaks and subtract them from the data, leaving just the ‘background’.
The data will then be used to normalize "sample" data collected with the same instrumental configuration.
References
Environment
Assumptions
- this method will be used for the reduction of powder diffraction data
- the input data should correspond to measurements or simulations with a Vanadium sample (information contained in the log of the NeXus file)
- this first implementation considers 1D data
- there should be a choice for the background shape between linear and quadratic
- the input data should be expressed in d-spacing
- for the implementation of algorithms for finding and stripping peaks, check NMX reduction workflow.
Preconditions
- algorithms to find and strip peaks
- input data in d-spacing
Inputs
-
Scipp data array of Vanadium
-
List of diffraction peaks for Vanadium (d-spacing positions in Å).
Methodology
The theoretical positions of the peaks are
See Mantid's implementation
Outputs
Scipp data array of Vanadium containing only background information
Which interfaces are required?
Python module / function
Test cases
-
csv file data_dream_vanadium_inc_coh.csv.zip in this folder (source_position=[-3.478 mm, 0, -76550 mm], sample_position=[0, 0, 0]) or PG3_733.nxs from the Usage Data of Mantid
-
list of Vanadium peaks (see Input section above)
Comments
No response
Metadata
Metadata
Assignees
Type
Projects
Status