Developing new functionalities in TotalFit requires use of internal methods listed here.
Never move the project! You MUST create a new project if you have a new version of source code in a different folder!
Best source of information is TotalFit.m
Methods to enable design of custom randomizers
split_parameters() and recombine_parameters() use internal lookup tables to take model parameters out from and put them back into all_parameters vector.
SS() method combines sums of squares of all individual datasets normalized by number of points in each dataset (so it becomes average ratio of a residual to the standard error of dependent variable. SS is a target function the fitting routine calls.