split_synapse_activation¶
-
data_base.analyze.split_synapse_activation(sa, selfcheck=
True, excitatory=EXCITATORY, inhibitory=INHIBITORY)¶ Augment a Synapse activation dataframe with a boolean column for excitatory/inhibitory.
- Parameters:¶
- sa : DataFrame¶
A Synapse activation dataframe. Must contain the column
synapse_type.- selfcheck : bool¶
If
True, check if all cell types are either excitatory or inhibitory.- excitatory : list¶
List of excitatory cell types.
- inhibitory : list¶
List of inhibitory cell types.
- Returns:¶
a
DataFramewith excitatory synapse activations, and one for inhibitory synapse activations.- Return type:¶
tuple
Documentation unclear, incomplete, broken or wrong? Let us know