code: def _process_window(self, ji_win, func, **kwargs):
          
          arr = self.get_arrays(ji_win)
          result = func(arr, **kwargs)
          return result
docs: Load (resampled) array of window ji_win and apply custom function on it.