Grid_search_fit_only() runs a series of fitting runs (using fit_only() method) with a specified parameter varied on a grid given by its ranges looking for lowest sum of squares. Upon completion, the parameter set that resulted in the smallest sum of squares is set as a best-fit-parameter set. The method creates a bar graph of sums of squares versus grid index so you can visually see sensitivity of the target function to the starting parameter value.

For a specific usage see TotalFit.m