Package ComboCode :: Package cc :: Package ivs :: Package sigproc :: Package lmfit :: Module printfuncs
[hide private]
[frames] | no frames]

Module printfuncs

source code


Created on Fri Apr 20 19:24:21 2012

@author: Tillsten

Changes:
  -  13-Feb-2013 M Newville
     complemented  "report_errors" and "report_ci" with
     "error_report" and "ci_report" (respectively) which
     return the text of the report.  Thus report_errors()
     is simply:
        def report_errors(params, modelpars=None, show_correl=True):
            print error_report(params, modelpars=modelpars,
                               show_correl=show_correl)
     and similar for report_ci() / ci_report()

Functions [hide private]
 
fit_report(params, modelpars=None, show_correl=True, min_correl=0.1)
return text of a report for fitted params best-fit values, uncertainties and correlations
source code
 
report_errors(params, **kws)
print a report for fitted params: see error_report()
source code
 
report_fit(params, **kws)
print a report for fitted params: see error_report()
source code
 
ci_report(ci)
return text of a report for confidence intervals
source code
 
report_ci(ci)
print a report for confidence intervals
source code
Variables [hide private]
  __package__ = 'ComboCode.cc.ivs.sigproc.lmfit'
Function Details [hide private]

fit_report(params, modelpars=None, show_correl=True, min_correl=0.1)

source code 
return text of a report for fitted params best-fit values,
uncertainties and correlations

arguments
----------
   params       Parameters from fit
   modelpars    Optional Known Model Parameters [None]
   show_correl  whether to show list of sorted correlations [True]
   min_correl   smallest correlation absolute value to show [0.1]