code: def create_intervallic_integer_list(
      base_val: Union[int, float],
      min_val: float,
      max_val: float,
      num_scales: Optional[int] = 5,
      scale_div_factor: Optional[int] = 1,
  ) -> List[int]:
      """This function creates a list of `n` integer values that scales `base_val` between
      `min_scale` and `max_scale`.
  
      Args:
          base_val: The base value to scale.
          min_val: The lower end of the value.
          max_val: The higher end of the value.
          n: Number of scaled values to generate.
          scale_div_factor: Check if scaled values are divisible by this factor.
  
      Returns:
          a sorted list of tuples. Each index is of the form (h, w, n_frames)
      """
      values = set(np.linspace(min_val, max_val, num_scales))
      values.add(base_val)
      values = [make_divisible(v, scale_div_factor) for v in values]
      return sorted(values)
  
imports: from typing import List, Optional, Tuple, Union
  import numpy
  from utils.math_utils import make_divisible
label_desc: Use image node_id 3 for calling a global function with example usage: create_intervallic_integer_list(base_val, min_val, max_val, num_scales, scale_div_factor) and returns: sorted