Skip to content

[Requirement] Strip vanadium peaks #24

@jl-wynen

Description

@jl-wynen

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

https://docs.mantidproject.org/nightly/algorithms/StripVanadiumPeaks-v2.html?highlight=stripvanadiumpeaks

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 $\frac{a}{\sqrt{h^2+k^2+l^2}}$ with a≈3.03Å and h, k, l integers and h+k+l even

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

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions