This method tackles the problem of measuring point densities object point objects in non-overlapping spaced out thick sections.
This method arose from the study of cells migrating in living tissue from an injection site and where the cells were later annotated in discrete number of sections with known thickness and relative position.
The thick section as well as spaces between section results in missing data when binning point counts as a function of the distance to the injection site. This software approximates a solution to solve this problem by integrating both points and section volume, and calcualtes a point density instead.
# How to use
For example use, see run.py alongside the structure in the data folder. Alternatively, use the measure_cumulative_volume and
measure_cumulative_points functions directly found in measure.py.
The code assumes the section domains are represented as ordered polygon points, a known thickness of each section, known source site, and point locations for each section.