inherit_candidates#
- anri.index.inherit_candidates(pos, pos_c, f_c, cand_c, k2, vb=16384)[source]#
Candidates for fine voxels from a coarse fit: what the nearest coarse voxel and its 8 neighbours occupied.
- Parameters:
pos (
Array|ndarray|bool|number|bool|int|float|complex) – [Nv, 3] fine voxel positionspos_c (
Array|ndarray|bool|number|bool|int|float|complex) – [Nc, 3] coarse voxel positionsf_c (
Array|ndarray|bool|number|bool|int|float|complex) – [Nc, K] coarse occupancies and orientation indicescand_c (
Array|ndarray|bool|number|bool|int|float|complex) – [Nc, K] coarse occupancies and orientation indicesk2 (
int) – Candidates per fine voxel, the most occupied firstvb (
int, default:16384) – Fine voxels per call
- Returns:
jax.Array– [Nv, k2] orientation indices