nmrglue.analysis.segmentation.find_nconnected¶
-
nmrglue.analysis.segmentation.
find_nconnected
(data, pt, thres, diag=False)[source]¶ Find points connected to pt in data below threshold.
- Parameters
- datandarray
Array of data.
- pttuple of ints
Starting point of peak.
- thresfloat
Threshold, above this nodes are considered noise.
- diagbool, optional
True to include diagonal neighbors in connection.
- Returns
- nodeslist
Indicies of connected nodes.