Skip to content

Error! in Parent Austenite Grains Reconstruction from Martensite using MTEX #586

Answered by nyyssont
AmitS07 asked this question in Ask Anything
Discussion options

You must be logged in to vote

Hello, the above error would indicate you are attempting to do something with a dataset that contains information for two phases but is only allowed for one phase.

The below error is due to the fact that you have ebsd.grainId set as output but ebsd('Iron (Alpha)','indexed') set as input. ebsd.grainId contains both indexed and unindexed points, while the latter contains only indexed points.

As a first remedy for the script below, I would try changing the calcGrains commands to the following form:

[grains, ebsd('indexed').grainId] = calcGrains(ebsd('indexed'),'angle',3*degree)

if you wish to have single-phase grain map, you need to have:

[grains, ebsd('Iron bcc').grainId] = calcGrains(ebsd…

Replies: 5 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@AmitS07
Comment options

Answer selected by AmitS07
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@AmitS07
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants