pyxem/diffsims-demos

diffsims has no attribute: get_recip_points, BesselProbe

harripj opened this issue · 0 comments

Hi,

just trying to run the example: 01 kinematical FFT diffraction simulation.ipynb

I get the error: AttributeError: module 'diffsims' has no attribute 'BesselProbe'
Same for get_recip_points and get_discretisation.

After a quick search it looks like these imports have been moved.

from diffsims.utils.fourier_transform import get_recip_points
from diffsims.utils.probe_utils import BesselProbe
from diffsims.utils.discretise_utils import get_discretisation

Using diffsims 0.3.0.