diff --git a/py4DSTEM/process/diffraction/crystal_bloch.py b/py4DSTEM/process/diffraction/crystal_bloch.py index 0878feb17..ce8bb8622 100644 --- a/py4DSTEM/process/diffraction/crystal_bloch.py +++ b/py4DSTEM/process/diffraction/crystal_bloch.py @@ -214,7 +214,9 @@ def get_f_e(q, Z, thermal_sigma, method): # Calculate structure factors struct_factors = np.sum( - f_e * self.occupancy[:,None] * np.exp(2.0j * np.pi * np.squeeze(self.positions[:, None, :] @ hkl)), + f_e + * self.occupancy[:, None] + * np.exp(2.0j * np.pi * np.squeeze(self.positions[:, None, :] @ hkl)), axis=0, )