bluecellulab.simulation.simulation

Simulation class of bluecellulab.

Classes

Simulation([parallel_context, ...])

Class that represents a neuron simulation.

class bluecellulab.simulation.simulation.Simulation(parallel_context=None, custom_progress_function=None)[source]

Class that represents a neuron simulation.

add_cell(new_cell)[source]

Add a cell to a simulation.

Parameters:

new_cell (Cell)

Return type:

None

init_callbacks()[source]

Initialize the callback of all the registered simulation objects.

(e.g. for window plotting)

init_progress_callback()[source]

Initiziale the progress bar callback.

progress_callback()[source]

Callback function for the progress bar.

run(tstop, cvode=True, cvode_minstep=None, cvode_maxstep=None, dt=0.025, forward_skip=None, forward_skip_value=False, show_progress=None)[source]

Run the simulation.

Parameters:

tstop (float)