The inputs for an initial guess are as follows, where the dimensions of all inputs are (np x 1), np being the number of peaks in the initial guess. Note that the only required fields for the initial guess are the ‘fit0.deltaX’ fields. INFOS will estimate an initial value for the other fields if omitted. See the description of the 'fit' structure, since the fields in 'fit0' have the same form as those in 'fit'.
fit0.deltaX: Peak positions (required)
fit0.I: Peak amplitudes
Only one of the following is used:
fit0.lwX: Peak linewdith
fit0.FWHMX: Peak FWHM
fit0.lw_indX: Peak index. This may only be used if the ‘shapes0’ variable is provided