MCPcopy Create free account
hub / github.com/Inception3D/TTT3R / best_plotmode

Function best_plotmode

eval/relpose/evo_utils.py:364–367  ·  view source on GitHub ↗
(traj)

Source from the content-addressed store, hash-verified

362
363
364def best_plotmode(traj):
365 _, i1, i2 = np.argsort(np.var(traj.positions_xyz, axis=0))
366 plot_axes = "xyz"[i2] + "xyz"[i1]
367 return getattr(plot.PlotMode, plot_axes)
368
369
370def plot_trajectory(

Callers 1

plot_trajectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected