mtex icon indicating copy to clipboard operation
mtex copied to clipboard

after export as ang - cant load ang file because of CS

Open accessT opened this issue 4 years ago • 1 comments

I did the beta-reconstruction. Exported as ang file. Now it is not possible to load the ebsd data from this file. grafik

It seems to be a Symmetry problem. when i change # Symmetry 131 to # Symmetry m-3m

it works fine. Please test it. unzip the file: a.zip

CS = {'notIndexed', crystalSymmetry('m-3m', 'mineral', 'Ti (beta)'), 'notIndexed'};
ebsd = EBSD.load('a.ang', CS, 'interface','ang');

I found an older reconstruction i did early february 2021. This file is allways working. EDXLMDTi64 R4 Site 3 Map Data 27 - reconstruction_alpha2beta _ via_MTEX_methode.zip

Therefore i changed your changes back you did on #804 ...\EBSDAnalysis@EBSD\export_ang.m

Line: 67 fprintf(filePh,'# %-22s%d\n','Symmetry', OIMSymId(cs.id)); back to: fprintf(filePh,'# %-22s%s\n','Symmetry',cs.pointGroup);

with this change it is exporting as m-3m and i can load the ebsd from ang.

accessT avatar May 21 '21 12:05 accessT

I've had the same issue. It seems to be some formatting and/or symmetry issue like you called out.

I edited the exported .ang file to match the initial file I supplied, and the issue resolved itself.

Savillian avatar Jul 26 '21 19:07 Savillian