MCPcopy Create free account
hub / github.com/NVlabs/ACID / coord2index

Function coord2index

ACID/src/common.py:243–268  ·  view source on GitHub ↗

Normalize coordinate to [0, 1] for sliding-window experiments. Corresponds to our 3D model Args: p (tensor): points vol_range (numpy array): volume boundary reso (int): defined resolution plane (str): feature type, ['xz', 'xy', 'yz'] - canonical planes;

(p, vol_range, reso=None, plane='xz')

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

normalize_coordFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…