Fatal / forgotten imaginary unit
Former-commit-id: b68b6dbee3fcdc57a2a772d5beac82584725ed59
This commit is contained in:
parent
63e6a85e15
commit
add6f1111b
|
@ -328,7 +328,7 @@ for action in actions:
|
|||
if math.isnan(klist[i,2]):
|
||||
continue
|
||||
kdir = klistdir[i]
|
||||
phases = np.exp(np.sum(klist2d[i] * positions, axis=-1))
|
||||
phases = np.exp(np.sum(1j * klist2d[i] * positions, axis=-1))
|
||||
if action == 0 or action is None:
|
||||
pq = np.array(qpms.plane_pq_y(lMax, kdir, xu)).ravel()[TEč] * phases[:, nx]
|
||||
xresult[i] = scat.scatter_partial(0, pq)
|
||||
|
|
Loading…
Reference in New Issue