class sherpa.sim.sample.ParameterScaleVector[source] [edit on github]

Bases: ParameterScale

Uncorrelated 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.

  • 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.


scales – One-dimensional scales array (npar elements, matching the free parameters in fit). The values are the sigma errors for the parameters (or the input values if given).

Return type

numpy array