nmrglue.analysis.segmentation.find_connected

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

Find points 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 connected nodes.

Previous topic

nmrglue.analysis.segmentation.find_downward

Next topic

nmrglue.analysis.segmentation.find_nconnected

This Page