py4dstem / py4DSTEM_tutorials

Sample code for py4DSTEM
GNU General Public License v3.0
37 stars 31 forks source link

AttributeError: 'DataCube' object has no attribute 'get_diffraction_image' #17

Open vennand opened 1 year ago

vennand commented 1 year ago

Seems to be an error in the first notebook for version 0.13.7 https://github.com/py4dstem/py4DSTEM_tutorials/tree/main/notebooks/version_0.13.7

The error appears in the last cell. My guess is that "get_diffraction_image" never existed or was replaced, and should be "get_virtual_diffraction". However, there is no mode "mean" in "get_virtual_diffraction"

image