MCPcopy Create free account
hub / github.com/dask/dask / map_overlap

Method map_overlap

dask/array/core.py:2742–2755  ·  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

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