State
Field states.
- class immunowave.state.State[source]
-
Field variables. Subclass this to implement your state, adding fields for the different components of the system.
- plot(time_idx=None, axes=None, **kwargs)[source]
Plot the state.
- Parameters:
time_idx (int | None) – If
self
is theys
attribute of adiffrax.Solution
with a series of time points, this index specifies which time index to plotaxes (ndarray[tuple[Any, ...], dtype[Axes]] | None) – Axes on which to plot. If
None
, a new figure is created.kwargs (Any) – Keyword arguments passed to
immunowave.spatial.ScalarField.plot()
.
- Return type: