extraction.core.functions.cell.max2p5pc

max2p5pc(cell_mask, trap_image)[source]

Find the mean of the brightest 2.5% of pixels in the cell.

Parameters
cell_mask: 2d array

Segmentation mask for the cell.

trap_image: 2d array
:rtype: :py:class:`float`