PeakCallerFast#
- class PeakCallerFast(shape, num_peaks=1000, min_distance=1, min_boundary_distance=0, min_score=None, max_score=None, batch_dims=None, shm_handler=None, **kwargs)[source]#
Bases:
PeakCaller
Subdivides the score space into squares with edge length
min_distance
and determiens maximum value for each. In a second pass, all local maxima that are not the local maxima in amin_distance
square centered around them are removed.Methods
PeakCallerFast.__call__
(scores, ...)Update the internal parameter store based on input array.
PeakCallerFast.call_peaks
(scores, **kwargs)Call peaks in the score space.
PeakCallerFast.merge
([candidates])Merge multiple instances of
PeakCaller
.PeakCallerFast.oversample_peaks
(scores, ...)Refines peaks positions in the corresponding score space.