Skip to content

Commit

Permalink
modified: build/lib/multislice/prop_utils.py
Browse files Browse the repository at this point in the history
	modified:   dist/multislice-0.0.0-py3.6.egg
  • Loading branch information
s-sajid-ali committed Jul 15, 2019
1 parent 2cc1f77 commit ebddaac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build/lib/multislice/prop_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ def modify(wavefront,zp_delta,zp_beta,step_z,wavel):
beta_slice = zp_beta
delta_slice = zp_delta
'''
Perform the following with numexpr
Compute the following with numexpr
wavefront * np.exp((kz * delta_slice) * 1j) * np.exp(-kz * beta_slice)
'''
return ne.evaluate('wavefront*exp((kz*delta_slice)*1j - (kz*beta_slice))')
return ne.evaluate('wavefront*exp(kz*(delta_slice*1j - beta_slice))')



Expand Down
Binary file modified dist/multislice-0.0.0-py3.6.egg
Binary file not shown.

0 comments on commit ebddaac

Please sign in to comment.