extraction.core.functions.cell.median

median(cell_mask, trap_image)[source]

Find the median of the pixels in the cell.

Parameters
cell_mask: 2d array

Segmentation mask for the cell.

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