fastpli.io.fiber_bundles.save

save(file_name, fiber_bundles, group_name='/', mode='w-')[source]

Save fiberbundles configurations to a text file oder hdf5 file

Parameters
  • file_name (string) – path to file

  • fiber_bundles (list( list( (n,4)-array_like ) ))

  • group_name (string, optional) – path inside hdf5-file for fiber bundles

  • mode (string, optional) – file mode of open() or h5py.File()