tobac.plotting.animation_mask_field#
- tobac.plotting.animation_mask_field(track, features, field, mask, interval=500, figsize=(10, 10), **kwargs)#
Create animation of field, features and segments of all timeframes.
- Parameters:
track (pandas.DataFrame) – Output of linking_trackpy.
features (pandas.DataFrame) – Output of the feature detection.
field (iris.cube.Cube) – Original input data.
mask (iris.cube.Cube) – Cube containing mask (int id for tacked volumes 0 everywhere else), output of the segmentation step.
interval (int, optional) – Delay between frames in milliseconds. Default is 500.
figsize (tupel of float, optional) – Width, height of the plot in inches. Default is (10, 10).
**kwargs
- Returns:
animation – Created animation as object.
- Return type:
matplotlib.animation.FuncAnimation