Skip to content

cv_filter

CvFilter

Bases: GraphFilter

Filter out connections that do not fall within the range [cv_min, cv_max].

Data about connected/disconnected edges due to the CV check is stored as cv_mask (boolean array) in the graph as a part of DirectedMask object.

filter(graph) staticmethod

Apply CVGraphFilter to filters connections that do not fall within the conduction velocity range [cv_min, cv_max].

Parameters:

Name Type Description Default
graph Graph

DGM graph object.

required

Returns:

Name Type Description
Graph Graph

DGM graph object.