simrunsynaptic_strength_fittingmerge_celltypes

merge_celltypes

simrun.synaptic_strength_fitting.merge_celltypes(vt, detection_strings=['L2', 'L34', 'L4', 'L5st', 'L5tt', 'L6cc', 'L6ct', 'VPM_C2'], celltype_must_be_in=None)

Concatenate the EPSPs of given celltypes.

This method concatenates the EPSPs of the given celltypes, and returns a dictionary with the concatenated voltage traces. This essentially groups the EPSPs of the given celltypes together, and considers them as one celltype.

Parameters:
  • vt (defaultdict) – Voltage traces, as returned by get_voltage_traces().

  • detection_strings (list) – List of celltypes to concatenate.

  • celltype_must_be_in (list) – List of celltypes that must be included.

Returns:

A dictionary with concatenated voltage traces.

Return type:

defaultdict