Skip to content

Flows

Flows shared by the mathematics packages.

The package holds the Rössler flow.

RosslerInteraction(label, *, target='rossler', a=0.2, b=0.2, c=5.7)

Bases: Interaction

The laws of the Rössler flow x' = -y - z, y' = x + a y, z' = b + z (x - c).

Parameters:

Name Type Description Default
label str

The label of the interaction.

required
target Role

The element whose coordinates x, y, and z the flow moves.

'rossler'
a float

The feedback of the second coordinate on itself.

0.2
b float

The constant drive of the third coordinate.

0.2
c float

The threshold of the third coordinate's growth.

5.7

Examples:

>>> from skcomplex.systems.mathematics.dynamical_systems import RosslerInteraction
>>> RosslerInteraction('flow', target='rossler', c=4.0).c
4.0
Source code in src/skcomplex/systems/mathematics/common/flows/_rossler.py
40
41
42
43
44
45
46
47
48
49
50
51
52
53
def __init__(
    self,
    label: str,
    *,
    target: Role = 'rossler',
    a: float = 0.2,
    b: float = 0.2,
    c: float = 5.7,
) -> None:
    super().__init__(label)
    self.target = target
    self.a = a
    self.b = b
    self.c = c