[pymvpa] Quick Searchlight Question

Hanson, Gavin Keith ghanson0 at ku.edu
Tue Mar 25 20:41:58 UTC 2014


Thank you so much! I also missed that you’d gotten back to me.

Ok, can you give me any indication of how I could do that?
How can I get a feature attribute in a dataset generated by a searchlight to be available to a post_proc node in a CrossValidation used as my data measure when I set up that sphere_searchlight?
I have no clue how to accomplish this.
- Gavin


On Mar 17, 2014, at 7:33 AM, Michael Hanke <mih at debian.org> wrote:

> Hey,
> 
> sorry for the delay -- this somehow fell under the table.
> 
> On Mon, Feb 24, 2014 at 05:00:50PM +0000, Hanson, Gavin Keith wrote:
>> I’m playing around with using searchlights in different ways, and I
>> would like to be able to pass a feature attribute corresponding to the
>> sphere center for each sl sphere to the datameasure I’m using in the
>> searchlight, so I can use a per-searchlight FA to influence the cross
>> validation procedure for each searchlight sphere.  Note that I would
>> like to have the FA available at the end of the Cross Validation, for
>> use in a postproc procedure buried in a Chain Node.
> 
> The Searchlight class has an argument add_center_fa. From the docs:
> 
>  add_center_fa : bool or str
>    If True or a string, each searchlight ROI dataset will have a boolean
>    vector as a feature attribute that indicates the feature that is the
>    seed (e.g. sphere center) for the respective ROI. If True, the
>    attribute is named 'roi_seed', the provided string is used as the name
>    otherwise.
> 
> With this enable, you only need your measure to inspect the incoming
> dataset for this information.
> 
> HTH,
> 
> Michael
> 
> -- 
> Michael Hanke
> http://mih.voxindeserto.de
> 
> _______________________________________________
> Pkg-ExpPsy-PyMVPA mailing list
> Pkg-ExpPsy-PyMVPA at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-exppsy-pymvpa





More information about the Pkg-ExpPsy-PyMVPA mailing list