I created a fit function with an external dll function for fitting with peak replicas. In principle this works fine (using a loop over the peak number in the dll code). But to display the peak curves for each replica after every iteration fails. The individual peak curves are constant 0.
Can anyone explain to me how the generation of the separate peak curves is implemented in origin. Maybe this would help.