check_gaps

Contents

check_gaps#

gaiaunlimited.scanninglaw.check_gaps(gaps, x)#

Check if values of array x falls in any gaps.

Parameters:
  • gaps (array) – 2d array of [n_gaps, 2] defining lower and upper boundary of each gap.

  • x (array) – values to check

Returns:

True if outside of any gap False if not.

Return type:

boolean array