Neuroinflab / kCSD-python

Kernel Current Source Density
https://kcsd-python.readthedocs.io/en/latest/
Other
15 stars 23 forks source link

Replacing np.complex with complex #145

Closed guptadivyansh closed 1 year ago

guptadivyansh commented 1 year ago

As of now, a fresh install of kCSD installs the latest numpy (1.25), which breaks kCSD because np.complex was deprecated in Numpy 1.20 (Example Screenshot attached from the tutorial)

I replaced np.complex() with complex() in around 60 occurrences as the recommended drop-in replacement. Docs

Screenshot 2023-09-03 at 23 30 21
guptadivyansh commented 1 year ago

Fixes #141