pyanatomist / palette / load transformation
Posted: Fri Feb 14, 2014 11:01 am
Hi Denis,
I have written a pyanatomist script in order to create many fusions between anatomy and map activation.
It works but :
1) I have a problem with the settings of palette. The value min and max (set in the script) are not the same
when the GUI of Anatomist is launched, I suppose that Anatomist set again the min and the max.
How can I keep the intial values ?
In the script, I use this line :
#palette and options
map_activation.setPalette("tvalues100-100-100", minVal=0.35, maxVal=0.65)
2) Data are in the "Talairach-MNI template-SPM". So I use the loadReferentialFromHeader() function, I'm looking for the ref of
Talairach-MNI template-SPM, then I load manually an identity tranformation between both referentials. I don't know wholly the API,
so is there a best way to do that ?
Thanks,
Isa
I have written a pyanatomist script in order to create many fusions between anatomy and map activation.
It works but :
1) I have a problem with the settings of palette. The value min and max (set in the script) are not the same
when the GUI of Anatomist is launched, I suppose that Anatomist set again the min and the max.
How can I keep the intial values ?
In the script, I use this line :
#palette and options
map_activation.setPalette("tvalues100-100-100", minVal=0.35, maxVal=0.65)
2) Data are in the "Talairach-MNI template-SPM". So I use the loadReferentialFromHeader() function, I'm looking for the ref of
Talairach-MNI template-SPM, then I load manually an identity tranformation between both referentials. I don't know wholly the API,
so is there a best way to do that ?
Thanks,
Isa