t2smap.py edited online with Bitbucket
Index slicing requires integers whereas np.ceil and np.floor returns floats. To correct this I wrapped them with int(), alternatively you could use 'np.ceil(idx).astype(int)'.
t2smap.py edited online with Bitbucket
Index slicing requires integers whereas np.ceil and np.floor returns floats. To correct this I wrapped them with int(), alternatively you could use 'np.ceil(idx).astype(int)'.