From 1ca6557af2b5541d315baa0704a11b7f6a3898c8 Mon Sep 17 00:00:00 2001 From: maxime Date: Wed, 18 Nov 2026 10:45:43 +0100 Subject: [PATCH] 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 --- scripts/displacement.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/displacement.py b/scripts/displacement.py index b8a37d6..a253653 100644 --- a/scripts/displacement.py +++ b/scripts/displacement.py @@ -7,7 +7,8 @@ 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 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 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 JUMP_BACK = "Sudden jump, back to normal" 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), "recent": ("Jump, not back yet", "A target shifted and has not come back yet." + CHECK)}