crowsetta.formats.bbox.audbbox

crowsetta.formats.bbox.audbbox#

Module for Audacity label tracks in extended format, exported to txt files https://manual.audacityteam.org/man/importing_and_exporting_labels.html#Extended_format_with_frequency_ranges

Functions

df_to_lines(df)

Convert a :type:`pandas.DataFrame` to a list of str that can be saved as a txt file in Audacity extended label track format.

txt_to_records(aud_txt_path)

Load a txt file in Audacity extended label track format into records for a :type:`pandas.DataFrame`.

Classes

AudBBox(df, annot_path[, audio_path])

Class that represents Audacity label tracks in extended format, exported to txt files https://manual.audacityteam.org/man/importing_and_exporting_labels.html#Extended_format_with_frequency_ranges

AudBBoxSchema(*args, **kwargs)

A pandera.SchemaModel that validates pandas dataframes loaded from Audacity label tracks in extended format, exported to txt files https://manual.audacityteam.org/man/importing_and_exporting_labels.html#Extended_format_with_frequency_ranges