driptorch.IgnitionCrew#

class driptorch.IgnitionCrew(same_velocity: bool = True)#

An ignition crew is a collection of igniters.

Parameters
same_velocitybool, optional

Whether all igniters in the crew must have the same velocity. Defaults to True.

__init__(same_velocity: bool = True)#

Methods

__init__([same_velocity])

add_igniter(igniter)

Add an igniter to the crew

clone_igniter(igniter, clones, **kwargs)

Alternate constructor for building an ignition crew by cloning a given igniters n times.

from_json(json_str)

Create an IgnitionCrew from a JSON string.

from_list(igniters, **kwargs)

Alternate constructor for building an ignition crew from a list of igniters

to_json()

Convert the IgnitionCrew to a JSON string.