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