Did I find the right examples for you? yes no

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/m/n/mne-0.7.1/mne/source_estimate.py   mne(Download)
        raise ImportError("nibabel is required to save volume images.")
 
    header = nib.nifti1.Nifti1Header()
    header.set_xyzt_units('mm', 'msec')
    header['pixdim'][4] = 1e3 * stc.tstep

src/m/n/mne-python-HEAD/mne/source_estimate.py   mne-python(Download)
        raise ImportError("nibabel is required to save volume images.")
 
    header = nib.nifti1.Nifti1Header()
    header.set_xyzt_units('mm', 'msec')
    header['pixdim'][4] = 1e3 * stc.tstep