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)}