nmrglue.analysis.segmentation.find_upward
- nmrglue.analysis.segmentation.find_upward(data, pt, thres, diag=False)[source]
Find points upward-connected to pt 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 upward-connected nodes.