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 10 months ago

guptadivyansh commented 10 months 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 10 months ago

Fixes #141