[Neuroimaging] Creating mgh files within python

K. Wagstyl kw350 at cam.ac.uk
Sun Feb 18 09:43:42 EST 2018


Dear Nibabel team,

I'm using nibabel to create freesurfer .mgh files in python. However, 
I'm currently reading in a demo file first and then replacing the data 
vector.
Is there a way to create a mgh file from scratch within python, without 
having an existing one to copy?

Many thanks,
Konrad


More information about the Neuroimaging mailing list