nest-simulator icon indicating copy to clipboard operation
nest-simulator copied to clipboard

Document local_spike_counter resetting behavior

Open jessica-mitchell opened this issue 2 years ago • 1 comments

Describe the flaw

local_spike_counter will reset in repeated calls to simulate(), which is not documented The assumed behavior is that it would reset after resetting the kernel.

Suggest an improvement Add text to describe this behavior in PyNEST API.

@JoseJVS let me know if this isn't quite correct

jessica-mitchell avatar Sep 07 '22 12:09 jessica-mitchell

The behavior is documented with respect to Simulate(), even in two places:

  • https://github.com/nest/nest-simulator/blob/ff0ac34eb3eccc0e519efb629a808841d5b60d90/pynest/nest/init.py#L362-L371
  • https://github.com/nest/nest-simulator/blob/master/doc/htmldoc/nest_behavior/built-in_timers.rst

What is missing is information that the counter is also reset each time one calls Run().

heplesser avatar Sep 07 '22 12:09 heplesser

Issue automatically marked stale!

github-actions[bot] avatar Nov 07 '22 08:11 github-actions[bot]