<div dir="ltr">Dear pymvpa support, I would be very keen to know how can I map the searchlight coordinates to MNI space (and why mine are all positive). Could you help me with that?<div>Thanks,</div><div>Pegah</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><span style="font-size:12.8px">Hi all,</span></div><div><br style="font-size:12.8px"></div><div><br style="font-size:12.8px"></div><div><span style="font-size:12.8px">I am saving the coordinates corresponding to classification accuracies as follows:</span></div><div><br style="font-size:12.8px"></div><div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"> max_i = np.argmin(sl_map.samples[0]) # min</blockquote></div><div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"> coord = db12s.fa[sprefix_indices_key][<wbr>max_i]</blockquote></div><div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"><br></blockquote></div><div><blockquote style="font-size:12.8px;margin:0px 0px 0px 40px;border:none;padding:0px"> np.save(dir + '/coords' + str_label_set, db12s.fa[sprefix_indices_key])</blockquote></div><div><br style="font-size:12.8px"></div><div><br style="font-size:12.8px"></div><div><span style="font-size:12.8px">Now looking at these coordinates, it strikes me that they all are positive - which can't be for MNI coordinates describing the entire cortex (I am not masking). How can this be? And if these are not MNI coordinates, how could they be translated to such?</span></div><div><br style="font-size:12.8px"></div><div><span style="font-size:12.8px">Thanks,</span></div><div><span style="font-size:12.8px">Pegah</span></div></blockquote></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Dec 8, 2017 at 2:03 PM, Pegah Kassraian Fard <span dir="ltr"><<a href="mailto:pegahkf@gmail.com" target="_blank">pegahkf@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">
Hi all,<br><br><br>I am saving the coordinates corresponding to classification accuracies as follows:<br><br><blockquote style="margin:0 0 0 40px;border:none;padding:0px"> max_i = np.argmin(sl_map.samples[0]) # min<br> coord = db12s.fa[sprefix_indices_key][<wbr>max_i]<br><br> np.save(dir + '/coords' + str_label_set, db12s.fa[sprefix_indices_key])</blockquote><br><br>Now looking at these coordinates, it strikes me that they all are positive - which can't be for MNI coordinates describing the entire cortex (I am not masking). How can this be? And if these are not MNI coordinates, how could they be translated to such?<br><br>Thanks,<br>Pegah</div>
</blockquote></div><br></div>