Optional
baselineOptional
optimizationThe kind and options of the algorithm use to optimize parameters.
Optional
parametersoptions of each parameter to be optimized e.g. For a pseudovoigt shape it could have x, y, fwhm and mu properties, each of which could contain init, min, max and gradientDifference, those options will define the guess, the min and max value of the parameter (search space) and the step size to approximate the jacobian matrix respectively. Those options could be a number, array of numbers, callback, or array of callbacks. Each kind of shape has default parameters so it could be undefined
Optional
shapeKind of shape used for fitting.
baseline value to shift the intensity of data and peak