scipp / essspectroscopy

Spectroscopy data reduction for the European Spallation Source
https://scipp.github.io/essspectroscopy
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

[Requirement] Write SQW files #23

Open jl-wynen opened 1 week ago

jl-wynen commented 1 week ago

Executive summary

We need to write reduced histogram data to SQW files for further processing in HORACE.

Context and background knowledge

See the JIRA ticket: https://jira.esss.lu.se/browse/DMSCSPEC-51?jql=labels+%3D+Reduction

Note that there is no specification of the SQW file format. @henrikjacobsenfys is trying to get one from people at ISIS.

Inputs

Histogrammed intensity as a function of Q and omega.

Methodology

Write a file using whatever tools make sense.

Outputs

An SQW file.

Which interfaces are required?

Integrated into reduction workflow, Python module / function

Test cases

Load files with HORACE. Needs setting up MATLAB in CI.

We can also compare with existing files.

Comments

No response

henrikjacobsenfys commented 1 week ago

We can test with the Python version of pace_neutrons, which doesn't require MATLAB. It does require MATLAB Runtime something, but it should be easier to install than MATLAB.