export_delegator

btrack.io.export_delegator(filename: os.PathLike, tracker: BayesianTracker, obj_type: str | None = None, filter_by: str | None = None) None

Export data from the tracker using the appropriate exporter.

Parameters:
filenamestr

The filename to export the data. The extension (e.g. .h5) is used to select the correct export function.

trackerBayesianTracker

An instance of the tracker.

obj_typestr, optional

The object type to export the data. Usually obj_type_1

filter_bystr, optional

A string that represents how the data has been filtered prior to tracking, e.g. using the object property area>100

Notes

This uses the appropriate exporter dependent on the given file extension.