MCPcopy
hub / github.com/dask/dask / map_overlap

Method map_overlap

dask/array/core.py:2744–2757  ·  view source on GitHub ↗

Map a function over blocks of the array with some overlap Refer to :func:`dask.array.map_overlap` for full documentation. See Also -------- dask.array.map_overlap : equivalent function

(self, func, depth, boundary=None, trim=True, **kwargs)

Source from the content-addressed store, hash-verified

2742 return map_blocks(func, self, *args, **kwargs)
2743
2744 def map_overlap(self, func, depth, boundary=None, trim=True, **kwargs):
2745 """Map a function over blocks of the array with some overlap
2746
2747 Refer to :func:`dask.array.map_overlap` for full documentation.
2748
2749 See Also
2750 --------
2751 dask.array.map_overlap : equivalent function
2752 """
2753 from dask.array.overlap import map_overlap
2754
2755 return map_overlap(
2756 func, self, depth=depth, boundary=boundary, trim=trim, **kwargs
2757 )
2758
2759 def cumsum(self, axis, dtype=None, out=None, *, method="sequential"):
2760 """Return the cumulative sum of the elements along the given axis.

Callers 2

_array_map_overlapFunction · 0.45
gradientFunction · 0.45

Calls 1

map_overlapFunction · 0.90

Tested by 1

_array_map_overlapFunction · 0.36