The sherpa.sim.sample module

Classes

NormalParameterSampleFromScaleMatrix()

Use a normal distribution to sample parameters (correlated),

NormalParameterSampleFromScaleVector()

Use a normal distribution to sample parameters (uncorrelated),

NormalSampleFromScaleMatrix()

Use a normal distribution to sample statistic and parameters (correlated),

NormalSampleFromScaleVector()

Use a normal distribution to sample statistic and parameters (uncorrelated),

ParameterSampleFromScaleMatrix()

Samples drawn from correlated parameters.

ParameterSampleFromScaleVector()

Samples drawn from uncorrelated parameters.

ParameterScale()

Create the scaling used to generate parameters.

ParameterScaleMatrix()

Correlated errors for the parameters.

ParameterScaleVector()

Uncorrelated errors for the parameters.

StudentTParameterSampleFromScaleMatrix()

Use a student's t-distribution to sample parameters (correlated),

StudentTSampleFromScaleMatrix()

Use a student's t-distribution to sample statistic and parameters (correlated),

UniformParameterSampleFromScaleVector()

Use a uniform distribution to sample parameters.

UniformSampleFromScaleVector()

Use a uniform distribution to sample statistic and parameters.

Functions

multivariate_t(mean, cov, df[, size])

Draw random deviates from a multivariate Student's T distribution Such a distribution is specified by its mean covariance matrix, and degrees of freedom.

multivariate_cauchy(mean, cov[, size])

This needs to be checked too! A reference to the literature the better

normal_sample(fit[, num, sigma, correlate, ...])

Sample the fit statistic by taking the parameter values from a normal distribution.

uniform_sample(fit[, num, factor, numcores])

Sample the fit statistic by taking the parameter values from an uniform distribution.

t_sample(fit[, num, dof, numcores])

Sample the fit statistic by taking the parameter values from a Student's t-distribution.

Class Inheritance Diagram

Inheritance diagram of ParameterScale, ParameterScaleVector, ParameterScaleMatrix, ParameterSampleFromScaleMatrix, ParameterSampleFromScaleVector, UniformParameterSampleFromScaleVector, NormalParameterSampleFromScaleVector, NormalParameterSampleFromScaleMatrix, StudentTParameterSampleFromScaleMatrix, NormalSampleFromScaleMatrix, NormalSampleFromScaleVector, UniformSampleFromScaleVector, StudentTSampleFromScaleMatrix