oasys-kit / XOPPY

XOPPY widgets for OASYS
BSD 2-Clause "Simplified" License
4 stars 7 forks source link

Error with XOPPY Crystal #114

Open maltissimo opened 7 months ago

maltissimo commented 7 months ago

Hello,

I was looking at diffraction in Laue geometry, and found that, if I choose the "Default Cut", I get the error in the image:

Screenshot 2024-02-12 at 16 27 41

I find it to be the same for ML or PP models. I may be setting something that is not correct here, but to me it doesn't look like.

As usual, thank you for your work.

Matteo

srio commented 6 months ago

Hello Matteo,

Yes, there are some problems with the calculation of the anisotropy.

Unless it is very important for you, I recommend for a first calculation to use the isotropic mode. (Set anisotropy to isotropic).

Also, the Geometry must be set to LAUE diffracted beam (which in fact goes through the crystal). The PP is not implemented for transmitted beams.

Please keep this issue open until I come back to the problem of the anisotropy.

Cheers, M