postfun

data_base.db_initializers.synapse_activation_binning.postfun(s, maxtime=None)

Postprocess a column of the binned synapse activations.

This method fills None and np.nan values with zeroes instead. It is used by default during the binning of synapse activations.

Parameters:
s : pandas.Series

A column of the binned synapse activations.

maxtime : int

The maximum time of the synapse activations.

Returns:

The processed column of synapse activations.

Return type:

numpy.array

See also

init()