Open butellyn opened 8 months ago
So I figured out how to check the shape in python, and is it (1110, ) there as well. Can neuromaps not handle timeseries data?
Hey @butellyn,
You are unfortunately correct: neuromaps currently does not handle timeseries data :disappointed_relieved:.
The error occurs because the load_data
function does not work as expected when loading timeseries data once the transformation is completed (here). We'll try to see whether we can fix this bug in the future.
In the meantime, it is perhaps worth noting that you could also do these transformation using the connectome workbench directly (i.e. by calling the -metric-resample
function of the workbench). The aligned spherical mesh required to do the transformation can be downloaded using datasets.fetch_atlas
.
Hi @VinceBaz! Thank you for letting me know so quickly! I spent awhile trying to get a solution to work in workbench, but ran into an issue I couldn't resolve. I posted about it here on neurostars. Any chance you'd have some insight into this issue? Also trying to adapt code directly from fmriprep.
Description of issue
I followed the transformations wiki to get my data from freesurfer's fsaverage5 space into fsLR32k space, but I am having some trouble exporting the resulting gifti. I run the following code to transform the data and export it:
But when I open the resulting gifti in workbench using this command:
I get the following error from wb_view:
Considering I have 1110 TRs, it looks like the vertices and the TRs somehow got confused in the process of exporting the giftis. How would you recommend exporting the gifti files?
Code of Conduct
neuromaps
Code of Conduct