from_bag
- s100py.s102.v2_0.utils.from_bag(bagfile, output_file, metadata=None)
Fills or creates an
S102Filefrom the given arguments.For most parameters, see
S102File.load_arrays- Parameters:
output_file – Can be an S102File object or anything the h5py.File would accept, e.g. string file path, tempfile obect, BytesIO etc.
- Return type: