spiketools.spatial.checks.check_bin_widths

spiketools.spatial.checks.check_bin_widths(bin_widths)[source]

Check computed bin widths for a set of spatial bins.

Parameters:
bin_widths1d array

Widths of the bins.

Raises:
AssertionError

Raised if there are any issues with the given bin widths.