-
Notifications
You must be signed in to change notification settings - Fork 14
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
Question about fetching diffraction pattern from ReciPro in an automated way #36
Comments
I'm sorry for not getting back to you sooner. ReciPro can output a pattern of electron diffraction spots based on a dynamical theory from any Euler angle. Of course, you can freely set the acceleration voltage, camera length, and output resolution. Unfortunately, however, the Kikuchi line simulation only supports kinematical calculations. To treat the Kikuchi line dynamically, it is necessary to accurately treat the inelastic scattering process inside the specimen, which is a bit difficult. I am currently working on the implementation of EBSD simulations. If that is successful, I will be able to handle TKD simulations soon. Please wait in anticipation. |
Thank you very much for the reply Seto san! Yes I understand that ReciPro can take in a set of Euler angle and output the corresponding diffraction image given the camera length, electron wavelength, etc. However, my question is more on: Is it possible to automate such process? For example, I wish to input a list of Euler angles, such as:
and save the diffraction image output (e.g. as a 2D gray-scale array with the same pixel grid as our detector grid) by ReciPro:
so that the images can be used for orientation mapping by dictionary indexing/template matching in Python packages such as Do you think such thing is possible? And what could be some potential coding challenge related to it? Or maybe this approach is inefficient and stupid, and some other approach can be better? |
ReciPro has a simple macro feature that allows you to write loops and conditionals in Python syntax. For example, the following macro may achieve what you want. (Please select a crystal to be calculated in advance.)
Smaller loop steps may cause an explosion in computation time. Adjust the steps carefully. At this time, not all functions inside ReciPro can be called from the macro. It is easy to add them, so please do not hesitate to contact me. |
Hi,
I am working on indexing of spot and Kikuchi patterns in transmission mode in a SEM using the technique called on-axis Transmission Kikuchi Diffraction (TKD). Given the low acceleration voltage in SEM, it is almost crucial that we use electron diffraction pattern simulated via dynamical electron diffraction.
Currently, there exist some
Python
packages that can perform the spot and Kikuchi patterns separately, however, not all of them have a built-in dynamical electron diffraction simulation. Therefore, I would like to ask, if it is possible that, given a list of crystal orientation defined in Euler angles, to feed the list of orientations into Recipro and obtain the corresponding diffraction pattern at the given acceleration voltage, detector distance, and size of the reciprocal space in an automated way?Thank you for the help in advance and hope that you can help me out on this ^^
The text was updated successfully, but these errors were encountered: