export_CSV

btrack.io.export_CSV(filename: PathLike, tracks: list, properties: list = ['ID', 't', 'x', 'y', 'z', 'parent', 'root', 'state', 'generation', 'dummy'], obj_type: str | None = None)

Export the track data as a simple CSV file.

Parameters:
filenamestr

The filename of the file to be exported.

trackslist[Tracklet]

A list of Tracklet objects to be exported.

propertieslist, default = constants.DEFAULT_EXPORT_PROPERTIES

A list of tracklet properties to be exported.

obj_typestr, optional

A string describing the object type, e.g. obj_type_1.