Closed HilbertHuangHitomi closed 3 years ago
Hi @HilbertHuangHitomi, thanks for the heads up! Which branch are you on? Branch nest3
which will be merged via #9 should be fairly up to date with regards to LFPy and Python 3, and is also way ahead of branch master
. My plan is to merge when future NEST 3 is released (it should hopefully work with https://github.com/nest/nest-simulator@master)
I am on branch master
currently. I will have a try on it. Thanks! >.<
Fine. Don't hesitate to reopen this issue if you encounter more problems. Btw., I meant branch nest3
not dev
above.
I found some bugs in population.py due to version issues.
This raises due to the newer version of LFPy, which can be fixed by adding
cell_geometry
aselectrode = lfpykit.RecExtElectrode(cell_geometry, **self.electrodeParams)
.BTW, I notice that the document of LFPy may be also out-of-date. In particular,
cell_geometry = CellGeometry(x=np.c_[cell.xstart, cell.xend], y=np.c_[cell.ystart, cell.yend], z=np.c_[cell.zstart, cell.zend], d=cell.diam)
should be simply modified ascell_geometry = CellGeometry(x=cell.x, y=cell.y, z=cell.z, d=cell.d)
. When I modify these in population.py, it works well XD.Another,
pip install hybridlfpy
only gives version 0.1.3, which has syntax error inraise ae,
, but can be fixed by installing from git.