porespy.generators.tile_tpms#
- porespy.generators.tile_tpms(im, n, mode='periodic')#
Tile a TPMS image to create a larger domain.
- Parameters:
im (ndarray) – The 3-D boolean image to tile, typically produced by gyroid.
n (int or sequence of int) – Number of repetitions along each axis. A single integer tiles equally in all directions; a sequence (e.g.
(3, 3, 1)) tiles each axis independently.mode (str, optional) – Tiling strategy. Options are:
- Returns:
im2 – Tiled boolean array. Its shape along each axis is
im.shape[i] * n[i].- Return type:
ndarray
Examples
Click here to view online example.