Skip to content

Commit

Permalink
format with black
Browse files Browse the repository at this point in the history
  • Loading branch information
sezelt committed Dec 12, 2023
1 parent 924f0e1 commit c70914e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion py4DSTEM/process/diffraction/crystal_bloch.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)

Expand Down

0 comments on commit c70914e

Please sign in to comment.