-
Notifications
You must be signed in to change notification settings - Fork 99
Open
Labels
questionFurther information is requestedFurther information is requested
Description
Perhaps there is scope for renaming the load_poses module to load_dataset (and save_poses to save_dataset accordingly).
The syntax for loading/saving data will change from:
from movement.io import load_poses, save_poses
ds = load_poses.from_dlc_file(dlc_file_path)
save_poses.to_sleap_analysis_file(sleap_file_path)to:
from movement.io import load_dataset, save_dataset
ds = load_dataset.from_dlc_file(dlc_file_path)
save_dataset.to_sleap_analysis_file(sleap_file_path)That syntax makes more sense now, because "poses" is a bit ambiguous, while we've fully defined what a "dataset" is. Moreover, we intend to handle data with single keypoints and also bounding-boxes, which are not "poses" strictly speaking. The downside is that commands become a bit longer, and it will be a major breaking change in the API.
We could also do load_ds and save_ds, but I'm not sure I want to introduce abbreviations in the first movement functions that a user encounters.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested
Type
Projects
Status
🤔 Triage