This adds information on the file durations to the file header row of the data card. It shows the minimum duration, maximum duration, and an inline distribution plot of all durations, e.g.
This is achieved by adding the property audbcards.Datacard.file_duration_distribution, that can be accessed in the templates via file_duration_distribution.
This adds information on the file durations to the file header row of the data card. It shows the minimum duration, maximum duration, and an inline distribution plot of all durations, e.g.
This is achieved by adding the property
audbcards.Datacard.file_duration_distribution
, that can be accessed in the templates viafile_duration_distribution
.The idea was first presented in https://github.com/audeering/datasets/pull/5, which can be replaced by the implementation provided here.