slitflow.fig.trajectory module
- class All(info_path=None)[source]
Bases:
FigureShow all trajectories of each image.
- Parameters:
- Returns:
Trajectory Figure object
- Return type:
- static process(reqs, param)[source]
Show all trajectories of each image.
- Parameters:
reqs[0] (pandas.DataFrame) – X,Y-coordinate of trajectories.
param["calc_cols"] (list of str) – Column names for X and Y axes.
param["index_cols"] (list of str) – Column names of index. This column is used for
pandas.DataFrame.groupby().param["centered"] (bool, optional) – If True, the centroid position from all trajectory positions is set as (0, 0).
- Returns:
matplotlib Figure containing trajectory plot
- Return type: