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

Crystalline Phase Mapping #655

Open
Marcraven opened this issue May 7, 2024 · 3 comments
Open

Crystalline Phase Mapping #655

Marcraven opened this issue May 7, 2024 · 3 comments

Comments

@Marcraven
Copy link

Marcraven commented May 7, 2024

Thanks for this amazing piece of software!

Is your feature request related to a problem? Please describe.
The original py4DSTEM paper shows a very nice crystal phase map, but the execution is not well described there.

Describe the solution you'd like
I would like the code necessary to generate such phase map given a sample which has single crystalline and powder regions combined.

Describe alternatives you've considered
I am right now considering to use the classification method for the twinned crystal using voronoi tesellation, but I am not sure how to chose Qx and Qy for the voronoi in this case (with powder rings included).

I have developed a circular voronoi tesellation, but then I realize that in order to initialize th BraggVectorClassification class, the data has to be given as PointListArray instead of PointList. The only PointListArray I can extract from my braggpeaks PointList is braggpeaks._v_uncal, but of course this is uncalibrated...

Additional context
I attach my calibrated BraggVectorMap to show the combination of powder and crystal regions.

image

@maclariz
Copy link
Contributor

maclariz commented Jul 2, 2024

Discussion happens better on Slack

If all you are trying to do is separate crystalline and amorphous, if you set all your peak detection so it detects peaks for crystalline but ignores the amorphous diffuse rings, then your points list will contain all the information you need. You could then add up all diffracted intensity (excluding primary beam) for each pixel and make a crystal image. I could help further as that is the sort of thing we are doing in https://arxiv.org/abs/2405.02037 (currently under review at Journal and code should be in py4dstem soon).

@Marcraven
Copy link
Author

Hi @maclariz thanks for your answer.

I submitted the request via GitHub as it was suggested in the documentation.

How can I join the Slack channel?

Cheers

@maclariz
Copy link
Contributor

Invite sent @Marcraven

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