elasticipy 2.8.8__py3-none-any.whl → 2.8.10__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1352,7 +1352,8 @@ def rotation_to_matrix(rotation, return_transpose=False):
1352
1352
  if isinstance(rotation, Rotation):
1353
1353
  matrix = rotation.as_matrix()
1354
1354
  elif is_orix_rotation(rotation):
1355
- matrix = rotation.to_matrix()
1355
+ inv_rotation = ~rotation
1356
+ matrix = inv_rotation.to_matrix()
1356
1357
  else:
1357
1358
  raise TypeError('The input argument must be of class scipy.transform.Rotation or '
1358
1359
  'orix.quaternion.rotation.Rotation')
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: elasticipy
3
- Version: 2.8.8
3
+ Version: 2.8.10
4
4
  Summary: A Python library for elasticity tensor computations
5
5
  Author-email: Dorian Depriester <dorian.dep@gmail.com>
6
6
  License: MIT
@@ -2,14 +2,14 @@ Elasticipy/CrystalSymmetries.py,sha256=DAX-XPgYqI2nFvf6anCVvZ5fLM0CNSDJ7r2h15l3H
2
2
  Elasticipy/FourthOrderTensor.py,sha256=LuqLxcWeonumxgVCjTIvcIjCkAqMK4ZNBlpGLvXGPeA,54105
3
3
  Elasticipy/Plasticity.py,sha256=V-jSEf1lKhxKh4yeQs9msZThdT-m_O9KPKVreLk4AvY,4299
4
4
  Elasticipy/PoleFigure.py,sha256=G3Sz7ssX2KKY96g3XEvcaOYFmEat9JUCdb2A91XbA6w,3531
5
- Elasticipy/SecondOrderTensor.py,sha256=fT7WuHYmme5M9lc6rXn8yd81-1SBQ1RKXv2hhkjjG84,43760
5
+ Elasticipy/SecondOrderTensor.py,sha256=P1zPuqfmsPc8HP8izmfDcE80Zbq-UpOs0V1PiEoSmBs,43797
6
6
  Elasticipy/SphericalFunction.py,sha256=X6hrjwCiZkLjiUQ8WO2W4vLNOlbQ4jLWsloOg33IlL4,41244
7
7
  Elasticipy/StressStrainTensors.py,sha256=nZO6kEePOApdt6Y5anGl47RUhrDkHYtX50jtfKmB0jc,2926
8
8
  Elasticipy/ThermalExpansion.py,sha256=nfPTXuqI4fJe14YLzYn8zfSjpYaep8URRYawj8xzjfo,6012
9
9
  Elasticipy/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
10
10
  Elasticipy/gui.py,sha256=zyVnvp6IIi3FDR5hWfIJrOP28Y7XkP4wc71XXMyGpeo,11247
11
- elasticipy-2.8.8.dist-info/LICENSE,sha256=qNthTMSjVkIDM1_BREgVFQHdn1wVNQi9pwWVfTIazMA,1074
12
- elasticipy-2.8.8.dist-info/METADATA,sha256=L9RIBCkchayOLa2KEGg_6l6w0qZNCJwQ-A6GERtTVlM,3810
13
- elasticipy-2.8.8.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
14
- elasticipy-2.8.8.dist-info/top_level.txt,sha256=k4zSQzJR5P4vzlHlhWUaxNgvgloq4KIp8oca2X8gQOw,11
15
- elasticipy-2.8.8.dist-info/RECORD,,
11
+ elasticipy-2.8.10.dist-info/LICENSE,sha256=qNthTMSjVkIDM1_BREgVFQHdn1wVNQi9pwWVfTIazMA,1074
12
+ elasticipy-2.8.10.dist-info/METADATA,sha256=XpTe1cDSCEFNlJ4OlwpNrYqrskP49DFahVnRurWrMxA,3811
13
+ elasticipy-2.8.10.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
14
+ elasticipy-2.8.10.dist-info/top_level.txt,sha256=k4zSQzJR5P4vzlHlhWUaxNgvgloq4KIp8oca2X8gQOw,11
15
+ elasticipy-2.8.10.dist-info/RECORD,,