Hi Priyanka,
You should not need to go through the Dictionary, that causes much overhead. Since you are at the C++ level, you can use ArchivingNode interface functions directly. `get_spiketime_ms()`
would be the right method for that. I see that it it protected, although I cannot see why, it could be part of the public interface of the class. You could create a PR to move it to the public interface. On the other hand, you have the `get_history()` method
in the public interface. It does more than just getting the last spike time, but may be useful as well. For details, see Morrison et al, 2007.
Best,
Hans Ekkehard
--
Prof. Dr. Hans Ekkehard Plesser
Department of Data Science
Faculty of Science and Technology
Norwegian University of Life Sciences
PO Box 5003, 1432 Aas, Norway
Phone +47 6723 1560
Email hans.ekkehard.plesser@nmbu.no
Home http://arken.nmbu.no/~plesser