Closed kevindlewis23 closed 3 weeks ago
Hello @kevindlewis23! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
hexrd/transforms/new_capi/xf_new_capi.py
:Line 359:69: W291 trailing whitespace
Changes incorporated, should be ready to push.
Doc strings added in xf_new_capi. Also fixed a bug in xy_to_gvec where a variable name was incorrect.
The make_binary_rmat function does not have a doc string as I could not find any documentation about it. Is it necessary to keep around, or is it unused?
Also, in some testing, I found that the unit_vector function is transposed as to what it was in the old xf api, which is what most of the functions use (it's nx3 instead of 3xn). Is this intended?