Stochastic Motor Model#
- class rocketpy.stochastic.stochastic_motor_model.StochasticMotorModel[source]#
Stochastic Motor Model class that inherits from StochasticModel. This class makes a common ground for other stochastic motor classes.
See also
- __init__(obj, **kwargs)[source]#
Initialize the StochasticModel class with validated input arguments.
- Parameters:
obj (
object) – The main object of the class.seed (
int, optional) – Seed for the random number generator. The default is None so that a newnumpy.random.Generatorobject is created.**kwargs (
dict) – Dictionary of input arguments for the class. Valid argument types include tuples, lists, ints, floats, or None. Arguments will be validated and saved as class attributes in a specific format, which is described in the “Working with Stochastic Models” page.
- Raises:
AssertionError – If the input arguments do not conform to the specified formats.