Skip to content

weight_filter

CorrelationFilter

Bases: WeightFilter

filter(graph) staticmethod

DeltaLatFilter

Bases: WeightFilter

filter(graph) staticmethod

WeightFilter

Bases: GraphFilter, ABC

The DeltaLatFilter removes connections from the graph that have a delta LAT that does not fall within the given range. If either an upper or lower bound is missing, then this will be -inf or inf respectively.

filter_weights(graph, weight_name, min_weight=None, max_weight=None) staticmethod

Apply an upper and lower bound delta LAT filter. If either the upper or lower bound is None, then it will skip said bound.

Parameters:

Name Type Description Default
graph Graph

Dgm graph object.

required

Returns:

Name Type Description
Graph Graph

Dgm graph object.