Before any fitting:
So, what I do in the fitting is I transform the model as if it had been broadened and shifted by some given amount, then evaluate the "likelihood" (this process is the Bayesian methodology that allows minimizing chi squared as a fitting mechanism...) at those values. Then, the Levenburg-Marquardt algorithm finds the highest likelihood value, which should be the correct values of doppler shift and line broadening.
After cross-correlation (to find an initial guess) and Levenburg-Marquardt:
Let's zoom in on that fit:
Fitting algorithm estimates a doppler shift of 14.9999878 (I expected 15) and a line broadening of 0.0999971716 (with no prior information!! I started the line broadening at 0, and expected to get 0.1).
Not bad!
No comments:
Post a Comment