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

Function _remove_overlap_boundaries

dask/array/_array_expr/_overlap.py:290–298  ·  view source on GitHub ↗
(l, r, axis, depth)

Source from the content-addressed store, hash-verified

288
289
290def _remove_overlap_boundaries(l, r, axis, depth):
291 lchunks = list(l.chunks)
292 lchunks[axis] = (depth,)
293 rchunks = list(r.chunks)
294 rchunks[axis] = (depth,)
295
296 l = l.rechunk(tuple(lchunks))
297 r = r.rechunk(tuple(rchunks))
298 return l, r
299
300
301def 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