PeakCallerMaximumFilter#

class PeakCallerMaximumFilter(number_of_peaks=1000, min_distance=1, min_boundary_distance=0, batch_dims=None, minimum_score=None, maximum_score=None, **kwargs)[source]#

Bases: PeakCaller

Find local maxima by applying a maximum filter and enforcing a distance constraint subsequently. This is similar to the strategy implemented in skimage.feature.peak_local_max.

Methods

PeakCallerMaximumFilter.call_peaks(scores, ...)

Call peaks in the score space.

PeakCallerMaximumFilter.merge([candidates])

Merge multiple instances of PeakCaller.

PeakCallerMaximumFilter.oversample_peaks(...)

Refines peaks positions in the corresponding score space.