PurityRBFitter.fit_data_pattern(patt_ind, fit_guess)[source]

Fit the RB results of a particular pattern to an exponential curve.

  • patt_ind (int) – index of the subsystem to fit.

  • fit_guess (list) – guess values for the fit.

Puts the results into a list of fit dictionaries where each dictionary corresponds to a pattern and has fields:

  • params - three parameters of rb_fit_fun. The middle one is the exponent.

  • err - the error limits of the parameters.