Replies: 2 comments 9 replies
-
Hi @max-kat, I should note that the searchlight code might change in the near future as we have current pull request #253 & #292 that change them substantially. For your current problem the solution should be simple though: ModelFixed can be based on an RDMs object, so Please tell us if this works for you! |
Beta Was this translation helpful? Give feedback.
-
Ok, so I am somewhat confused here. Why do you have different models for the different subjects in your case? Usually, my expectation would be that you create one RDM for the expectation according some theory which is the basis of your model. The searchlight is then supposed to go through the brain with this RDM and find locations that have similar RDMs. Those RDMs in the brain will of course be different for each subject, but the model would be the same right? |
Beta Was this translation helpful? Give feedback.
-
Hi there!
I have some questions regarding the RSA_searchlight. Since I just started reading into RSA (+ fairly new to python) they might be very basic but please bear with me...
Current state:
Our experiment was divided into 4 runs. In each run participants saw up to 10 pictures of aesthetic stimuli, which they had to rate (how aes moving is it 1-7). Then they imagined the same stimuli and rated them again. I am interested if being aesthetically moved is the same between the two modalities (perception vs imagery).
I created a LSA GLM with all runs in it and got the t-maps for each subj. These maps are individually split between high_aes_moving, low_aes_moving and missing_data. Hence, we have an unbalanced design, which varies between and within participants. (some have e.g. 30 high and 27 low, others have 40 high and 20 low)
I followed your demo_searchlight and tried to do the analysis for one participants on 61 tmaps. The SL_RDM was easy to create with your tutorial; yet, I had some troubles with the categorial one
I created a condition_array, which had 1&0, 1 = high aes, 2=low aes, corresponding to the tmap index. shape (61,)
I had troubles creating the cat_rdm with your demo material, so I first tried it in a different way:
this resulted in the message: rdm1 and rdm2 have different nan positions
then I tried to do it in a different way with
this results in model should be an rsatoolbox.model.Model or a list of such objects
if I try:
I get: rdm1 and rdm2 must be RDMs of equal shape
So I either have to deal with the NANs or covert the category_rdm to a model_object. I guess there is a simple solution for these problems but I am stuck for a few days now and could really need some advice... I would really appreciate if you could help me or point me into the right direction....
Beta Was this translation helpful? Give feedback.
All reactions