literature from Karo

This commit is contained in:
Martin Diehl 2020-06-22 23:14:58 +02:00
parent e33895dd35
commit 6fa5ae6ebf
1 changed files with 1 additions and 0 deletions

View File

@ -198,6 +198,7 @@ class Orientation: # ToDo: make subclass of lattice and Rotation
def fromAverage(orientations,
weights = []):
"""Create orientation from average of list of orientations."""
# further read: Orientation distribution analysis in deformed grains, https://doi.org/10.1107/S0021889801003077
if not all(isinstance(item, Orientation) for item in orientations):
raise TypeError("Only instances of Orientation can be averaged.")