t2smap.py edited online with Bitbucket

Open
#3 · Created  · Last updated

Description

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)'.

0 attachments

0 comments

Loading commits...