Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes None.
In this PR, I will start drafting some of the things we need to implement to support surface data in NiMARE.
ALEKernel
, andKDAKernel
.compute_kda_ma
andcompute_ale_ma
to compute MA maps on the surface.get_ale_kernel
when requested.vertex2voxel
andvoxel2vertex
functions. Use registration fusion (Wu et al., 2018).voxel2vertex
(required for surface-based meta-analysis), use a surface-to-MNI mapping (only available for fsaverage 164K, here). This function implemented in Matlab returns the indices of the vertex given the MNI coordinate from volume space.vertex2voxel
(not required, only implemented for completeness), use the MNI-to-surface mapping available here. Surfaces available: civet (41k), fsaverage (3k, 10k, 41k, 164k), and fsLR (32k, 164k). See here a Matlab implementation.