MechMicroMan / DefDAP

A python library for correlating EBSD and HRDIC data
Apache License 2.0
33 stars 14 forks source link

Clean up EBSD data? #88

Closed jluo28 closed 2 years ago

jluo28 commented 2 years ago

Hi all,

I was wondering when using Defdap for the EBSD analysis, is there a way of denoising the data? Because inevitably there are some non-indexed regions in the maps and they'll need a certain level of clean-up. I've read the API documentation and seems there's not a function for denoising the data. Maybe I have missed something.

Any advice is much appreciated!

Many thanks, Jie

mikesmic commented 2 years ago

Hi Jie

There isn't really much EBSD data cleaning functionality in the library. There is a Kuwahara filter method in the EBSD class but I didn't do any work to optimise this so it will be quite slow to run and I can't remember how it handles non-indexed points. https://github.com/MechMicroMan/DefDAP/blob/1721b1d8846102bf965a063d063c5c216cc68074/defdap/ebsd.py#L649-L729

I usually clean up the EBSD maps in the vendor provided software (Channel5 or Aztec Crystal) and then save that cleaned file before moving to defdap to do analysis with a HRDIC dataset.

I hope this helps!

jluo28 commented 2 years ago

Hi Michael,

Yes, I agree cleaning the data first in C5 or Aztec crystal would be a good way to get around this! Thanks a lot for the reply.

Cheers, Jie