Stochastic Nose Cone#

class rocketpy.stochastic.StochasticNoseCone[source]#

The StochasticNoseCone class inherits from the StochasticModel. This class is used to store a NoseCone object along with the uncertainty of its parameters.

See also

Stochastic Model and NoseCone

Variables:
  • object (NoseCone) – NoseCone object to be used as a base for the Stochastic nose cone.

  • length (tuple, list, int, float) – Length of the nose cone in meters.

  • kind (list[str]) – List with a string representing the kind of nose cone.

  • base_radius (tuple, list, int, float) – Nose cone base radius in meters.

  • bluffness (tuple, list, int, float) – Bluffness of the nose cone.

  • rocket_radius (tuple, list, int, float) – The reference rocket radius used for lift coefficient normalization, in meters.

  • name (list[str]) – List with the name of the NoseCone. This attribute can not be randomized.

__init__(nosecone, length=None, kind=None, base_radius=None, bluffness=None, rocket_radius=None, power=None)[source]#

Initializes the Stochastic Nose Cone class.

See also

See, information.

Parameters:
  • nosecone (NoseCone) – NoseCone object to be used as a base for the Stochastic nose cone.

  • length (tuple, list, int, float) – Length of the nose cone in meters.

  • base_radius (tuple, list, int, float) – Nose cone base radius in meters.

  • bluffness (tuple, list, int, float) – Bluffness of the nose cone.

  • rocket_radius (tuple, list, int, float) – The reference rocket radius used for lift coefficient normalization, in meters.

_validate_kind(kind)[source]#

Validates the kind input. If the kind input argument is not None, it must be a list of strings.

create_object()[source]#

Creates and returns a NoseCone object from the randomly generated input arguments.

Returns:

nosecone – NoseCone object with the randomly generated input arguments.

Return type:

NoseCone