Commit c768f7f
Eigen transforms (#744)
* Pull in Zack's implementation of inverse distortion
* sqrt fix for mac install
* Use math defines
* replace constexpr with const to fix stuff
* Including cmath so use_math_defines does something
* Move up the math defines because eigen probably include cmath already.
* Starting to port over eigen transforms
* setup.py
* Fixed the function I broke
* Update gvec_to_xy
* Update import
* Update tests/transforms/test_gvec_to_xy_from_file.py
Co-authored-by: Kevin Welsh <kevinwelsh132@gmail.com>
* Update hexrd/transforms/cpp_sublibrary/src/transforms.cpp
Co-authored-by: Kevin Welsh <kevinwelsh132@gmail.com>
* Apply suggestions from code review
Co-authored-by: Kevin Welsh <kevinwelsh132@gmail.com>
* Apply clang-format
* Change the name of the function at definition
* put str here instead of pathlib Path. I think there are some versions of setuptools or perhaps windows that doesn't accept Paths
---------
Co-authored-by: Kevin Lewis <kevindlewis23@gmail.com>
Co-authored-by: Kevin Welsh <kevinwelsh132@gmail.com>
Co-authored-by: Kevin Welsh <kevin.welsh@verdantevolution.com>1 parent a1767dc commit c768f7f
File tree
7 files changed
+511
-40
lines changed- hexrd
- transforms
- cpp_sublibrary/src
- new_capi
- utils
- tests/transforms
7 files changed
+511
-40
lines changedLines changed: 25 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | | - | |
3 | | - | |
| 1 | + | |
4 | 2 | | |
5 | | - | |
6 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
14 | 16 | | |
15 | 17 | | |
16 | 18 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
22 | 33 | | |
23 | 34 | | |
24 | 35 | | |
25 | 36 | | |
26 | | - | |
27 | | - | |
28 | | - | |
| 37 | + | |
| 38 | + | |
29 | 39 | | |
30 | | - | |
| 40 | + | |
| 41 | + | |
31 | 42 | | |
0 commit comments