Repository navigation
Session Review: drawn arena, N x N grid, and exploration % - #237
Merged
Merged
Conversation
…xplored Session Review now finds each session's arena (a saved <session>_arena.json, else the batch's pose_calibration.json) and outlines it on the video. An Arena menu draws or loads one and saves it beside the session. The Range tab gets an Exploration section: pick a grid (Off, 2x2 ... 20x20), and it reports cells entered, % explored and the time to enter every cell. The grid is laid out in floor centimetres and mapped through the arena's homography, so cells cover equal floor under a tilted camera; round and plus-maze arenas count only cells on the floor. Visited cells are shaded, and the numbers reach the epoch table and the CSV exports.
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
<session>_arena.jsonbeside the session or its video, then for the batch'spose_calibration.json. A new Arena menu (Draw arena… / Load arena…) saves one beside the session. A new Arena transport toggle shows or hides the outline and grid.New Qt-free module:
glider/analysis/behavior/exploration.py.Notes
Test plan
tests/unit/analysis/behavior/test_exploration.py: geometry, perspective, coverage counts, window limits, finding the arena file and the batch calibrationTestArenaGridintests/unit/gui/behavior/test_analysis_window.py: inspector numbers, grid change, Off, missing arena, cohort rows and metric catalog, saving, painting