LoaderProtocol#
- class movement.io.load.LoaderProtocol(*args, **kwargs)[source]#
Bases:
ProtocolProtocol for loader functions to be registered via
register_loader.All loader functions registered via
register_loader()must conform to this protocol. Loaders must accept a file path (str or Path) orpynwb.file.NWBFileobject) as their first argument and return anxarray.Datasetcontaining pose tracks or bounding box tracks. Additional positional and keyword arguments are allowed.See also
register_loaderDecorator for registering loader functions.