Skip to content
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

A question about indices #118

Closed
LoeweWang opened this issue Oct 8, 2023 · 1 comment
Closed

A question about indices #118

LoeweWang opened this issue Oct 8, 2023 · 1 comment

Comments

@LoeweWang
Copy link

Hi Toma and Jacob.

It is a great work to create abtem. I have got a question to consult you.
When I set indices=(1, 0, 1), I nearly get the same image as what the real HRTEM gets. I need to slightly rotate the crystal face to get the totally same image. My idea is to increase "x" a little bit, keep "y" as 0 and "z" as 1. But the indices require a sequence of int, so I cannot set (1.1, 0, 1). At the same time, I cannot set (101, 0 ,100) which will generate an image like a straight line.
I am so confused to come up wiith a solution to solve this problem. Sincerely hope that someone can provide help.

@TomaSusi
Copy link
Member

Hi! Thanks for the kind words.

I presume you are talking about the Miller indices used in the ASE build functions (as also mentioned in our tutorial on building advanced atomic models). These can, in principle, create crystal unit cells for higher-order Miller planes, but the required unit cells quickly become very large. Small tilts are particularly challenging.

Simulating rotated crystals is a highly non-trivial problem in multislice simulations, and as we've mentioned in issue #111, it's something we are working on to provide a general solution. That will still take some time, however. In the meanwhile, perhaps our small-angle beam tilt functionality would be sufficient for your needs?

https://abtem.github.io/doc/user_guide/walkthrough/multislice.html?highlight=beam%20tilt#small-angle-beam-tilt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants