hnn_core.dipole.simulate_dipole

hnn_core.dipole.simulate_dipole(net, n_trials=None, record_vsoma=False, record_isoma=False, postproc=True)

Simulate a dipole given the experiment parameters.

Parameters
netNetwork object

The Network object specifying how cells are connected.

n_trialsint | None

The number of trials to simulate. If None, the value in net.params[‘N_trials’] is used (must be >0)

record_vsomabool

Option to record somatic voltages from cells

record_isomabool

Option to record somatic currents from cells

postprocbool

If False, no postprocessing applied to the dipole

Returns
dpls: list

List of dipole objects for each trials