removed_points#
- movement.napari.layer_wiring.removed_points(layer)[source]#
Return the frames and individuals of points removed from
layer.Removal is defined by
removed_points_mask(), the same rule used to flag points aseditedon save.- Parameters:
layer (
Points) – A movement Points layer. Its loaded state is read fromlayer.metadata[POINTS_PROPERTIES_KEY].- Return type:
- Returns:
frames (numpy.ndarray) – Frame index of each removed point.
individuals (numpy.ndarray) – Individual of each removed point, aligned with
frames. Both arrays are empty if the layer was not created bymovement.