locate_specimens¶
-
shampoo.locate_specimens(wave_cube, positions, labels, distances, plots=False)[source] [edit on github]¶ Identify the (x, y, z) coordinates of a specimen.
Parameters: wave_cube :
ndarrayCube of reconstructed waves
positions :
ndarray(x,y,z) positions of objects detected by the blob finder
labels :
ndarrayClustering labels for each (x,y,z) coordinate, identifying groups of positions, i.e., single particles detected at multiple z-planes
distances :
ndarrayPropagation distances, same length as the first axis of
complex_cubeReturns: specimen_coordinates :
ndarray(x, y, z) coordinates of each detected specimen
specimen_coordinates :
ndarraySignificance of each specimen detection. See docs of
find_focus_planefor hints on how to interpret the significance quantity.