Open calebweinreb opened 1 year ago
Hey @calebweinreb,
Check out the way we handle it in sleap-io
here: https://github.com/talmolab/sleap-io/blob/e0ead827e484174a918ff091e05a6ae90ded5e43/sleap_io/io/nwb.py
Basically you have a different track for each processing module: https://github.com/talmolab/sleap-io/blob/e0ead827e484174a918ff091e05a6ae90ded5e43/sleap_io/io/nwb.py#L76-L95
It would be helpful for the docs to clarify what happens in the multi-animal situation. Based on this thread https://github.com/rly/ndx-pose/pull/3 it is not clear if multiple animals would be represented as multiple files or multiple PoseEstimation objects within the same file. If the latter, then it would be useful to add field for storing the name/ID of the animal.