I was wondering if there is a way of performing a nonlinear robust fit.
A gaussian, for example.
if you are fitting a simple gaussian, you could convert to log scale and perform a linear robust fit.
In other cases, you could eventually use a different model for your weights in the least square function. An example of this used in Alice is
Great! Thank you very much.