cottax.ode.consumers.visualization module

Registers how an ODE condition is drawn (NodeDrawing), its category (INTEGRATE), and how the names its vocabulary mints are written (MintDrawing).

INTEGRATE = Kind(name='integrate', legend="integrate (x' = r)", title='each state integrated at its rate, from its initial value over a span', slotted=False, colour=('#b9dbe0', '#2f7682'))

An ODE’s one category, in teal.

class RateDrawing[source]

Bases: MintDrawing

A state’s rate: dot{x}.

plain: AbstractVar[Notation] = Around()
latex: AbstractVar[Notation] = Around()
class InitialDrawing[source]

Bases: MintDrawing

A state’s initial value: x₀.

plain: AbstractVar[Notation] = Around()
latex: AbstractVar[Notation] = Around()
SPAN = Text(plain='t ∈', latex='t \\in')

What labels the rates’, the initial values’ and the span’s slots.

class OdeDrawing[source]

Bases: NodeDrawing

INTEGRATE: the rates, the initial values and the span, a slot each.

drawn(node: OdeCondition)[source]

Its category and slots.

Return type:

Drawn