When I construct a dataset using Dataset.from_wizard() and supply a brain
mask all I get in return is a dataset that's all 0.

I show the code below:

#get image data reshape and flatten
rotatedImageData = rotateShape(getImageData(DATA_LOCATION))

#Get mask data
mask = getImageData(MASK)#.nonzero()[0]

#Load dataset
ds = Dataset.from_wizard(rotatedImageData, targets=metaData['diagnosesT1'],
mask=mask)


The datasets that I'm loading definitely match, having checked in fslview,
and were generated by fslvbm scripts.

Is this something I'm doing wrong? I can't work it out.

Thanks.
_______________________________________________
Pkg-ExpPsy-PyMVPA mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa

Reply via email to