sainsc.LazyKDE.find_local_maxima ================================ .. py:method:: sainsc.LazyKDE.find_local_maxima(min_dist, min_area = 0) Find the local maxima of the kernel density estimates. The local maxima are detected from the KDE of the total mRNA stored in :py:attr:`sainsc.LazyKDE.total_mRNA_KDE`. Background as defined in :py:attr:`sainsc.LazyKDE.background` will be removed before identifying local maxima. :param min_dist: Minimum distance between two maxima in pixels. :type min_dist: int :param min_area: Minimum area of connected pixels that are not background to be considered for maxima detection. Allows ignoring maxima in noisy spots. :type min_area: int, optional