Esempio n. 1
0
 def __init__(self): 
     P = {}
     for tissue in tissues: 
         fname = 'out'+tissue+'_100.img'
         im = nifti.load(os.path.join(datadir, fname))
         P[tissue] = im.get_data()/1000.
     self.P = P 
     self.renormalize()