Back to main index

 

TotalFit class : general description

 

TotalFit is a class that enables bringing multiple datasets of different types into one fitting session. The datasets are objects of specific classes, which are subclasses of Dataset class. TotalFit has no knowledge of internal workings of any datasets. Instead, it relies on common interface to communicate with them (give them parameters to evaluate model functions and receive chi-squared back). TotalFit implements tools such as 'dataset series' to make handling massive number of similar datasets easier. Control of fitting algorithms and presentation of results are functions of TotalFit. Datasets have their own fitting capability but very limited (for example, you cannot assign parameters of the model to be fixed or variable), therefore it is preferable to create TotalFit object (fitting session) even if you want to fit just one dataset.