Open minghuisvn opened 3 days ago
Dear @minghuisvn,
First a little general advice:
examples
folder for inspiration wrt. parametrisation, there is for instance an SX_instrument.instr
Now, let us try to understand what could be happening in your simulation.
In the attached, many of the above points have been added to your instrument, which seems to help. :)
I also attach screenshots of the default output on linear / log scale - there is scattering...
Best, Peter P.s.: Be aware that I am starting vacation this Friday, so I may not respond to further questions/enquiries for a while :-) But perhaps you will be in luck that @farhi has time to look.
Dear @willend,
Thank you for your advice! I am sorry about my hasty question without careful consideration. Thanks for you advice! I understand that the results that may be confusing at first glance could be understood through the careful analysis on a basis of physical knowledge (May be i should spend more time on that).I will dig into examples and annual school materials again. Thanks for your patient explanation and instructions!
Best regards, Sun
Dear @minghuisvn,
You are very welcome and good luck practicing McXtrace. :-)
Best, Peter
A bug occurred when simulating the diffraction of a single crystal Si in McXtrace3.2. The code is as follows:
The simulation result is: Nothing could be found in the figure of the psd monitor, that is the monitor did not received scattered x-ray photons. However, when i trace that process, and found the x-ray particles actually hit the psd monitor as shown below: The results are contradictory.