hexrd
hexrd copied to clipboard
Gvec xy test
This is a work in progress. It adds several groups of tests for gvec_to_xy could easily be extended to test xy_to_gvec. The tests in include varying beam direction, theta and eta angles, translation vectors, detector orientation, sample and crystal orientations.
It also includes tests that should return nans, but these are inactivated due to Issue #704.
Hello @donald-e-boyce! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
- In the file
tests/test_transforms.py:
Line 63:11: E251 unexpected spaces around keyword / parameter equals Line 63:13: E251 unexpected spaces around keyword / parameter equals