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).
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).