Commit 32009f3
Crystallography Refactored (#701)
* Reformat utils
* Remove unused _convert_angles function
* Remove check for numba install
* Clean up unused variables, add typing
* Remove unused _coo_build_window function
* Add type hints to function defs
* Remove unnecessary variables / passes
* Provide deprecation warnings to the user.
* Tuple -> tuple
* List -> list, Dict -> dict
* Change deprecated to accept str instead of func
* Remove unnecessary "save" func from etaOmeMaps
* Add deprecation date
* Format with Black
* Clean up name mangling, bad returns
* Move to f-strings
* Clean up properties
* Delete some unused functions
* Remove makeNew function, which is not a useful method
* Some docstrings, committing to swtich branches
* Some docstrings written, properties now using annotations
* Typing and cleanup
* Remove unused functions/args
* Added docstrings
* Update crystallography.py
* Push before pull
* Crystallography done
* PEP8
* Union instead of |
* Copy plane data
---------
Co-authored-by: Zack Singer <[email protected]>1 parent 3bd04e8 commit 32009f3
File tree
6 files changed
+846
-888
lines changed- hexrd
- instrument
- material
- tests/planedata
6 files changed
+846
-888
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | 93 | | |
94 | 94 | | |
| |||
885 | 885 | | |
886 | 886 | | |
887 | 887 | | |
888 | | - | |
889 | | - | |
| 888 | + | |
| 889 | + | |
890 | 890 | | |
891 | 891 | | |
892 | 892 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1131 | 1131 | | |
1132 | 1132 | | |
1133 | 1133 | | |
1134 | | - | |
1135 | | - | |
1136 | | - | |
1137 | | - | |
1138 | | - | |
1139 | | - | |
1140 | | - | |
1141 | | - | |
| 1134 | + | |
1142 | 1135 | | |
1143 | 1136 | | |
1144 | 1137 | | |
| |||
0 commit comments