Quaternions
Table of quaternions was generated using methods in pyimgalgos/src/Quaternion.py
Quaternion.py
is tested by self-test using chain of conversions:
angles -> rotation matrix -> quaternion -> rotation matrix -> angles
,
where in and out angles and rotation matrix coincide.
Script cxif5315/make-quaternions.py
generates file with a list of quaternions from file with table of angles
Unit cell
pattern_sim
command to generate simulated events:
cat quaternion_basis.txt | pattern_sim -g simple.geom -p cell-fiber.cell --photon-energy=6000 -o result04 -n 4 -s 1 --background=1
Results
rotation around X by 0, 30, 60, 90, 120, 150 degree
rotation around Y by 0, 30, 60, 90, 120, 150 degree
rotation around Z by 0, 30, 60, 90, 120, 150 degree
Summary
- No sensitivity to crystal rotation around Y and Z
- any of crystal orientations do not resemble fiber sample
- Thomas White did not advice to use
pattern_sim
due to potential bugs. In stead he suggested to usediffraction
.
Overview
Content Tools