However, this results in an error: "(1) (2) Error in constraints - Please check syntax such as parameter names and operators."
This could be due to the fact that only linear constraints are allowed (though not explicitly mentioned in the "Peak Analyzer" dialog box, unlike in the "NLFit" dialogue box).
I am not very sure how to tweak the "Auto Parameter Initialization" code itself without affecting the other parameters (which I do want to be auto-initialized as in the original code).
I am new to programming in Origin. Any inputs would be helpful.
If you want to use the parameter initialization code, I think you could press F9 to open Fitting Function Organizer: 1. Click to select Voigt function of PFW category in the left panel 2. Click the button next to Parameter Initialization box to open Code Builder 3. Edit the code 4. Return to Fitting Function Organizer and save the edited function by clicking Save button in the right panel