code: def _applyExclusionZone(prof, idx, zone):
      start = int(max(0, idx - zone))
      end = int(idx + zone + 1)
      prof[start:end] = np.inf
  
file_path: matrixprofile-ts/matrixprofile/motifs.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  from .None import distanceProfile
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: _applyExclusionZone(prof, idx, zone) without return types