Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Requirement] Simple powder diffraction data reduction workflow #25

Open
jl-wynen opened this issue Feb 14, 2024 · 0 comments
Open

[Requirement] Simple powder diffraction data reduction workflow #25

jl-wynen opened this issue Feb 14, 2024 · 0 comments

Comments

@jl-wynen
Copy link
Member

jl-wynen commented Feb 14, 2024

Executive summary

Implement a powder diffraction data reduction workflow for DREAM using McStas/GEANT4 simulation of a powder sample in a container.

Context and background knowledge

This development is a first step for powder data reduction workflow specific to DREAM.

References

See SNSPowderReduction

Environment

Assumptions

The input files are from McStas/GEANT4 simulations of different samples:

  • Two runs of a powder Diamond sample in a container. Note that 2 runs are used in order to implement the summation of runs during reduction
  • A run with the container only
  • A vanadium run (for normalisation)

These simulations were run in a High Flux configuration of the instrument.

Use-cases

The diagram below shows the reduction workflow with all samples

workflow

Legend:

  • Oval with dashed contour: algorithms to be implemented in Scipp & co
  • Grey background: reduction steps common to all types of samples
  • Non-grey colored background: steps specific to the sample whose cell is of the same color

Preconditions

Algorithms to be implemented in Scipp

Inputs

csv files for Sample in container (2 files), container alone and Vanadium.

The csv files are stored at link. There are 2 Vanadium runs that could be used for normalization:

  • data_dream_vanadium_inc_coh.csv.zip contains coherent and incoherent scattering. The algorithm StripVanadiumPeaks needs to be applied to extract the background
  • data_dream_vanadium.csv.zip contains only the incoherent scattering. No filtering of Bragg peaks is necessary.

Note that the NeXus files are not available yet.

Methodology

Sciline

Outputs

Reduced dataset and xye file to be loaded in analysis software

Which interfaces are required?

Jupyter notebook

Test cases

Meaningful xye file of reduced data (sample in container, vanadium and container)

Comments

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants