Did I find the right examples for you? yes no

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

src/n/e/neurosynth-0.3.1/neurosynth/base/imageutils.py   neurosynth(Download)
    else:
        img = nifti1.Nifti1Image(result, None, img.get_header())
        img.to_filename(save)
 
 
    header.set_data_dtype(data.dtype)  # Avoids loss of precision
    img = nifti1.Nifti1Image(mask.unmask(data), None, header)
    img.to_filename(filename)
 
 

src/n/e/neurosynth-HEAD/neurosynth/base/imageutils.py   neurosynth(Download)
    else:
        img = nifti1.Nifti1Image(result, None, img.get_header())
        img.to_filename(save)
 
 
    header.set_data_dtype(data.dtype)  # Avoids loss of precision
    img = nifti1.Nifti1Image(mask.unmask(data), None, header)
    img.to_filename(filename)