single_cell_parsernetwork_param_modify_functionsmulti_stimulus_trial

multi_stimulus_trial

single_cell_parser.network_param_modify_functions.multi_stimulus_trial(netp, inter_stimulus_interval=100, stims=100, scale_factors=None, pop=None)

Makes a network param file for repeatedly stimulating the same whisker during a single trial.

Optionally applies a different evoked activity scaling factor to each stimulus.

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

  • inter_stimulus_interval (int | float) – amount of time to wait (in ms) between each whisker stimulus

  • stims (int) – number of stimuli to simulate

  • scale_factors (list, optional) – A list of scale factors you want to apply to subsequent stimuli. Must have the same length as stims.

  • pop (list, optional) – The celltypes you would like the scaling to be applied to.