[mcstas-users] MCSTAS_FORMAT=gnuplot leads to wrong 1D detector output
André Kusmin
a.kusmin at tudelft.nl
Wed Feb 11 15:41:28 CET 2015
Hi everyone,
I had a problem of an incorrect output for a 1D detector in case when
environmental variable
MCSTAS_FORMAT was set to gnuplot. (only one column was written in the
output file instead of four)
2D output (such as e.g. PSDMonitor.dat) was correct.
Short summary to test reproducibility
export variable MCSTAS_FORMAT = gnuplot
Load TestSANS.instr (from "examples"), compile it, and run with default
parameters.
When running via mcgui, you can set output PGPLOT or gnuplot, it doesn
not matter - your output
files QDetector.dat and RDetector.dat will have only 100 values instead
of 400.
If you set MCSTAS_FORMAT="" then (after restarting mcgui)
you will get correct output.
I tried other components such as L_monitor, the same behaviour.
I hope this will help someone and the bug can be fixed,
best regards
Andre
More information about the mcstas-users
mailing list