RoiObj.localize_sources(xyz, source_name=None, replace_bad=True, bad_patterns=[-1, 'undefined', 'None'], replace_with='Not found', distance=None)[source][source]

Localize source’s using this ROI object.

xyz : array_like

Array of source’s coordinates of shape (n_sources, 3)

source_name : array_like/list | None

List of source’s names.

replace_bad : bool | True

Replace bad values (True) or not (False).

bad_patterns : list | [None, -1, ‘undefined’, ‘None’]

Bad patterns to replace if replace_bad is True.

replace_with : string | ‘Not found’

Replace bad patterns with this string.