Quaternions
Table of quaternions was generated using methods in pyimgalgos/src/Quaternion.py
Self-test for Quaternion
self-test uses a 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
Detector
pattern_sim
command to generate simulated events:
cat quaternion_basis_x90.txt | pattern_sim -g det1500x1500.geom -p cell-fiber.cell --photon-energy=6003 -o result_x90 -n 3 -s 1 --no-noise
Results
Rotation around omega
Quaternions
Table of quaternions was generated using methods in pyimgalgos/src/Quaternion.py
Self-test for Quaternion
self-test uses a 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
Detector
pattern_sim
command to generate simulated events:
cat quaternion_basis_x90.txt | pattern_sim -g det1500x1500.geom -p cell-fiber.cell --photon-energy=6003 -o result_x90 -n 3 -s 1 --no-noise
Results
Rotation around omega
Angles around x,y,z: 90.0 0 (0,180,1):
Summary
- Thomas White did not advice to use
pattern_sim
due to potential bugs. - In stead he suggested to use
diffraction
.
Summary
- Thomas White did not advice to use
pattern_sim
due to potential bugs. - In stead he suggested to use
diffraction
.
Overview
Content Tools