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 a min_distance square centered around them are removed.

Attributes

PeakCallerFast.shareable

Indicate whether the analyzer can be shared across processes.

Methods

PeakCallerFast.__call__(state, scores, ...)

Update the internal parameter store based on input array.

PeakCallerFast.call_peaks(scores, **kwargs)

Call peaks in the score space.

PeakCallerFast.init_state()

Initialize the analyzer state.

PeakCallerFast.merge([results])

Merge multiple instances of PeakCaller.

PeakCallerFast.oversample_peaks(scores, ...)

Refines peaks positions in the corresponding score space.

PeakCallerFast.result(state[, fast_shape, ...])

Finalize the analysis result with optional postprocessing.