# check_angle_sampling¶

gala.dynamics.check_angle_sampling(nvecs, angles)[source]

Returns a list of the index of elements of n which do not have adequate toy angle coverage. The criterion is that we must have at least one sample in each Nyquist box when we project the toy angles along the vector n.

Parameters
nvecsarray_like

Array of integer vectors.

anglesarray_like

Array of angles.

Returns
failed_nvecsnumpy.ndarray

Array of all integer vectors that failed checks. Has shape (N,3).

failuresnumpy.ndarray

Array of flags that designate whether this failed needing a longer integration window (0) or finer sampling (1).