porespy.beta.fibers_1D#

porespy.beta.fibers_1D(shape, r, n, overlap=None)#

Generates randomly located fibers which are all oriented in z-direction

Parameters:
  • shape (list) – The shape of the image to generate. This must be 3D.

  • r (int) – The radius of the fibers to generate

  • n (int) – The number of fibers to draw

Returns:

im – An ndarray of the given shape with fibers indicated by False and void by True.

Return type:

ndarray

Notes