Open dkrako opened 8 months ago
Currently pymovements provides no way to integrate an additional label file to a Dataset.
I think it makes most sense to limit this feature to a single file first. We can add multi-file labels in a subsequent iteration.
To achieve this we have to implement two things:
DatasetDefinition
Dataset.fileinfo
All labels should then be available in the Dataset.fileinfo dataframe.
Description of the problem
Currently pymovements provides no way to integrate an additional label file to a Dataset.
Description of a solution
I think it makes most sense to limit this feature to a single file first. We can add multi-file labels in a subsequent iteration.
To achieve this we have to implement two things:
DatasetDefinition
that holds the relative filepath to the label fileDataset.fileinfo
when loading the datasetAll labels should then be available in the
Dataset.fileinfo
dataframe.Minimum acceptance criteria
DatasetDefinition
DatasetDefinition
Dataset.fileinfo
dataframe