-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Suitable reflector lists #50
Comments
Hi Hakon, and amazing work in Kikuchipy !! This implementation of a Hough solution for non FCC structure is wonderfull ! See you. Frédéric Adamski |
@hakonanes These are my favorite types of questions ... where things are mostly working, and someone else has done a lot of good work to make them work better. Yes - the original intent was simply to leave the decision of what poles to include as an exercise for the user. And glad a couple of users have put in the good work on this! Couple of notes:
Why not make it the long term solution? I have no desire to re-invent/recode all the work that kikuchipy has already done, and I am keenly aware that I do not want PyEBSDIndex to have large mission creep. However, looking at @Fred-Ad response above, I wondering if it makes sense to make a simple file format that can be stored to disk for know phases? I am somewhat resistant to directly co-op the EDAX (or Oxford, or ...) file format simply because I know that they do charge for those, and they are not an open format. But ... using a similar LIST does not seem like a violation. Otherwise, there is the EMSoft SHT database - this would also be a good starting point? https://github.com/EMsoft-org/SHTdatabase I think having it as a separate repo is a good idea, similar to the SHT repo, as there can be a bit of control/curation of what gets added to the global list, but certainly would not prevent users from using their own local files. Thoughts? SECOND We have seen some issues with some phase differentiation on some other data (patterns were not as nice, and classic pseudo symmetry issues). I am still planning on trying to attack a bandwidth metric within the indexing, which may help with this ... but I am trying to think through if I nested the operations in such a way that it is hard to cross-reference bandwidth matching across phases? I'll have to think through this some more. Besides ... bandwidths are hard given that they will change depending on where they are on the detector. So many little details to figure out there ... THIRD |
Thank you both for the positive response. Then I suggest to link to the suggested kikuchipy tutorial somewhere in PyEBSDIndex' docs.
Quite arbitrarily, as I was looking for a "happy medium" of families. I set the required fraction of the strongest reflector linear intensity |F| to >50% so that I get six instead of ten families of planes for the Pi phase. The bands after wrapping the reflectors in a simulator and plotting them with a linear intensity scaling |F|:
Note that this initial test is just to see if PyEBSDIndex finds the correct phase. It is by no means a statistical study...
The returned crystal orientations and pattern fits for Alpha-Al(Mn,Fe)Si are identical for the reflector lists with and without {10 0 0}. I hadn't noticed the superfluous family before posting: thanks. One way to remove reflectors with identical angles is to ask for the indices of the unique unit reflectors and only keep those. The following should work: _, idx = ref_alfesi.unit.unique(return_index=True) # Both (6 0 0) and (10 0 0) -> (13 0 0)
ref_alfesi = ref_alfesi[idx] # {10 0 0} family excluded Regarding hosting user-submitted reflector lists: A very good idea, @Fred-Ad. In the beginning, I would suggest to host it on GitHub and allow downloading them via e.g. the @drowenhorst-nrl, I haven't looked at the SHT file database before. It seems well structured. Do you know the contents of an SHT file? Does it contain a reflector list? It may be that the file contains more information than we currently need for this list. We would anway need a reader of the files in Python before thinking about using this database.
😀 |
Hi @drowenhorst-nrl!
We just released kikuchipy v0.9.0 compatible with PyEBSDIndex v0.2.0. So far, the new particle swarm optimization works like a charm.
This is more of a question than an issue. It relates to how users of PyEBSDIndex should find suitable reflector lists for indexing. My suggestion is to use the diffsims and orix libraries, specifically the ReciprocalLatticeVector class, which needs a Phase instance. At least for the moment.
So, I've tested multi-phase indexing with three phases in the list:
It also works like a charm!
But, only after I specified my own reflector lists or
polefamilies
. I found the following reflectors to correctly differentiate between the phases above and provide plausible indexing:These reflectors were found automatically using
ReciprocalLatticeVector
. I've found the approach quite robust and to give results comparable to EMsoft's building of reflector lists (which makes sense since it is based on that implementation). The procedure is simple:Minimal syntax (CIF file: pi_al8femg3si6.cif.txt):
Do you have any thoughts on how users should find suitable reflector lists? Do you think linking to a relevant tutorial in kikuchipy's docs (say, this one) would be a good temporary solution until something is included in PyEBSDIndex itself?
The text was updated successfully, but these errors were encountered: