nmrglue.analysis.segmentation.find_downward

nmrglue.analysis.segmentation.find_downward(data, pt, thres, diag=False)[source]

Find points downward-connected to a point in data.

Parameters :

data : ndarray

Array of data.

pt : tuple of ints

Starting point of peak.

thres : float

Threshold, below this nodes are considered noise.

diag : bool, optional

True to include diagonal neighbors in connection.

Returns :

nodes : list

Indicies of downward-connected nodes.

Previous topic

nmrglue.analysis.segmentation.label_upward

Next topic

nmrglue.analysis.segmentation.find_connected

This Page