Batch Multi-peak Fitting & Constraints (Igor9)
Fri, 02/04/2022 - 12:28 am
I'm really enjoying the revamped Multi-Peak fitting functionality in Igor 9, many thanks to all involved. During a recent analysis session, I tried to apply constraints during the batch fitting procedure, mainly to ensure that the order of peaks remains unchanged to facilitate later analysis. I could not get this to work - the constrains I set had no effect at all. When inspecting the code in AutoMPFit GUI.ipf (Igor 9.00 (Build 37840)) I wasn't able to find the location where the constraints field in AutoMPFitInfoStruct is actually populated.
In line 394
the constraints wave is read from the user interface but this value doesn't seem to be used later on.
below line 394 resulted in my constrains wave being used.
Is this a simple bug or do I misunderstand something about the inner working of the Multi-Peak Batch GUI? I am somewhat reluctant to fiddle around with procedure files that ship with Igor.