fastpli.io.fiber_bundles.load_dat

load_dat(file)[source]

Load fiberbundles configurations from a text file oder hdf5 file

Parameters

file (file object) – opened file: with open(file_name, ‘r’) as file:

Returns

res – for each fiber point

Return type

list(list(fiber)), fibers are (n,4)-arrays with (x,y,z,radii)