[pymvpa] Fwd: Data import with pynifti

Yaroslav Halchenko debian at onerussian.com
Tue Mar 8 19:32:31 UTC 2011


On Tue, 08 Mar 2011, Roberto Guidotti wrote:
>    Checking my images with MRIcro and viewing fields on PyMVPA with
>    command mydataset.niftiheader.get() (Images loaded by list of
>    NiftiImages!) I found the same values:
>    scl_interp = 19 e scl_slope = 17; now my question is: Could I proceed
>    with the analysis or I have to do other further steps?
sorry -- in rush I think I have provided incorrect answer:

just now spotted that you are talking about 
  mydataset.niftiheader.get() 
which does not have headers for all loaded files -- it stores only the
header for the 1st one... so, I guess, there were no 'the same values'
but rather just pair of values, and you would need to check per each
file which you loaded, e.g. NiftiImage(filename).header['scl_slope']


-- 
=------------------------------------------------------------------=
Keep in touch                                     www.onerussian.com
Yaroslav Halchenko                 www.ohloh.net/accounts/yarikoptic



More information about the Pkg-ExpPsy-PyMVPA mailing list