displacement: the text of a jump back says nothing to do (its family, Perturbation); the docstring notes that the return is read on the corrected curves only, so a camera that stays while the curves come back is a Perturbation here, a Displacement in the labels (for the optimizer); figures unchanged

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
maximeandClaude Opus 5.5 committed 2026-11-18 10:45:43 +01:00
1 parent 47bc0acde2
commit 1ca6557af2
1 file changed
+3 -2
+3 -2
View File
@@ -7,7 +7,8 @@
the level before; a Perturbation, greyed (categories.py joins it to an overlapping Visibility or the level before; a Perturbation, greyed (categories.py joins it to an overlapping Visibility or
Obstruction episode, otherwise nothing to do). Otherwise "Lasting shift", or "Jump, not back Obstruction episode, otherwise nothing to do). Otherwise "Lasting shift", or "Jump, not back
yet" with less than BACK_H of hindsight: never greyed (maybe a real movement), the episode is the jump's instant; yet" with less than BACK_H of hindsight: never greyed (maybe a real movement), the episode is the jump's instant;
the new level becomes the level before. the new level becomes the level before. The return is read on the corrected curves only: a camera that keeps its new
position while the compensation brings the curves back is a Displacement in the labels, a Perturbation here.
""" """
import statistics import statistics
from datetime import timedelta from datetime import timedelta
@@ -20,7 +21,7 @@ BASE = 4 # measurements of the level before (1 h at 15 min); the return is
BACK_H = timedelta(hours=24) # E-002: plateaus up to 11.5 h BACK_H = timedelta(hours=24) # E-002: plateaus up to 11.5 h
JUMP_BACK = "Sudden jump, back to normal" JUMP_BACK = "Sudden jump, back to normal"
CHECK = " Check whether the structure moved: look at the images." CHECK = " Check whether the structure moved: look at the images."
LABELS = {"back": (JUMP_BACK, "A target jumped and came back within a day. The cause is not established: look at the images."), LABELS = {"back": (JUMP_BACK, "A target jumped and came back within a day: nothing to do."),
"lasting": ("Lasting shift", "A target shifted and stayed shifted for more than a day." + CHECK), "lasting": ("Lasting shift", "A target shifted and stayed shifted for more than a day." + CHECK),
"recent": ("Jump, not back yet", "A target shifted and has not come back yet." + CHECK)} "recent": ("Jump, not back yet", "A target shifted and has not come back yet." + CHECK)}