You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having an issue when plotting the sulcal depth as background in both hemispheres. I am using the argument bg_map=sulc_LR with the correct dimensions ((20484,) for the case of two hemispheres) as confirmed in issue #5167 by the nilearn team. However, when I introduce sulcal depth data for both hemispheres I get an error regarding dimensionality, and when I introduce sulcal depth for only one hemisphere both hemispheres are plotted though incorrectly (for instance, L hemisphere is plotted in both hemispheres). I explained the issue with more detail on the linked issue, so I believe it is not helpful to write it again here, I hope that is fine.
It seems like neuromaps.plotting.plot_surf_template is not passing the bg_map argument correctly to nilearn.plotting.plot_surf? Or could you help me find out what I am doing wrong?
Thanks a lot for your help!
Best regards,
Eliana
Code of Conduct
I agree to follow the neuromaps Code of Conduct
The text was updated successfully, but these errors were encountered:
not sure of the internals of plot_surf_template but it seems that using some of the SurfaceImage support that was added in nilearn 0.11 could help with this
@enicolaisen
had a look at the doc string from plot_surf_template and it seems it is not intended to plot both hemispheres (so far) as far as I can tell
so maybe what you intend to do is not (yet) possible
EDIT: I misread the doc string: you passed your data as a tuple and hence both hemisphere should be plotted
it seems the function does not bg_map properly in that case though
Description of issue
Hi!
I am having an issue when plotting the sulcal depth as background in both hemispheres. I am using the argument
bg_map=sulc_LR
with the correct dimensions ((20484,)
for the case of two hemispheres) as confirmed in issue #5167 by the nilearn team. However, when I introduce sulcal depth data for both hemispheres I get an error regarding dimensionality, and when I introduce sulcal depth for only one hemisphere both hemispheres are plotted though incorrectly (for instance, L hemisphere is plotted in both hemispheres). I explained the issue with more detail on the linked issue, so I believe it is not helpful to write it again here, I hope that is fine.It seems like
neuromaps.plotting.plot_surf_template
is not passing thebg_map
argument correctly tonilearn.plotting.plot_surf
? Or could you help me find out what I am doing wrong?Thanks a lot for your help!
Best regards,
Eliana
Code of Conduct
neuromaps
Code of ConductThe text was updated successfully, but these errors were encountered: