Text this: Indexing of Electron Diffraction Patterns of Icosahedral and Decagonal Phases