sequence.sequence module#
Sequence’s main API for constructing sequence-stratigraphic models.
- class sequence.sequence.Sequence(*args, **kwds)[source]#
Bases:
Component
Landlab component interface to the Sequence model.
- __init__(grid: SequenceModelGrid, time_step: float = 100.0, components: Iterable | None = None)[source]#
Create a Sequence model.
- Parameters:
grid (SequenceModelGrid) – A model grid.
time_step (float, optional) – The time step at which the model will run each of its components.
components (iterable, optional) – A list of components to run every time step.
- add_layer(dz_at_cell: ndarray[Any, dtype[floating]]) None [source]#
Add a new layer to each cell.
Properties#
- dz_at_cellarray-like
Thickness of the new layers for each cell along the profile.
- layer_properties() dict[str, _SupportsArray[dtype[Any]] | _NestedSequence[_SupportsArray[dtype[Any]]] | bool | int | float | complex | str | bytes | _NestedSequence[bool | int | float | complex | str | bytes]] [source]#
Return the properties being tracked at each layer.
- Returns:
properties – A dictionary of the tracked properties where the keys are the names of properties and the values are the property values at each column.
- Return type:
- layer_reducers() dict[str, Any] [source]#
Return layer-reducers for each property.
- Returns:
reducers – A dictionary of reducers where keys are property names and values are functions that act as layer reducers for those quantities.
- Return type: