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 :

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 upward-connected nodes.

Previous topic

nmrglue.analysis.segmentation.find_nconnected

Next topic

nmrglue.analysis.segmentation.mark_dseg

This Page