locan.process.aggregateΒΆ

Aggregate localization data.

This module provides histogram() to bin LocData objects into counts or per-bin mean values that form a histogram or image. The bins are described by locan.process.bins.Bins.

All bins are half-open intervals [edge_i, edge_i+1). histogram() widens a range that is derived from the data by a negligible amount (1e-12 of the range) so that the localization with the maximum coordinate is counted.

Classes

Histogram(data, bins, labels)

Functions

histogram(locdata[, loc_properties, ...])

Make histogram of loc_properties (columns in locdata.data) by binning all localizations or averaging other_property within each bin.