Covariance
- class sherpa.estmethods.Covariance(name: str = 'covariance')[source] [edit on github]
Bases:
EstMethod
The covariance method for estimating errors.
Attributes Summary
Methods Summary
compute
(statfunc, fitfunc, *, pars, parmins, ...)Estimate the error range.
Attributes Documentation
- config = {'eps': 0.01, 'maxiters': 200, 'sigma': 1, 'soft_limits': False}
Methods Documentation
- compute(statfunc: Callable[[Concatenate[Sequence[float] | ndarray, P]], tuple[float, ndarray]], fitfunc: FitFunc, *, pars: ndarray, parmins: ndarray, parmaxes: ndarray, parhardmins: ndarray, parhardmaxes: ndarray, limit_parnums: ndarray, freeze_par: Callable, thaw_par: Callable, report_progress: Callable, get_par_name: Callable, statargs=(), statkwargs={}) tuple[Sequence[SupportsFloat | None] | ndarray, Sequence[SupportsFloat | None] | ndarray, Sequence[int | None] | ndarray, int, ndarray | None] [source] [edit on github]
Estimate the error range.
Changed in version 4.17.1: All arguments other than statfunc and fitfunc are now keyword-only.
Notes
The statargs and statkwargs arguments are currently unused.