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."
2 posts • Page 1 of 1
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.