spiketools.measures.circular.bin_circular

spiketools.measures.circular.bin_circular(data, bin_width=10)[source]

Bin circular data.

Parameters:
data1d array

Data to bin.

bin_widthfloat, optional, default: 10

Width of the bins to use for the histogram.

Returns:
bin_edges1d array

Bin edge definitions.

counts1d array

Count values per bin.

Notes

This function currently only supports data in degrees.