Flushing Output to Disk

Particularly useful chunks of hoc and/or NMODL code. May be pedestrian or stunningly brilliant, may make you gasp or bring tears to your eyes, but always makes you think "I wish I had written that; I'm sure going to steal it."
Post Reply
Posts: 5
Joined: Sun Jun 28, 2020 3:07 pm

Flushing Output to Disk

Post by tiki »

I am using NEURON in python to simulate large groups of endocrine cells (often over 100 cells per simulation). Naturally, keeping a copy of all the variables of interest in python (as seen in step 6 here: https://www.neuron.yale.edu/neuron/docs ... ron-basics) is taking a lot of memory and I was curious whether NEURON kept a reference to whatever data structure this information was kept in that I could access at the end of my script or if it was possible to periodically flush the recorded data to an output file.
Site Admin
Posts: 5918
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine

Re: Flushing Output to Disk

Post by ted »

Look in the Hot tips area of the Forum for Simulations that generate lots of data
Post Reply