b_overlap_a
- popurri.peakutils.b_overlap_a(a, b, alab='a', blab='b', verb=False)
Check if there is any value in b inside the range of the values in a.
Only checks if there is overlap, but not how (e.g. do not tell if all values of b inside a, or just from one side).
Examples
a: ‘ |---| ‘ b: ‘|--| ‘ -> Outside b: ‘|------| ‘ -> Inside b: ‘ |--| ‘ -> Inside b: ‘ |------|’ -> Inside b: ‘ |--|’ -> Outside