fitgaussian_iterativ#
- radionets.evaluation.jets.fitgaussian_iterativ(data, i=0, visualize=False, path=None, save=False, plot_format='pdf')[source]#
Fitting a gaussian iteratively around the maxima. Fit -> Substract -> Fit -> Substract … until stopping criteria
- Parameters:
- data2d array
Image
- iint
Index of input image
- visualizebool
If the gauss should be plotted or not
- pathstring
Path to where the image is saved
- savebool
If the image is saved in path or not
- plot_formatstr
Format of the saved filed (png, pdf, …)
- Returns:
- result_lmfastropy model
Fitted astropy model object