espenhgn / ViSAPy

Python package for generating benchmark data for evaluating spike sorting methods
GNU General Public License v2.0
20 stars 8 forks source link

Missing file 'z_integer.npy' #4

Open saeidrhm opened 5 years ago

saeidrhm commented 5 years ago

Hi, When I run 'example_in_vitro_MEA.py' face below error:

: [Errno 2] No such file or directory: 'z_integer.npy'

Can anyone help me!? thanks

torbjone commented 5 years ago

Hi, if I remember correctly, this was reading in electrode positions from file, based on positions from an actual MEA electrode, however it has been several years since I looked at this. It might work to just over-ride it with your own custom array of z_positions. After looking briefly at this, some of this code looks a bit outdated. Could you perhaps tell us a little bit what you want to do, and we might be able to point you to a better version of this?

saeidrhm commented 5 years ago

Thanks for the quick response. I want to simulate the MEA data. I just want to run the default example and change parameters to my desired values. Can you define the shape of the 'z_integer' array or provide an example of 'z_integer.npy' and 'y_integer.npy' files, please?

torbjone commented 5 years ago

Sorry for the late response. I'm not sure if this will work, but I dug out these old files: https://www.dropbox.com/s/1zdscfwx9gcqb79/z_integer.npy?dl=0 https://www.dropbox.com/s/wd40u4fdxltrod8/y_integer.npy?dl=0

Does it work to use those?

espenhgn commented 5 years ago

Hi. If you get it to work with these two new files, can you prep a PR where they've been added? Please keep in mind that also branch dev is way ahead of master