Repository navigation
Pose jump gate, round-arena cell clip, new circle tool, frame export - #244
Merged
Merged
Conversation
…export - Arena gate now also blanks single-animal keypoint teleports: a track is cut wherever a step needs more than max_speed_cm_s (200), and islands up to max_excursion_s (1 s) are blanked shortest first. Settings and counts are recorded in the gate block; pre-jump blocks read as having no jump gate. - Session Review clips the visited-cell fill to the arena outline, so round and plus arenas no longer show a filled square. - Circle arena tool: drag out from the centre, drag inside to move, rim handles stretch (Shift keeps it round, Ctrl rotates), wheel scales. - Session Review Export menu gains "Current frame (PNG)…", rendered at video resolution with the active overlays.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
vision/arena_gate.py): the arena gate now blanks single-animal keypoint teleports. Each keypoint track is cut wherever a step would need more thanmax_speed_cm_s(default 200 cm/s); islands up tomax_excursion_s(default 1 s) are blanked shortest first, so the position the animal holds longest wins. Settings andkeypoints_jumped/jumped_by_keypointare stored in thearena_gateblock; blocks written before this read asmax_speed_cm_s: Noneso they don't pool with jump-gated files.gui/review/viewer.py): visited exploration cells are clipped to the arena outline, so circle and plus arenas no longer show a filled bounding square.gui/dialogs/arena_dialog.py): drag out from the centre (click drops a default circle), drag inside to move, four rim handles stretch one axis with the opposite rim fixed (Shift keeps it round, Ctrl rotates), wheel scales, Undo clears. Existing ellipses reopen unchanged.gui/behavior/analysis_window.py): Export ▾ → "Current frame (PNG)…" renders the current frame at video resolution with whatever overlays are on, without the frame caption.Notes
_raw) to apply the jump gate.Test plan
TestJumps(6),TestCircleTool(11),TestRenderFrame(4), round-arena cell clip testtest_every_pi_section_fits_480, which also fails onmain