mtex
mtex copied to clipboard
grainMean function in mtex 6.0 beta3
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