ParameterScaleMatrix¶
- class sherpa.sim.sample.ParameterScaleMatrix[source] [edit on github]¶
Bases:
sherpa.sim.sample.ParameterScale
Correlated errors for the parameters.
Attributes Summary
Methods Summary
get_scales
(fit[, myscales])Return the samples.
Attributes Documentation
- sigma = 1¶
Methods Documentation
- get_scales(fit, myscales=None)[source] [edit on github]¶
Return the samples.
- Parameters
fit (sherpa.fit.Fit instance) – This defines the thawed parameters that are used to generate the samples, along with any possible error analysis.
myscales (numpy array or None, optional) – The scales to use. If None then they are calculated from the fit.
- Returns
scales – Two-dimensional scales array (npar by npar elements, matching the free parameters in fit). The values are the covariance matrix for the parameters (or the input values if given).
- Return type
numpy array