def semiflatten(bufvec):
    return [elt[:] for elt in bufvec]
Create a NiftiWrapper from a nibabel DicomWrapper.
dataset/ETHPy150Open arkadini/twimp/twimp/vecbuf.py/semiflatten--crossover with--dataset/ETHPy150Open moloney/dcmstack/src/dcmstack/dcmmeta.py/NiftiWrapper.from_dicom_wrapper