single_cell_parsernetwork_param_modify_functionsset_stim_onset

set_stim_onset

single_cell_parser.network_param_modify_functions.set_stim_onset(n, onset=None)

Changes the offset when pointcells get activated

Parameters:
  • n (sumatra.parameters.NTParameterSet | dict) – The Network parameters.

  • onset (float) – The onset time in milliseconds.

Example

>>> celltype = 'L6cc\_C2'  # layer 6 cortico-cortical cells in column C2
>>> n.network[celltype].celltype.pointcell.offset
0
>>> set\_stim\_onset(n, 100)
>>> n.network[celltype].celltype.pointcell.offset
100