code: def apply_exclusion_zone(
      idx, exclusion_zone, profile_len, distance_profile
  ):
      exc_start = calc_exclusion_start(idx, exclusion_zone)
      exc_stop = calc_exclusion_stop(idx, exclusion_zone, profile_len)
      distance_profile[exc_start : exc_stop + 1] = np.inf
  
      return distance_profile
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  from __future__ import unicode_literals
  import math
  import time
  import warnings
  import numpy
label_desc: Use image node_id 9 for calling a global function with example usage: apply_exclusion_zone(idx, exclusion_zone, profile_len, distance_profile) and returns: distance_profile