API Reference

btrack Package

Classes

BayesianTracker([verbose])

BayesianTracker.

btrack.btypes Module

Classes

PyTrackObject()

The base btrack track object.

Tracklet(ID, data, *[, parent, children, fate])

A btrack Tracklet object used to store track information.

btrack.models Module

Classes

MotionModel(*, measurements, states, A, H, P, R)

The btrack motion model.

ObjectModel(*, states, emission, transition, ...)

The btrack object model.

HypothesisModel(*, hypotheses, lambda_time, ...)

The btrack hypothesis model.

btrack.io Package

Functions

export_CSV(filename, tracks[, properties, ...])

Export the track data as a simple CSV file.

export_delegator(filename, tracker[, ...])

Export data from the tracker using the appropriate exporter.

export_LBEP(filename, tracks)

Export the LBEP table as a text file.

import_CSV(filename)

Import localizations from a CSV file.

localizations_to_objects(localizations)

Take a numpy array or pandas dataframe and convert to PyTrackObjects.

segmentation_to_objects(segmentation, *[, ...])

Convert segmentation to a set of trackable objects.

objects_from_array(objects_arr, *[, ...])

Construct PyTrackObjects from a numpy array.

objects_from_dict(objects_dict)

Construct PyTrackObjects from a dictionary

Classes

HDF5FileHandler(filename[, read_write, obj_type])

Generic HDF5 file hander for reading and writing datasets.

btrack.utils Module

Functions

segmentation_to_objects(segmentation, *[, ...])

Convert segmentation to a set of trackable objects.

update_segmentation(segmentation, tracks, *)

Map tracks back into a masked array.