compute_local_max

muse_origin.compute_local_max(correl, correl_min, mask, size=3)[source]

Compute the local maxima of the maximum correlation and local maxima of minus the minimum correlation distribution.

Parameters
correlarray

T_GLR values with edges excluded (from max correlation)

correl_minarray

T_GLR values with edges excluded (from min correlation)

maskarray

mask array (true if pixel is masked)

sizeint

Number of connected components

Returns
array, array

local maxima of correlations and local maxima of -correlations