code: def interpolate_angles(x, x_sample, y_sample):
      """Linear interpolation of angles.
  
      Requires 2-pi periodicity to be unwrapped before (for
      performance reasons). Interpolated angles are wrapped
      back to [-pi, pi] to restore periodicity.
      """
      return _wrap_2pi(interpolate_continuous(x, x_sample, y_sample))
  
imports: from collections import namedtuple
  import dask.array
  import numba
  import numpy
  from satpy.utils import get_legacy_chunk_size
label_desc: Use image node_id 35 for calling a global function with example usage: interpolate_angles(x, x_sample, y_sample) and returns: _wrap_2pi