fitgaussian_crop#

radionets.evaluation.jets.fitgaussian_crop(data, amp_scale=0.97, crop_size=0.1)[source]#

Fitting a gaussian around the maximum

Parameters:
data2d array

Image

amp_scalefloat

Reduces the fitted amplitude, encounters (partially) the problem of overlapping gaussians: amplitude in image is too high -> fit is too high -> next gaussian is shifted to the outside

crop_sizefloat

proportionate size of the image after cropping

Returns:
result_lmfastropy model

Fitted astropy model object