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

Quick fix for correlation array, scalebar length #547

Merged
merged 8 commits into from
Oct 31, 2023

Conversation

cophus
Copy link
Member

@cophus cophus commented Oct 27, 2023

Added new option to crystal.orientation_plan()
calculate_correlation_array = True,
Setting this to false skips calculating the correlation array.

Additionally a user pointed out that scalebars were being drawn slightly too long, so I added a quick fix for that too.

@alex-rakowski
Copy link
Collaborator

I added an assert statement in match_single_pattern to check orientation_plan was run with calculate_correlation_array = True before running the rest of the function.

@alex-rakowski alex-rakowski requested a review from smribet October 27, 2023 22:24
@alex-rakowski alex-rakowski merged commit af280c3 into py4dstem:dev Oct 31, 2023
6 checks passed
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

Successfully merging this pull request may close these issues.

3 participants