HEXRD / hexrd

A cross-platform, open-source library for the analysis of X-ray diffraction data.
Other
56 stars 25 forks source link

Gvec xy test #705

Open donald-e-boyce opened 1 month ago

donald-e-boyce commented 1 month ago

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.

pep8speaks commented 1 month ago

Hello @donald-e-boyce! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

Line 63:11: E251 unexpected spaces around keyword / parameter equals Line 63:13: E251 unexpected spaces around keyword / parameter equals

Comment last updated at 2024-09-04 16:16:26 UTC