uvex_transients.models.core.base.Spectrum.simulate#

Spectrum.simulate(nu: Quantity, size: int = 1, *, rng: RNGInput = None) → Quantity[source]#

Draw random parameter realizations and evaluate the model at the given frequency.

Equivalent to self.eval(nu, **self.sample_parameters(size=size, rng=rng)).

Parameters:
Returns:

\(S(\nu)\), in 1/Hz.

Return type:

Quantity

See also

eval

The underlying evaluation.

sample_parameters

The underlying sampling.