dkriegner / xrayutilities

xrayutilities - a package with useful scripts for X-ray diffraction physicists
http://xrayutilities.sourceforge.io
GNU General Public License v2.0
83 stars 29 forks source link

Qconversion from 2Theta Chi plots #125

Closed ravipurohit1991 closed 3 years ago

ravipurohit1991 commented 3 years ago

Hello,

I have a multi-detector configuration (hence a final output in 2theta and Chi (result of 2D integration) for images from area detector treated with PyFAI). I would like to use this information (2theta and Chi, instead of the Image pixels information) to map the reciprocal space. Is there a way to do it with XrayUtilities ?

Thank you for the help. Ravi.

dkriegner commented 3 years ago

In principle x-rayutilities is exactly the right tool for conversion from angular to reciprocal space coordinates. You just have to understand if any of the built in goniometer geometries decribes your case, or if you need to define your own QConversion.

I am afraid the information you specify is totally insufficient (and I have no experience with PyFAI) so that I can not judge this and you will have to find out yourself. I would start looking at the FourC. Be aware that just because there is an angle there I call chi this does not need to be the same as your chi. You really have to look into the geometry definition!