Repository navigation
[ESSNMX] Mandi - #752
[ESSNMX] Mandi#752YooSunYoung wants to merge 8 commits into
Conversation
|
Binned data look good, but the geometries are not in the binned file. From Claude:
|
|
For mandi it would be good to include the |
|
@aaronfinke thank you! Forgot the pixel offset.
Is this correct...? |
|
Looks right to me. Also loaded it in my new NMX 3D viewer (out soon!) and geometries all look correct. Excellent! |
|
I think the implementation itself is okay based on the reduced data it produces. @aaronfinke can I use these Mandi file in our CI? Also need more fixes for monitors and crystal rotation later... |
|
There are no gonio settings ported to the binned output. |
* Read/export goniometer values. * I'll fix the long name later... * Update docstring and remove unnecessary comment. * Remove empty lines.

Fixes #768
@aaronfinke I could use most of the mcstas xml helpers and essnmx-reduce code to make the mandi reduction tool.
There are still a few todos, like reducing monitor data but the detector banks could be saved in the NXLauetof file just like NMX files. Here is the command if you want to try:
essmandi-reduce \ --input-file MANDI_10383.nxs.h5 \ --verbose # --overwrite # if you want to ignore safety check of the output file name.Then it'll save the output to
scipp_mandi_output.h5, if you don't specify the output.I haven't checked if we can publish the test data yet so there are no tests or docs yet... but I have manually tested them locally.