mtex-toolbox / mtex

MTEX is a free Matlab toolbox for quantitative texture analysis. Homepage:
http://mtex-toolbox.github.io/
GNU General Public License v2.0
278 stars 183 forks source link

Issue with export_ang and TSL #1962

Open chaopg opened 11 months ago

chaopg commented 11 months ago

I am trying to generate with MTEX an ang file to be opened in the TSL software.

For that purpose, I am using "export_ang(ebsd,'myFile.ang')", in MTEX 5.10.2.

It seems to work fine, and I am able to open the file in TSL. However, TSL only recognizes one of the phases, while my EBSD contains two phases.

In the ang file generated by MTEX, the ID's of the phases are '0' and '1'. However, TSL understands that, if one of the Phase ID's is '0', there is only one phase in the file (leading to the second one not being recognized). Would it be possible to change the ID's given to the phases to '1' and '2'? I think that would work with TSL.

Thanks a lot in advance!


Pablo Garcia Chao Delft University of Technology