You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to use the grainMean function to calculate mean confidence index from the corresponding EBSD map for my grains. However, the list that is returned is simply the confidence index for all EBSD pixels, i.e. no averaging takes place.
I have:
an ebsd variable (in 'indexed' mode) which has the grainId of the grains.
a grain2d variable with the same grains as they are in the ebsd
(The ebsd and grain2d variable were constructed as normally using calcGrains and nothing was changed to them afterwards.)
What grainMean should return
a list of (in my case 6205) entries of mean property (in my case confidence index)
What grainMean returns
a list of (in my case 1110514) entries which is exactly the same as the amount of pixels in the ebsd variable.
Used version: mtex 6.0 beta3. The function does work for mtex 5.10
The text was updated successfully, but these errors were encountered:
the functionality of this function has slightly changed in MTEX 5.11 / MTEX 6.0. grainMean(ebsd,prop) indeed returns a list of averaged values of the order / shape as ebsd. If have want to have one value per grain you need to to grainMean(ebsd,prop,grains). Now the output will have the same order as grains.
Have a look at help EBSD/grainMean for more information.
I want to use the grainMean function to calculate mean confidence index from the corresponding EBSD map for my grains. However, the list that is returned is simply the confidence index for all EBSD pixels, i.e. no averaging takes place.
I have:
What grainMean should return
What grainMean returns
Used version: mtex 6.0 beta3. The function does work for mtex 5.10
The text was updated successfully, but these errors were encountered: