Commit 2b71fb3
Moseq Pipeline (#1056)
* Add organization tables for keypoint pose data
* Add model training tables
* apply fit moseq model to data
* add ability to initialize model training from pre-existing model
* make model names unique
* add initial tutorial
* add moseq pipeline diagram
* get rid of PoseOutput and fetch pose data from PositionOutput
* remove PoseOutput and corresponding references
* allow passing of null entries from DLCPoseEstimation to PositionOutput for Pose-dependent analysis
* Apply suggestions from code review
Co-authored-by: Chris Broz <[email protected]>
* lint
* implement changes from review
* rename fetch_video_name to fetch_video_path
* cleanup outdated usages of PoseOutput
* Cleanup errors from removal of PoseOutput
* add get_position_interval_epoch
* Add method to get training results pdf
* Add description and example of hyperparameter sweep
* move moseq dir definition to spyglass config
* move moseq config function to method
* Update changelog
* update pipeline diagram
* Apply suggestions from code review
Co-authored-by: Chris Broz <[email protected]>
* move moseq into v1 folder
* add docstrings
* make video symlink more robust
* cleanup setup_project call
* cleanup config method
* Implement suggestions from code review
* cleanup readability of DLCPosV1 make conditions
* allow key argument when fetching video path
* add moseq dependencies
* Add moseq install instructions to tutorials
* accept key in all get video path functions
* fix spelling
* fix spelling
* make model project dir unique
* add default empty restriction
* add moseq to omitted tests
* tutorial error cleanup
* fix for codespell update
* typo fix
* remove jax version pin
* add docstrings
* make restriction in fetch_pose_dataframe compatible with export
* add moseq dirs to config example
* Update src/spyglass/position/v1/position_dlc_pose_estimation.py
Co-authored-by: Chris Broz <[email protected]>
* cleanup long settings if statements
* change to and register the behavior schema prefix
* Update src/spyglass/position/position_merge.py
Co-authored-by: Chris Broz <[email protected]>
* lint
---------
Co-authored-by: Samuel Bray <[email protected]>
Co-authored-by: Samuel Bray <[email protected]>
Co-authored-by: Chris Broz <[email protected]>1 parent 4f39dfa commit 2b71fb3
File tree
26 files changed
+4245
-57
lines changed- notebook-images
- notebooks
- py_scripts
- src/spyglass
- behavior
- v1
- common
- position
- v1
- utils
26 files changed
+4245
-57
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
9 | 10 | | |
10 | 11 | | |
11 | 12 | | |
| |||
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
25 | 30 | | |
26 | 31 | | |
27 | 32 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
54 | 59 | | |
55 | 60 | | |
56 | 61 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
285 | 285 | | |
286 | 286 | | |
287 | 287 | | |
288 | | - | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
| 314 | + | |
| 315 | + | |
| 316 | + | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
289 | 329 | | |
290 | 330 | | |
291 | 331 | | |
| |||
593 | 633 | | |
594 | 634 | | |
595 | 635 | | |
596 | | - | |
| 636 | + | |
597 | 637 | | |
598 | 638 | | |
599 | 639 | | |
| |||
607 | 647 | | |
608 | 648 | | |
609 | 649 | | |
610 | | - | |
| 650 | + | |
611 | 651 | | |
612 | 652 | | |
613 | 653 | | |
| |||
0 commit comments