ovrlpy.get_pseudocell_locations =============================== .. py:function:: ovrlpy.get_pseudocell_locations(df, genes=None, min_distance = 10, KDE_bandwidth = 1, min_expression = 5) Returns a list of local maxima in a kde of the data frame, interpreted as locations with high likelyhood to contain a cell. :param df: A dataframe of coordinates. :type df: pandas.DataFrame :param genes: A list of genes to include in the expression model. Defaults to all genes in the dataframe. :type genes: list, optional :param min_distance: The minimum distance between local maxima. :type min_distance: int, optional :param KDE_bandwidth: Bandwidth of the Gaussian smoothing function used during the KDE. :type KDE_bandwidth: float, optional :param min_expression: A minimal expression threshold to report as local maximum regions of interest. :type min_expression: float, optional :returns: **pseudocell_locations** -- A list of local maxima in a KDE of the data frame. :rtype: list