propagate() fails with uninformative error
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
HoloPy |
New
|
Undecided
|
Unassigned |
Bug Description
I'm trying to run the holopy reconstruction example (http://
http://
And below is the traceback.
-------
IndexError Traceback (most recent call last)
<ipython-
7
8 holo = get_example_
----> 9 rec_vol = propagate(holo, linspace(4e-6, 10e-6, 7))
10 hp.show(rec_vol)
/Users/
79 ft = np.repeat(ft[:, :, np.newaxis,...], G.shape[2], axis=2)
80
---> 81 ft = apply_trans_
82
83 res = ifft(ft, overwrite=True)
/Users/
117 # broadcasts correctly
118 G = G[...,np.newaxis]
--> 119 ft[(m/2-
120
121 # Transfer function may not cover the whole image, any values
IndexError: invalid slice
Any advice on what might be going wrong?
Thanks!
Brett Morris