overlap_status

synphot.utils.overlap_status(a, b)[source]

Check overlap between two arrays.

Parameters:
a, barray-like

Arrays to check. Assumed to be in the same unit.

Returns:
result{‘full’, ‘partial’, ‘none’}
  • ‘full’ - a is within or same as b

  • ‘partial’ - a partially overlaps with b

  • ‘none’ - a does not overlap b