This is motivated by the interface between NetPyNE and The Virtual Brain tool (TVB). TVB has its own loop for numerical integration, and on each iteration of this loop NetPyNE is supposed to perform its own little piece of computations, the same as what is done in runSimWithIntervalFunc. This piece is factored out here, so that it can be separately called from TVB-owned loop, as well as prepare... and postRun methods.
This is motivated by the interface between NetPyNE and The Virtual Brain tool (TVB). TVB has its own loop for numerical integration, and on each iteration of this loop NetPyNE is supposed to perform its own little piece of computations, the same as what is done in
runSimWithIntervalFunc
. This piece is factored out here, so that it can be separately called from TVB-owned loop, as well asprepare...
andpostRun
methods.