Fits a set of points to the sum of a set of bell functions.
An object containing the x and y data to be fitted.
A list of initial parameters to be optimized. e.g. coming from a peak picking [{x, y, width}].
Options for optimize
Fits a set of points to the sum of a set of bell functions.