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
Refinement Module #387
Refinement Module #387
Conversation
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
…into refinement
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Signed-off-by: Lars Lervik <friedkitteh@gmail.com>
Okay! Finally ready for the first review. I will be offline while I relocate and expect to be back online sometime around July 9th. |
Great! Good work. It'll be reviewed within then. |
I've tried out the functionality on the "large" Ni EBSD data set included in the Normalized cross correlation scores after dictionary indexing to 333 227 simulated Ni patterns (used EMsoft orientation sampling):
Histogram of the normalized cross correlation scores shown in the maps above: Geometrical simulations of Si as done in the PC calibration user guide ("Reference frames", link above). Note that the initial orientation is determined from TSL, while the PC is solely determined by the moving screen technique. PC in TSL's convention (x*, y*, z*) and the normalized cross correlation score are shown in the figure titles.
Quick comments I have, which we should include in this PR, after trying the functionality out are these (note that a thorough review is underway):
Apart from this I have several other suggestions for improvements, but I think that should be left for later PRs when we start to use the refinement and get a feel for the workflow and what things to store where etc. I suggest we leave updates of the pattern matching notebook to a later PR. |
Yep, I 100% agree with you on this.
Do you mean something like:
|
I was thinking more in the line of what HyperSpy does for their |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm really excited to try this out some more, great work!
There is a lot here, so this review is just the first of a few, I believe.
In general I agree with the structure and setup, and the requested changes relate more to specific details.
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
Signed-off-by: Friedkitteh <friedkitteh@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's lots of work in this PR, and the functionality is a huge boost to kikuchipy. Thanks again, @friedkitteh!
I'll create an issue to keep track of suggested changes and minor improvements to refinement which we can do bit by bit in other PRs until a v0.5 release sometime in September.
Description of the change
Methods to refine:
The initial orientations are stored in a
CrystalMap
, with the projection center estimates from anEBSDDetector
. The refinement process is made into an optimization problem and uses the user-friendly and efficient numerical routines implemented in scipy.Progress of the PR
Minimal example of the bug fix or new feature
For reviewers
__init__.py
.unreleased section in
doc/changelog.rst
.