Enh/add time agregation selection #204
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!204
Loading…
Reference in a new issue
No description provided.
Delete branch "enh/add_time_agregation_selection"
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?
For BOLD data, it might make sense to aggregate (or even select) samples over time.
This PR adds two parameters to the Sphere/Parcel aggregation markers.
time_methodtime_method_paramsThis parameters allow to specify a function that will be applied after extracting the signals from the spheres/parcels and computing the
methodparameter.Additionally, a
selectfunction was added, which allows to "pick" data at this step.Codecov Report
100.00% <ø> (ø)93.32% <100.00%> (+0.08%)Flags with carried forward coverage won't be shown. Click here to find out more.
100.00% <100.00%> (ø)100.00% <100.00%> (ø)100.00% <100.00%> (ø)Added=>Addto keep the language consistent.nitpick:
... parcels and spheres respectively ...@ -32,6 +32,12 @@ class ParcelAggregation(BaseMarker):method_params : dict, optionalmethod=>or,
@ -37,6 +37,12 @@ class SphereAggregation(BaseMarker):(default "mean").method=>or,
@ -144,3 +154,41 @@ def winsorized_mean(win_mean = win_dat.mean(axis=axis)Might be better to explicitly mention list of what basic type we expect.
Same as above.
Missing type annotation for
pickanddrop.