PeakCallerMaximumFilter#
- class PeakCallerMaximumFilter(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
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
.Attributes
Indicate whether the analyzer can be shared across processes.
Methods
PeakCallerMaximumFilter.__call__
(state, ...)Update the internal parameter store based on input array.
PeakCallerMaximumFilter.call_peaks
(scores, ...)Call peaks in the score space.
Initialize the analyzer state.
PeakCallerMaximumFilter.merge
([results])Merge multiple instances of
PeakCaller
.Refines peaks positions in the corresponding score space.
PeakCallerMaximumFilter.result
(state[, ...])Finalize the analysis result with optional postprocessing.