-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Renaming EBSD.match_patterns() to EBSD.dictionary_indexing() #355
Comments
Yeah I would call this |
Thanks for giving your thoughts @pc494! |
@friedkitteh and I discussed renaming of
What do you think of this, @friedkitteh? |
I think that it is a good change that will for sure come in handy. During the set up I think we can sneak in a some QoL changes like this and possibly some small performance upgrades as a lot of the functions used in the simulation are very general and perhaps using private, more efficient methods would be better. |
We discussed this when introducing pattern matching in kikuchipy in November (#234 (comment)). For the record, I was the one to suggest pattern matching instead of dictionary indexing. But I'm now reconsidering this choice, and although our implementation of dictionary indexing is more rudimentary than in EMsoft, I think it is OK to call our implementation dictionary indexing as well.
Some of the benefits of calling the method
EBSD.dictionary_indexing()
:EBSD
methods without having naming issues. This is better than having other approaches branch out inmatch_patterns()
by specifying amethod=dictionary-indexing
etc.If people agree, we should deprecate
EBSD.match_patterns()
in v0.4 and remove it in v0.5.The text was updated successfully, but these errors were encountered: