compute_segmap_gauss

muse_origin.compute_segmap_gauss(data, pfa, fwhm_fsf=0, bins='fd')[source]

Compute segmentation map from an image, using gaussian statistics.

Parameters
dataarray

Input values, typically from a O2 test.

pfafloat

Desired false alarm.

fwhmint

Width (in integer pixels) of the filter, to convolve with a PSF disc.

binsstr

Method for computings bins (see numpy.histogram_bin_edges).

Returns
float, array

threshold, and labeled image.