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

Spheric images (Quantification of directional dependence of ordering) #5

Open
qzhu2017 opened this issue Jul 28, 2022 · 2 comments
Open

Comments

@qzhu2017
Copy link
Collaborator

I decided to put our discussion here. If you go to misc/ and run run.py
You expect to see the following images.

image

image

The idea is the following
1, convert each hkl to a spherical coordinates (theta, phi)
2, generate 10000 mesh grids to evenly sample the sphere
3, for each hkl, we place a Gaussian on the unit sphere according to the intensity and a sigma value
4, use plotly to show the interctive image
5, use Matplotlib to show the static image (here I used the spherical harmonic expansion)

@qzhu2017
Copy link
Collaborator Author

Our ultimate goal is to generate the following plot to show the directional dependence of XRD intensity. We may change it to some other values later on.

image

@qzhu2017 qzhu2017 changed the title Spheric images Spheric images (Quantification of directional dependence of ordering) Jul 28, 2022
@qzhu2017
Copy link
Collaborator Author

qzhu2017 commented Aug 2, 2022

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

1 participant