Dear all,
Trying to use the NEST iaf_psc_exp_ps neuron model in order to have precise spike timing, I encountered the problem that I cannot seem to record the membrane potential. This occurs with both PyNN 0.7.5 and 0.7.6dev. Here is a code snippet reproducing the error:
import pyNN.nest as sim
from pyNN.nest import native_cell_type
sim.nest.SetKernelStatus({'dict_miss_is_error': False})
model = native_cell_type('iaf_psc_exp_ps')
nrn = sim.Population(1, model)
nrn._record('V_m')
---------------------------------------------------------------------------
RecordingError Traceback (most recent call last)
/users/albada/PyNN-0.7.5_install/lib/python2.7/site-packages/<ipython-input-6-0eaa87b830df> in <module>()
----> 1 nrn._record('V_m')
/users/albada/PyNN-0.7.5_install/lib/python2.7/site-packages/pyNN/common.pyc in _record(self, variable, to_file)
684 else:
685 if not self.can_record(variable):
--> 686 raise errors.RecordingError(variable, self.celltype)
687 logger.debug("%s.record('%s')", self.label, variable)
688 if variable not in self.recorders:
RecordingError: Cannot record V_m from cell type iaf_psc_exp_ps
In NEST, one can record membrane potentials from this model just fine.