# AUTOGENERATED! DO NOT EDIT! File to edit: 02_convert.ipynb (unless otherwise specified).

__all__ = ['save']

# Cell
import h5py

# Cell
def save(data, fname:str = 'cal_files/fname', format:str = 'h5py'):
    """Could move to the capture module as a class method instead"""
    with h5py.File(fname, "w") as f:
        dset = f.create_dataset("file")
        dset[...] = data