uvex_transients.models.arnett.LineBlanketedArnettDecaySED.sample_parameters#
- LineBlanketedArnettDecaySED.sample_parameters(size: int = 1, *, rng: RNGInput = None, parameters: list[str] | None = None) ParameterSamples#
Draw random samples of some or all of this model’s parameters.
- Parameters:
size (
int) – Number of samples to draw per parameter.rng (
numpy.random.Generator,int, orNone) – Random-number source. An integer or None is turned into oneGeneratorthat every parameter then draws from in turn, so the parameters are independent of each other and an integer seed still reproduces the same draws.parameters (
listofstr, optional) – Names of the parameters to sample. IfNone(the default), every parameter is sampled.
- Returns:
{name: samples}for each requested parameter, each with shape(size,).- Return type: