applyfun

data_base.db_initializers.synapse_activation_binning.applyfun(pdf, maxtime=None)

Bin the synapse activations using universal().

This is used by default during the binning of synapse activations.

Parameters:
pdf : pandas.DataFrame

synapse activation dataframe

maxtime : int

The maximum time of the synapse activations.

Returns:

The binned synapse activations.

Return type:

numpy.array

See also

init()