tschoonj / xmimsim

Monte Carlo simulation of energy-dispersive X-ray fluorescence spectrometers
Other
32 stars 11 forks source link

Geometry #66

Open analecastro opened 3 years ago

analecastro commented 3 years ago

Hi. I have been using XMI-MSIM to simulate X-ray fluorescence spectra and make a comparison with the experimental results obtained. For a better comparison between the results it is important that the geometry is similar to the geometry of the experimental results. So I have been testing some possible geometries in XMI. I made this projection for a geometry with a 60 ° entry angle. Can you tell me if you correctly consider the sample orientation vector, the detector orientation vector and the position of the detector for this situation? Thank you very much for your attention. geometria-foto Sem título

tschoonj commented 3 years ago

Hi @analecastro

This does seem incorrect. Given that the angle between source axis (z) and detector window normal vector is 120 degrees, the z component of the detector window position must be greater than 2.

What is the distance between sample and detector along the detector window normal vector?

Thanks

analecastro commented 3 years ago

The distance between the sample and the detector I consider the same value as the distance between the sample and the tube, in this case I considered the distance of 2 cm. Is there any instruction you can give me to correct this data that I am considering in this geometry?

tschoonj commented 3 years ago

So based on that I come up with:

Sample orientation vector = [0; -sqrt(3)/2 ; 1/2] Detector window position = [0 ; sqrt(3) ; 3.0] Detector window normal vector = [0 ; -sqrt(3)/2 ; -1/2]

Hope this helps!