fastscapelib.RasterBoundaryStatus

class fastscapelib.RasterBoundaryStatus

Status at grid boundary nodes.

To disambiguate the cases at each of the four raster grid corners, node status is set from one of their two overlaping borders according to the following precedance order:

fixed value > fixed gradient > looped > core

__init__(*args, **kwargs) None

Overloaded initializer.

  1. __init__(self, status: NodeStatus) -> None

Set the same status for all the boundary nodes.

statusNodeStatus

Boundary node status.

  1. __init__(self, status: List[NodeStatus]) -> None

Set status at the left, right, top and bottom border nodes.

statuslist of NodeStatus

4-length list of node status for each border.

Methods

__init__(*args, **kwargs)

Overloaded initializer.

Attributes

bottom

Bottom boundary status.

is_horizontal_looped

Horizontal periodicity.

is_vertical_looped

Vertical periodicity.

left

Left boundary status.

right

Right boundary status.

top

Top boundary status.

property bottom

Bottom boundary status.

property is_horizontal_looped

Horizontal periodicity.

property is_vertical_looped

Vertical periodicity.

property left

Left boundary status.

property right

Right boundary status.

property top

Top boundary status.