deepof.utils.set_missing_animals

deepof.utils.set_missing_animals(coordinates: deepof_project, tab_dict: dict, lik_dict: dict, animal_ids: list | None = None)

Set the coordinates of the missing animals to NaN.

Parameters:
  • coordinates (project) – Project object.

  • tab_dict (dict) – Dictionary with the coordinates of the body parts.

  • lik_dict (dict) – Dictionary with the likelihood of the tracking for each body part and animal.

  • animal_ids (list) – List with the animal ids to remove. If None, all the animals with missing data are processed.

Returns:

Dictionary with the coordinates of the body parts after removing missing animals.

Return type:

tab_dict (dict)