[ENH]: Add support for masks (GM/WM/etc) #79
No reviewers
Labels
No labels
CRITICAL
Stale
WIP
bug
concept
coordinate
dataset
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
maintenance
maps
marker
mask
on hold
parcellation
preprocess
question
ready
storage
template-space
triage
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
juaml/junifer!79
Loading…
Reference in a new issue
No description provided.
Delete branch "enh/masks"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Are you requiring a new dataset or marker?
Which feature do you want to include?
In the same way we support atlases and coordinates, we should be able to support masks to be used, for example, in the spheres masker.
How do you imagine this integrated in junifer?
Copy/paste the atlases and modify for masks (give or take the family and atlas-specific parameters)
Do you have a sample code that implements this outside of junifer?
No response
Anything else to say?
a "good" general purpose GM mask :)
https://zenodo.org/record/6463123#.YyHOOrRBzEY
Codecov Report
100.00% <ø> (ø)95.10% <95.69%> (+0.02%)Flags with carried forward coverage won't be shown. Click here to find out more.
91.83% <91.83%> (ø)100.00% <100.00%> (ø)97.77% <100.00%> (+0.42%)100.00% <100.00%> (ø)100.00% <100.00%> (ø)93.33% <100.00%> (+0.47%)100.00% <100.00%> (ø)100.00% <100.00%> (ø)95.38% <100.00%> (+0.46%)97.91% <100.00%> (+0.24%)@ -0,0 +1,186 @@"""Provide functions for masks."""Dict[str, Dict[str, str]]?@ -0,0 +1,43 @@"""Provide tests for data utils."""For consistency: the docstring is missing the Parameters section.
@ -0,0 +1,42 @@"""Provide utilities for data module."""float or None?
list of float or int, or np.ndarray?
float or int
@ -32,6 +32,10 @@ class CrossParcellationFC(BaseMarker):correlation_method : str, optional(default None).@ -29,9 +29,16 @@ class RSSETSMarker(BaseMarker):parcellation : str(default None).@ -40,6 +40,10 @@ class FunctionalConnectivityParcels(BaseMarker):cor_method_params : dict, optional(default None).@ -43,6 +43,10 @@ class FunctionalConnectivitySpheres(BaseMarker):cor_method_params : dict, optional(default None).@ -35,6 +35,10 @@ class ParcelAggregation(BaseMarker):method_params : dict, optional(default None).@ -37,6 +37,10 @@ class SphereAggregation(BaseMarker):(default "mean").(default None).@ -0,0 +1,186 @@"""Provide functions for masks."""not entirely. Inner values could be anything
@ -0,0 +1,186 @@"""Provide functions for masks."""But shouldn't be the inner dict keys be string?
@ -0,0 +1,186 @@"""Provide functions for masks."""Okay now, saw the change.
@ -0,0 +23,4 @@(None, [1.0, 2.0, 3.0], 1.0),],)def test_closest_resolution(list of float🚀
Will wait for the CI to complete before merging.