Question
Konstantinos Chatzipanagis
I was wondering what is the usefulness of constraints while fitting.......There is a specific option to apply constraints defining minimum and maximum values of peak parameters (position,width and height)......However, defining the minimum fraction (option below smooth factor) could be also considered as a constraint......It seems to me that letting all peak parameters to vary until the best fit is found would be the best choice.....
Thank you
* Avoid having the fit result in parameters that apply at a local minimum rather than a global minimum. See this discussion for exactly a case in point. http://www.igorexchange.com/node/6192
* Apply a physically realistic boundary condition to an otherwise unknown parameter in a larger group of parameters. An example is in spectroscopy, where the peak width or position may be rather well-defined based on the chemistry and only the amplitude (amount) of a component is truly unknown.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
December 22, 2014 at 06:18 am - Permalink
December 22, 2014 at 03:51 pm - Permalink
In the second case where multiple peaks are being fit under an envelope (some call the "peak deconvolution" rather than the truer peak fitting), I would state that physical insight should trump unconstrained peak fitting. One can very easily fit a broad Gaussian with two Gaussian peaks of various widths, positions, and heights. The best case is to start with a set of constraints based on physical insight. In some cases, a good approach is to hold one of the three parameters constant (generally width or position) for one or more sub-peaks, iterate to a solution, then allow the constrained parameter to vary within a reasonable bounds. IOW, force the system to a state close to where it should be for a "perfect" physical system, then "tweak" the fit around that point to allow for finer variations in the state of the physical system.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
December 23, 2014 at 04:11 am - Permalink
December 23, 2014 at 04:53 am - Permalink
So, for chemical spectroscopy in particular, the best peak fitting is done either with some reasonable _a prior_ information about the expected sample chemistry (i.e. constrained fitting) or with some logical _post-fitting_ reasoning about the meaning of the results vis-a-vis the predicted sample chemistry (i.e. unconstrained fitting). The absolute best is to know approximately where the sample chemistry is expected to be to start and also to confirm the fitting results at the end, especially with other analysis methods.
--
J. J. Weimer
Chemistry / Chemical & Materials Engineering, UAHuntsville
December 23, 2014 at 06:26 am - Permalink