unflag¶
- sofia_redux.scan.flags.flag_numba_functions.unflag(flag_array, flag=None, indices=None)[source]¶
Remove a flag indicator from an array of flags.
- Parameters:
- flag_arraynumpy.ndarray (int)
An array of flag values to be updated in-place of shape (n,).
- flagint, optional
The integer flag to remove. If not supplied, all flags are removed (set to zero).
- indicesnumpy.ndarray (int) or int, optional
An array indicating which
flag_array
indices to flag withflag
. The default is all indices.
- Returns:
- None