dyntrack.ut.load_data

dyntrack.ut.load_data(df, x_col, y_col, parent_col, time_col, img=None)

Load data required for dynamical tracks analysis.

Parameters
  • df (Union[DataFrame, str]) – Path of a csv file, or a pandas.DataFrame object.

  • x_col (str) – Name of the x coordinate column.

  • x_col – Name of the y coordinate column.

  • parent_col (str) – Name of the track ID column.

  • time_col (str) – Name of the time/frame ID column.

  • img (Union[ndarray, str, None]) – Path of an img file, or a numpy.ndarray.

Returns

A DynTrack object

Return type

dyntrack.DynTrack