ism3d.utils.paste_array

ism3d.utils.paste_array(wall, block, loc, method='replace')[source]

past a small array into a larger array with shifting works for high dimension or off-edge cases wall/block requires in the same dimension number loc: the index of left-bottom pixel of block in wall.