MCPcopy Create free account
hub / github.com/MAC-VO/MAC-VO / plot_losttrack_frames

Function plot_losttrack_frames

Utility/Plot/PlotTraj.py:15–18  ·  view source on GitHub ↗
(ax: Axes, frame_status: torch.Tensor)

Source from the content-addressed store, hash-verified

13
14@IgnoreException
15def plot_losttrack_frames(ax: Axes, frame_status: torch.Tensor):
16 lost_track_ranges = getConsecutiveRange(frame_status.int().tolist(), lambda flag: flag)
17 for start, end in lost_track_ranges:
18 ax.axvspan(start, end-0.99, color="red", alpha=0.3)
19
20@IgnoreException
21def plot_motionRTE(ax: Axes, ref_traj: PlotableMotions, est_traj: PlotableMotions) -> Line2D:

Callers 5

plot_motionRTEFunction · 0.85
plot_MotionRTE_axesFunction · 0.85
plot_Translation_axesFunction · 0.85
plot_MotionROEFunction · 0.85
plot_MotionROE_axesFunction · 0.85

Calls 1

getConsecutiveRangeFunction · 0.90

Tested by

no test coverage detected