Skip to content

Conversation

@pc494
Copy link
Member

@pc494 pc494 commented Sep 24, 2019


name: Adds get_diffraction_pattern to allow the viewing of diffraction simulations
about: Similar to the old .as_signal() this is a numpy/scipy only implementation that turns a list of coordinates and intensities from a diffraction simulation into a pattern that can be imshow(ed)

  • ready for review and merge?

Release Notes

major
new feature
Summary: Introduces get_diffraction_pattern method

What does this PR do? Please describe and/or link to an open issue.
on running the .get_diffraction_pattern() method, a pattern will be produced. With the default arguments the pattern will be 512x512, with a 10px sigma value for each spot. Be aware that at present a user has to select the correct size from which the calibration was defined to get patterns that look like experimental data.

@pc494 pc494 requested a review from dnjohnstone September 24, 2019 14:52
@dnjohnstone dnjohnstone merged commit 0229937 into pyxem:master Sep 24, 2019
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.

2 participants