cctbx / cctbx_project

Computational Crystallography Toolbox
https://cci.lbl.gov/docs/cctbx
Other
208 stars 111 forks source link

adds support for reorienting diffuse model #915

Closed dermen closed 9 months ago

dermen commented 11 months ago

The diffBragg kernel is modified to accept an orientation matrix that will rotate the principal axes of the diffuse model. The default orientation is (a-b,a+b,c) which is the same as what was previously hard-coded into the kernel. The tst_diffbragg_diffuse_properties.py script shows how to set the orientation matrix to select either (a,b,c) or (a-b,a+b,c).