httomo.data.padding.extrapolate_after

httomo.data.padding.extrapolate_after#

httomo.data.padding.extrapolate_after(global_data: h5py.Dataset | ndarray, block_data: ndarray, slices: int, dim: int, offset: int = 0, preview_config: PreviewConfig | None = None)[source]#

Read the required “after” padded area for a block into the given numpy array that represents the block.

NOTE: Currently performs “edge” padding as is understood in the padding terminology of np.pad()