Closed XuShuqi7 closed 1 year ago
Dear @XuShuqi7,
I have had a look - you are right, there is a bug. The issue is a set of hard-coded limits and the "slit" keyword on this monitor:
COMPONENT Mon_SuppInT = Monitor_nD(
xwidth = 0.052, yheight = 0.098,
options="t slit limits=[0.0042 0.0045]", bins=iTOF_CHA_RESOL)
AT (0,0,-0.07-0.001) RELATIVE SuppPos
These ToF limits only works with the first wavelength, and "slit" means that neutrons with other ToF are absorbed.
Please find attached a corrected instrument file that now gives reasonable output for all of the standard wavelengths:
mcrun ILL_IN6.instr lambda=4.1,4.6,5.1,5.9 -L
Dear @willend,
thank you very much for your prompt reply and the updated instrument file! I succeeded in using it for my simulations.
Shuqi
Hi all,
I tried to simulate the neutron transmission measurements performed at the time-of-flight spectrometer IN6 by using McStas 3.1 with the ILL_IN6.instr file. The simulation with the default inputs worked perfectly. Nevertheless, when I changed the neutron wavelength from 4.14 to 5.12 Angstrom, no neutron can reach the chopper as indicated in the output. I would like to know if I missed some steps when changing the neutron wavelength ? Thank you very much for your answers!
Shuqi
The simulation outputs are put bellow.
4.14 Angstrom:![Screenshot 2023-03-08 at 10 17 27](https://user-images.githubusercontent.com/93733107/223676159-2d34888a-c873-405f-8226-5f01546f9d84.png)
5.12 Angstrom:![Screenshot 2023-03-08 at 10 18 48](https://user-images.githubusercontent.com/93733107/223676172-fce7293b-fa6f-437e-9e0b-cfc1d3d735cd.png)