pad

method of dascore.utils.tiles.TilePlan source

pad(
    self ,
    array: ndarray ,
    dtype = None,
)-> ‘np.ndarray’

Return the array inside a zeroed buffer every tile fits in whole.

The buffer takes the array’s dtype unless one is given.