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

Function _remove_overlap_boundaries

dask/array/overlap.py:276–284  ·  view source on GitHub ↗
(l, r, axis, depth)

Source from the content-addressed store, hash-verified

274
275
276def _remove_overlap_boundaries(l, r, axis, depth):
277 lchunks = list(l.chunks)
278 lchunks[axis] = (depth,)
279 rchunks = list(r.chunks)
280 rchunks[axis] = (depth,)
281
282 l = l.rechunk(tuple(lchunks))
283 r = r.rechunk(tuple(rchunks))
284 return l, r
285
286
287def boundaries(x, depth=None, kind=None):

Callers 3

periodicFunction · 0.70
reflectFunction · 0.70
nearestFunction · 0.70

Calls 1

rechunkMethod · 0.45

Tested by

no test coverage detected