netpyne.sim.run module
Module for running simulations
- netpyne.sim.run.runSim(skipPreRun=False)[source]
Function for/to <short description of netpyne.sim.run.runSim>
- Parameters:
skipPreRun (bool) – <Short description of skipPreRun> Default:
False
Options:<option>
<description of option>
- netpyne.sim.run.postRun(stopTime=None)[source]
Function for/to <short description of netpyne.sim.run.postRun>
- netpyne.sim.run.runSimWithIntervalFunc(interval, func, timeRange=None, funcArgs=None)[source]
Function to run a simulation while executing a function at intervals
- Parameters:
interval (float) – Time interval (ms) at which to execute the function Default: required
func (function) – The function to be executed at intervals. The first positional argument (float) is the current progress of simulation in ms. The rest of the arguments have to correspond to those optionally provided in funcArgs. Default: required
timeRange (list) – Time range during which to execute the function [intervalStart, intervalStop] Default: None uses the entire simulation duration
funcArgs (dict) – A dictionary of keyword arguments to feed into the function. Default: None
- netpyne.sim.run.prepareSimWithIntervalFunc(timeRange=None, funcArgs=None)[source]
Function for/to <short description of netpyne.sim.run.prepareSimWithIntervalFunc>
- netpyne.sim.run.calculateLFP()[source]
Function for/to <short description of netpyne.sim.run.calculateLFP>