McCode icon indicating copy to clipboard operation
McCode copied to clipboard

Bragg component EXTEND SCATTERED ABSORB

Open antoinepado opened this issue 2 years ago • 1 comments

On my end it seems like the behavior differs between the 1.7 and 3.0 version. The EXTEND %{ if (!SCATTERED) ABSORB; %} seems to be ignored in McXtrace 3.0. example

antoinepado avatar Mar 10 '22 16:03 antoinepado

@antoinepado thanks :)

As mentioned, my current theory is that the bug relates to something internal to the Bragg_crystal family of components, since Test_PowderN seems to behave constantly across 1.7 / 3.0 when running the scan

mxrun Test_PowderN.instr -N2 directbeam=0,1 -n1e7 --autoplot mcxtrace-3 0_scan_first_mon mcxtrace-1 7_scan_first_mon

willend avatar Mar 10 '22 17:03 willend