kklmn / xrt

Package xrt (XRayTracer) is a python software library for ray tracing and wave propagation in x-ray regime. It is primarily meant for modeling synchrotron sources, beamlines and beamline elements.
MIT License
84 stars 30 forks source link

Help on the X-ray Diffraction of polycrystal #195

Open songpeixuan22 opened 2 months ago

songpeixuan22 commented 2 months ago

Hello, I wonder if there is a method of self-defining the percentage of the grain in the crystal, and simulating the forward model of XRD?

kklmn commented 2 months ago

Hi, Please define "the grain in the crystal" and "the forward model of XRD".

songpeixuan22 commented 2 months ago

Sorry for the vague expression. My problem is that I don't know how to define the density distribution of single crystal face(around fiber texture axis) in spherical coordinates, and to simulate the XRD plot on the screen when the crystal is exposed to a direct beam of X-ray.