data_baseanalyzevoltage_binning

voltage_binning

Calculate the voltage as a density array.

This module provides methods to calculate the voltage as a histogram across many trials, and bin them in timebins.

Functions

calculate_vdensity_array_pd(v, bin_size, ymin, ymax, xmin, xmax)

Bin a Voltage trace dataframe in timebins across trials.

get_bins(bin_size, min_, max_)

Construct bin edges from a sice and range.

calculate_vdensity_array_dask(v, bin_size, ymin, ymax, xmin, xmax)

Bin a Voltage trace dataframe in timebins across trials.

calculate_vdensity_array(*args, **kwargs)

Calculate the voltage density array.

calculate_vdensity_array_pixelObject(*args, **kwargs)

Calculate the voltage density array as a PixelObject.