data_base
❭ db_initializers
❭ synapse_activation_binning
synapse_activation_binning¶
Methods for fast binning of Synapse activation dataframes.
Example
>>> groupby = ['EI'] # excitatory or inhibitory
>>> values = synapse_activation_postprocess_dask(
... ddf = db['synapse_activation'],
... groupby = groupby,
... prefun = prefun,
... applyfun = applyfun,
... postfun = postfun)
>>> values = values.compute(scheduler=c.get)
>>> save_groupby(db, values, groupby)
Functions¶
|
Augment a Synapse activation dataframe with additional columns. |
|
Postprocess a column of the binned synapse activations. |
|
Bin the synapse activations using |
|
Calculates bins of synapse activation per trial from a pandas dataframe. |
|
Aggregate many dictionaries with the same keys. |
|
Recursively aggregate the results of a list of delayed objects. |
|
Calculates bins of synapse activation per trial from a dask dataframe. |
|
Save the result of synapse_activation_postprocess_dask to a database. |
|
Main pipeline to bin synapse activations from a Synapse activation dataframe. |