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
- datandarray
Array of data.
- pttuple of ints
Starting point of peak.
- thresfloat
Threshold, below this nodes are considered noise.
- diagbool, optional
True to include diagonal neighbors in connection.
- Returns
- nodeslist
Indicies of connected nodes.