digon_filter
DigonFilter
Bases: GraphFilter
Filters the edges that are connected in both directions.
filter(graph)
staticmethod
Filter out edges that are connected in both directions by keeping the arrow with the highest non-negative conduction velocity. The highest CV is equal to the edge with the smallest weight (usually Delta LAT) as distance is constant.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
graph |
Graph
|
Dgm graph object. |
required |
Returns:
| Name | Type | Description |
|---|---|---|
Graph |
Graph
|
Dgm graph object. |