ethograph.labels.converters#
External format converters: crowsetta, NWB, pynapple, and other label I/O.
Classes
Base class for converting external label sources to ethograph intervals. |
|
Convert crowsetta annotation files to ethograph intervals. |
|
Extract labels from pynapple IntervalSet objects. |
Functions
Build a name->id mapping from a list of unique string labels. |
|
Convert a crowsetta annotation file to an intervals DataFrame. |
|
Extract unique string labels from a crowsetta annotation file. |
|
Check existing mapping against crowsetta labels; create new if needed. |
|
Write a mapping file in '<id> <name>' format. |