-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* restructure dataframe from DLC and add events column. rename references to pose_estimation_model_str to model_str. * Move addition of video file column outside DLC df restructuring. Extract subset of frames just after DLC df reformatting. Add options for reading a multianimal DLC dataframe. * updated mypy in precommits * fix some mypy errors but still ignoring some types * added comments * add ROI to dataframe * add shapely to pyproject * rename roi_names for ROI_tags * reorder fields in sample metadata file with ROIs * insert video_file column after model_str * put ROI assignment in a separate function. add option for defining a custom hierarchy of ROIs. * add custom ROI hierarchy option in project config * add option for buffer around the ROIs boundaries (not mandatory) * minor additions to docstring * add cases for when ROIs or Events are not defined for a video. * move initialisation of ROI column outside aux function. added comment to why initialising column for all video dataframes * added shapely to mypy override * add pose data for jwaspE_nectar-open-close_control.avi * adding co-authorship for svg_path_to_polygon auxiliary function Co-authored-by: Niko Sirmpilatze [email protected] * clarify hierarchy of ROIs definition. spell out slc. replace dot access in dataframe by square brackets access. remove metadata as input. * small changes from review feedback * revert mypy version
- Loading branch information
Showing
7 changed files
with
364 additions
and
118 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Binary file added
BIN
+4.12 MB
.../jwaspE_nectar-open-close_controlDLC_resnet50_jwasp_femaleandmaleSep12shuffle1_1000000.h5
Binary file not shown.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.