Commit 1f24a2f9 authored by lucas_miranda's avatar lucas_miranda
Browse files

Fixed a bug that made contacts too stringent

parent 3c4fa0b5
......@@ -58,7 +58,7 @@ class project:
interpolate_outliers: str = "MA",
interpolation_limit: int = 15,
interpolation_std: int = 2,
likelihood_tol: float = 0.9,
likelihood_tol: float = 0.75,
model: str = "mouse_topview",
path: str = deepof.utils.os.path.join("."),
smooth_alpha: float = 0.99,
......
......@@ -522,7 +522,7 @@ def rule_based_tagging(
animal_ids[1] + bparts[-1],
hparams["close_contact_tol"],
arena_abs,
arena[2],
arena[1][1],
)
)
......@@ -540,7 +540,7 @@ def rule_based_tagging(
hparams["side_contact_tol"],
rev=rev,
arena_abs=arena_abs,
arena_rel=arena[2],
arena_rel=arena[1][1],
)
)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment