MCPcopy Create free account
hub / github.com/CUT3R/CUT3R / best_plotmode

Function best_plotmode

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

Source from the content-addressed store, hash-verified

325
326
327def best_plotmode(traj):
328 _, i1, i2 = np.argsort(np.var(traj.positions_xyz, axis=0))
329 plot_axes = "xyz"[i2] + "xyz"[i1]
330 return getattr(plot.PlotMode, plot_axes)
331
332
333def plot_trajectory(

Callers 1

plot_trajectoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected