audformat.utilsΒΆ

Functions

concat

Concatenate objects.

difference

Difference of index objects.

duration

Total duration of all entries present in the object.

expand_file_path

Expand path in index with root.

hash

Create hash from object.

index_has_overlap

Check if one or more segments in the index overlap.

intersect

Intersect index objects.

is_index_alike

Check if index objects are alike.

iter_by_file

Iterate over object by file.

join_labels

Combine scheme labels.

join_schemes

Join and update scheme of databases.

map_country

Map country to ISO 3166-1.

map_file_path

Apply callable to file path in index.

map_language

Map language to ISO 639-3.

read_csv

Read object from CSV file.

replace_file_extension

Change the file extension of index entries.

set_index_dtypes

Set the dtypes of an index for the given level names.

to_filewise_index

Convert to filewise index.

to_segmented_index

Convert to segmented index.

union

Create union of index objects.