API Reference#
This section documents the API of crowsetta.
Core#
This section documents the core API of crowsetta, including data types, other classes, and modules.
Data types#
Annotation#
|
A class to represent annotations for a single file. |
Sequence#
|
A class that represents a sequence of segments, used to annotate animal acoustic communication. |
Segment#
|
A class that represents a segment of a time series, used to annotate animal communication. |
BBox#
|
A class that represents a bounding box on a spectrogram, drawn around animal communication or other sounds. |
Classes#
Transcriber#
|
The |
Modules#
crowsetta.interface#
For complete documentation of the interface, please see this page.
This module declares the interface for any class that represents annotations for animal communication sounds loaded from a file in a specific format. |
typing#
Module for type hinting that is specific to |
validation#
Module with functions for data validation. |
Decorators#
crowsetta.register_format#
|
Decorator to register annotation formats. |
Example data#
|
Get an example annotation file. |
Print the names and descriptions of all example annotation files built into |
Formats#
This section documents the API of the :mod:crowsetta.formats module.
It is generated automatically.
If you are a crowsetta user looking for
more detail about the built-in formats,
please see: Formats.
Interface#
The section documents the API of the :mod:crowsetta.interface module.
This module declares the interface for any class that represents annotations for animal communication sounds loaded from a file in a specific format. |
Base#
An abstract base class that declares the interface for any sub-class that represents annotations loaded from a file in a specific format for annotating vocalizations. |
Sequence-Like#
An abstract base class defining the interface for any annotation format that can be represented as a sequence of segments, with each segment having an onset time, offset time, and a label. |
Bounding Box-Like#
An abstract base class defining the interface for any annotation format that can be represented as a set of labeled bounding boxes. |