Periodically saving results during simulation

General issues of interest both for network and
individual cell parallelization.

Moderator: hines

Post Reply
iraikov
Posts: 17
Joined: Wed Mar 18, 2015 11:53 am
Location: University of California, Irvine

Periodically saving results during simulation

Post by iraikov » Wed Jul 31, 2019 1:29 pm

Hello,

I'd like to be able to save the spikes and and recorded intracellular traces of the neurons in a large scale network simulation every few thousand ms of simulation time, and I am wondering if anyone has implemented something similar, or has thoughts on the subject. My initial idea was to implement this as an event handler via the cvode.event mechanism, but then the compute time measurement will be affected while data is being saved, and possibly timeouts will occur. Would it be better to set tstop to the next time when data should be saved? Any suggestions are appreciated.

-Ivan

ted
Site Admin
Posts: 5620
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Periodically saving results during simulation

Post by ted » Wed Jul 31, 2019 10:29 pm

See
Dealing with simulations that generate a lot of data
https://neuron.yale.edu/neuron/docs/dea ... e-lot-data
The example is in hoc, but it's easy to implement the same approach with Python.

Post Reply