code: def __check_clipping_limiting(
      array: np.ndarray,
      clipping_samples_threshold: int,
      limited_samples_threshold: int,
      warning_code_clipping: Code,
      warning_code_limiting: Code,
  ) -> None:
      max_value, max_count = count_max_peaks(array)
      if max_count > clipping_samples_threshold:
          if np.isclose(max_value, 1.0):
              warning(warning_code_clipping)
          elif max_count > limited_samples_threshold:
              warning(warning_code_limiting)
  
file_path: matchering/matchering/checker.py
imports: import numpy
  from resampy import resample
  from .log import Code, warning, info, debug, ModuleError
  from .None import Config
  from .dsp import size, is_mono, is_stereo, mono_to_stereo, count_max_peaks
  from .utils import time_str
label_desc: Use image node_id 4 for calling a global function with example usage: __check_clipping_limiting(array, clipping_samples_threshold, limited_samples_threshold, warning_code_clipping, warning_code_limiting) without return types