‘par.setup_only’ accepts a string, ‘y’, or ‘n’. When set to ‘y’, the FitSpec function will not fit the given spectrum, but rather will only determine the parameters in the ‘par’ structure and perform the initial peak pick/linewidth measurement. This is useful if one wants to see how the fit will be setup before running the entire fitting routine.
For setup only:
par.setup_only=’y’;