-
Notifications
You must be signed in to change notification settings - Fork 50
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
WIP: Fix diffraction scaling. #761
Closed
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Codecov Report
@@ Coverage Diff @@
## master #761 +/- ##
==========================================
+ Coverage 55.47% 55.51% +0.03%
==========================================
Files 16 16
Lines 2419 2421 +2
Branches 35 35
==========================================
+ Hits 1342 1344 +2
Misses 1064 1064
Partials 13 13
Continue to review full report at Codecov.
|
This change gives me diffraction patterns that preserve the symmetries of the crystal structure, even for different numbers of unit cells in each direction, at least for a square lattice looking straigh down the z-axis. I'm pretty sure the k-values are still wrong, and need to use the same factor I used in the shear matrix somehow. I'm also not sure if that factor I scale by is correct. It seems right that it doesn't depend on the height of a cubic box when you're looking straight on though.
for more information, see https://pre-commit.ci
yeinlim
approved these changes
May 6, 2021
yeinlim
approved these changes
May 6, 2021
11 tasks
Closing as stale. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Work in progress with @tcmoore3.
To-do:
Motivation and Context
Resolves #750, resolves #723.
How Has This Been Tested?
Need to add new tests!
Screenshots
Need to include a screenshot!
Types of changes
Checklist: