replying to J. Wanni, C. A. Bronkhorst, D. J. Thoma npj computational materials https://doi.org/10.1038/s41524-024-01324-4 (2024)
Our concerns apply to the inadequate ways statistical distributions of crystallographic orientations are compared and occasionally confirmed to agree sufficiently well. The authors of “Machine learning enhanced analysis of EBSD data for texture representation”1 suggest a method to replace an EBSD dataset of crystallographic orientations with a much smaller synthetic dataset preserving the texture. They claim that their “texture adaptive clustering and sampling” algorithm generates datasets of a few hundred crystallographic orientations, realizing an equivalent crystallographic orientation distribution as the initial dataset. To prove the principle and substantiate their claim of equivalent orientation distributions, the authors content themselves with (i) a visual inspection of the crystallographic pole density function, in fact, of three crystallographic “pole figures” and (ii) Kolmogorov–Smirnov tests for each of the three Euler angles of the crystallographic orientations individually. However, these criteria are insufficient to confirm equivalence of orientation distributions, they do not provide scientific evidence to substantiate the authors’ claim that “texture adaptive clustering and sampling” generates crystallographic orientations in terms of their Euler angles representing the same texture.
Our dissent against (i) is that different distributions of crystallographic orientations may have several identical crystallographic pole figures. Our objection to (ii) is threefold.
-
The stochastic independence of observations required by the Kolmogorov–Smirnov test is most likely to be violated by spatially referenced crystallographic orientations sampled with EBSD experiments scanning the crystallites of a material specimen. The individual Euler angles are presumably affected by spatially induced stochastic dependence acquired from the grain fabric.
-
Failure to reject the null-hypothesis of agreement of two distributions of the Kolmogorov–Smirnov test must not be interpreted as proof of their equivalence. As with every statistical test of significance, the Kolmogorov–Smirnov test provides insightful inference in case of reasonable rejection of its null-hypothesis only. Since the replacement datasets are designed to be small, probabilities of false non-rejection tend to be large. Applying the Kolmogorov–Smirnov test to any original dataset and a replacement dataset consisting only of its median will always fail to suggest rejection of its null-hypothesis of equivalent distributions.
-
Furthermore, the agreement of the marginal distributions for each of the three Euler angles does not generally imply agreement of their joint distribution, the exception being the case of joint stochastic independence of the three Euler angles.
Last but not least, we remind you that examples of “successful” application of some mathematical or statistical method of data analysis do not substitute the mathematical proof of its properties and performance. Mistaking examples as proof of principle is all the more dangerous if the means of validation by examples are inadequate themselves. Then, an example may be envisioned, where the algorithm goes astray, however unnoticed by the applied means of validation.
In the following we shall elaborate on our opposition to the authors’ way to compare statistical distributions of crystallographic orientations in terms of counter examples.
Counter example 1: Different crystallographic orientation density functions with a few coincident pole figures
We assume orthorhombic crystal symmetry (mmm) with all axes of unit length (“pseudo cubic”). Then we define two different orientation density functions f1, f2 each composed of three equally weighted components labeled ψij, i = 1, 2, j = 1, …, 3, of de la Vallée Poussin type ψdlVP of a halfwidth of bκ = π/6 centered at orientations g11 = (π/2, 0, 0), g12 = (π/2, π/2, π/2), g13 = (0, π/2, 0) and g21 = (π, 0, 0), g22 = (π, π/2, π/2), g23 = (π/2, π/2, 0), respectively, in terms of Euler angles according to the zxz-convention, i.e.,
Since the two sets of crystallographic orientations are related by a rotation of π/2 about the z-axis, they are not crystal symmetrically equivalent. Once the orientation density functions have been computed, their pole density functions for the crystal forms of Miller indices (1, 0, 0), (0, 1, 0), (0, 0, 1), (0, 1, 1), (1, 1, 1), (1, 1, 3), (1, 0, 2), (1, 2, 3) are calculated. Then, the two orientation density functions are plotted as σ-sections, Fig. 1, and their pole density functions for the 8 crystallographic forms listed above are plotted as equal-area projections of the upper hemisphere onto the unit disk (Fig. 2).
While the orientation density functions are different, the first six polfigures are identical, only the (102)- and (123)-pole figures are different. This example may appear as a very special case of ambiguity. However, it is reminded, that any two crystallographic orientation density functions which differ in their odd Fourier coefficients only, have identical crystallographic pole density functions for all crystal forms2,3. For more details, the reader is referred to MTEX documentation4.
Counter example 2: Different crystallographic orientation density functions with coincident marginal distributions of their three Euler angles
Visualizing the marginal distributions of individual Euler angles (φ1, Φ, φ2) of the crystallographic orientations sampled from the orientation density functions f1 and f2, respectively, reveals almost perfect matches of the histograms of the marginal distributions, Figs. 3 and 4. The corresponding univariate cumulative frequency distribution functions are very close, Fig. 5. Their comparison in terms of Kolmogorov–Smirnov tests is illusive because (i) non-rejection of its null-hypotheses must not be interpreted as their acceptance and (ii) univariate marginal distributions do not generally define a unique joint multivariate distribution, i.e., identical univariate marginals may stem from different joint multivariate distributions.
Top row: Histograms of the marginal distributions of 350 Euler angle φ1 (a), Φ (b), and φ2 (c) of crystallographic orientations sampled from the orientation density function f1; Bottom row: Histograms of the marginal distributions of 350 Euler angle φ1 (d), Φ (e), and φ2 (f) of crystallographic orientations sampled from the orientation density function f2.
Top row: Histograms of the marginal distributions of 7000 Euler angle φ1 (a), Φ (b), and φ2 (c) of crystallographic orientations sampled from the orientation density function f1; Bottom row: Histograms of the marginal distributions of 7000 Euler angle φ1 (d), Φ (e), and φ2 (f) of crystallographic orientations sampled from the orientation density function f2.
Conclusion
Visual inspection of pole figures may be deceptive because they are images of the even part of crystallographic orientation density functions only. It may lead to false conclusions. Referring to the three marginal distributions of individual Euler angles, e.g., comparing their cumulative frequency distributions, does not generally provide additional information to distinguish different crystallographic orientation density functions, because marginals do not generally define the joint distribution. Thus, the authors’ proof of principle and validation of their TACS approach are invalid. Users may be better off with any of the conventional methods, e.g. methods based on kernel density estimation5.
To compare distributions of crystallographic orientations, it takes distributions of crystallographic orientations.
References
Wanni, J., Bronkhorst, C. A. & Thoma, D. J. Machine learning enhanced analysis of EBSD data for texture representation. npj Comput. Mater. 10, 133 (2024).
Matthies, S. On the reproducibility of the orientation distribution function of texture samples from pole figures (Ghost phenomena). Phys. Stat. Sol. (b) 92, K135–K138 (1979).
Wagner, F. Contribution a l’étude des modifications de texture par déformation et transformation dans les matériaux de basse symétrie. Thèse Docteur ès Sciences, Université de Metz, France, 13–14 (1983).
Hielscher, R. (2024) https://mtex-toolbox.github.io/PoleFigure2ODFAmbiguity.html (accessed 9 February 2025).
Schaeben, H., Bachmann, F. & Fundenberger, J. J. Construction of weighted crystallographic orientations capturing a given orientation density function. J. Mater. Sci. 52, 2077–2090 (2017).
Acknowledgements
All computations were done with the free and open Matlab toolbox Mtex, cf. https://mtex-toolbox.github.io. This study did not receive any funding.
Funding
Open Access funding enabled and organized by Projekt DEAL.
Author information
Authors and Affiliations
Contributions
H.S.: Identified the error in the annotated manuscript, pointed out the argument on non-provability by the statistical argument, provided the calculations using Matlab/Mtex, and wrote the first version of the manuscript. K.G.v.d.B.: Provided the original counterexample, added the arguments on the incorrect use of statistics, and improved and expanded the manuscript accordingly. The authors confirm that all authors have read and approved the manuscript.
Corresponding author
Ethics declarations
Competing interests
The authors declare no competing interests.
Additional information
Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
About this article
Cite this article
Schaeben, H., van den Boogaart, K.G. Comment on “Machine learning enhanced analysis of EBSD data for texture representation”. npj Comput Mater 11, 76 (2025). https://doi.org/10.1038/s41524-025-01557-x
Received:
Accepted:
Published:
DOI: https://doi.org/10.1038/s41524-025-01557-x