Hello,
How can I assign a spike time to a neuron from a transfer function (using nest)? I was trying to use the variable t
that is available in TFs and use the following code that adds the current time to the spike_times
array of a neuron:
nest.SetStatus(nrp.config.brain_root.pp.neuron, {"spike_times":np.append(nest.GetStatus(nrp.config.brain_root.pp.neuron, "spike_times")[0], [t])})
but I get the following error:
(“BadProperty in SetStatus_id: Setting status of a ‘spike_generator’ with GID 2401: spike_generator: Time point 4.76 is not representable in current resolution.”, ‘BadProperty’, <SLILiteral: SetStatus_id>, “: Setting status of a ‘spike_generator’ with GID 2401: spike_generator: Time point 4.76 is not representable in current resolution.”) (Runtime)
Best regards,
Mikołaj Miękus