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 :

data : ndarray

Array of data.

pt : tuple of ints

Starting point of peak.

thres : float

Threshold, above 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_connected

Next topic

nmrglue.analysis.segmentation.find_upward

This Page