Dear users,
I am confused using the Gauss Peak Fit function and it's weights input.
My goal is to eliminate the sharp peak in the input data (white). Now, I see that the overall tendency is a Gauss shape.
My first attempt was to introduce a weighting that would prefer the outer data instead of the central ones (that is "weight1 (no zero weights)" -- red V-shaped curve). Well, I've got a Gauss curve that is not so good ("Gauss1" -- red curve).
My next attempt was to set some weight values in the center to zero ("weights2 (some zero-weights)" -- blue dots with zeros at center time). Surprise, surprise, it has got even worse ("Gauss2"-- blue curve).
So, I deleted I set some values in the amplitudes to NaN -- those values which are part of the sharp peak. The results is not publishable at all.
As next, I deleted the 7 dots around the center completely and fitted the two wings of the input data. Then I interpolated the missing rest and came up with "Gauss3" -- the orange curve.
As a cherry on the top of it. I glued the original data with the interpolated Gauss3 to finally get rid of the sharp central peak.
My question is: Why did Gauss Peak Fit ignored my weights? According to the help, they should not be non-zero; that is all.