Recent Changes · Search:

Dispense


Navigation Tips - Dritte


PmWiki

pmwiki.org

edit SideBar

B1

Index


Many run single group sequential fit This is the flow of information in mujpy to produce the fit by
dofit_singlegroup_sequential
Back to Fit Types

dashboard, containing a dict, is the same json file as in A1 single run single group. Likewise also the following methods reamin the same

aux int2min produces the minuit list of guess parameter values

aux int2_method_key takes care of passing the right parameter to the right component method.

aux mint2int translates back best fit values to component parameters

mumodel _load_data_ preloads time, asymmetry and asymmetry errors, methods and key lists, alpha. The last is deprecated, only needed for linear "da" corrections.

mumodel _chisquare_ is the cost function.

mumodel _add_single_ assigns the correct parameters to each component, calculated from the Minuit array of parameters

  • the_model._load_data_(time,asymmetry,...),
  • m = Minuit(the_model._chisquare_,names,*values)
  • m.errors = errors, etc
  • m.migrad()

Minuit migrad() method calls

  • the_model._chisquare_, which in turns calls
  • the_model._add_single_(x,*argv), where argv is the Minuit array of parameters. Their assignment to component methods is performed
    • scanning the method list
      • scanning the keys list of each method and evaluating each key

Back to Fit Types


Index

Edit - History - Print - PDF - Recent Changes - Search
Page last modified on December 12, 2021, at 01:52 PM