McStasMcXtrace / McCode

The home of the McStas (neutrons) and McXtrace (x-rays) Monte-Carlo ray-tracing instrument simulation codes.
https://github.com/McStasMcXtrace/McCode/wiki
GNU General Public License v3.0
76 stars 54 forks source link

Enhancement of Monitor_nD list-mode and its graphics-outputs #1150

Open willend opened 3 years ago

willend commented 3 years ago

(includes inputs from @mads-bertelsen and @ebknudsen)

Monitor_nD bastardises the normal mccode 2D "datatype" when creating its list-mode output, which typically produces an unreadable figure. This issue discusses ideas to improve / avoid plotting of this type of data plus other eventmode enhancements.

willend commented 3 years ago

It turns out the "plotting limit" is controlled via the setting of MONND_BUFSIZ - it is simply the first access to the file (which also writes the header) that defines the # type: array_2d(...) line.

My impression is that it could be plotter-dependent if this information is used or not.

farhi commented 1 year ago

Related to #292