-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Issue summary
Hi, I aim to convert a func.gii file from fsaverage space to fs_LR 32k space.
However, the output has a different shape—(time, vertex) instead of the expected (vertex, data).
Detailed issue description
Below is my code:
from neuromaps.images import load_gifti
import numpy as np
from neuromaps.transforms import fsaverage_to_fslr
gii_L = load_gifti()
resampled_L, = fsaverage_to_fslr(
gii_L,
target_density='32k',
method='linear'
)
nib.save(resampled_L,)
As shown in the figure, the above shape is my orginal func.gii, and the below is the shape of transformed func.gii.
Steps to reproduce issue
>>>
>>>
>>>
...
Software version
No response
Code of Conduct
- I agree to follow the
neuromaps
Code of Conduct
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working