Add allow_overlap and allow empty spheres in sphere aggregation #190
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!190
Loading…
Reference in a new issue
No description provided.
Delete branch "enh/empty_spheres"
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?
Features:
Allow for empty spheres (this will result in arrays with the second dimention of size 0). Applying any aggregation function should yield a NaN.
Expose
allow_overlapparameter to every sphere-based marker.description of feature/fix
tests added/passed
add an entry to the latest changes
Codecov Report
100.00% <ø> (ø)93.87% <91.17%> (-0.07%)Flags with carried forward coverage won't be shown. Click here to find out more.
93.40% <89.47%> (-6.60%)100.00% <100.00%> (ø)89.47% <100.00%> (+0.58%)100.00% <100.00%> (ø)93.10% <100.00%> (+0.24%)100.00% <100.00%> (ø)100.00% <100.00%> (ø)100.00% <100.00%> (ø)@ -51,6 +51,12 @@ Enhancements@ -62,0 +87,4 @@Indicates, in millimeters, the radius for the sphere around the seed.allow_overlap : booleanIf False, a ValueError is raised if VOIs overlapmask_img : Niimg-like object, optionalThis is for adding the custom check of empty spheres right?
@ -82,6 +91,24 @@ def get_aggfunc_by_name(return funcShould be an
int.@ -62,0 +87,4 @@Indicates, in millimeters, the radius for the sphere around the seed.allow_overlap : booleanIf False, a ValueError is raised if VOIs overlapmask_img : Niimg-like object, optionalIndeed the only change from nilearn was to remove the check.
done
can't test more without writing nilearn tests
@ -62,0 +87,4 @@Indicates, in millimeters, the radius for the sphere around the seed.allow_overlap : booleanIf False, a ValueError is raised if VOIs overlapmask_img : Niimg-like object, optionalSounds good.