pni-lab / PUMI

PUMI: neuroimaging Pipelines Using Modular workflow Integration
https://pumi.readthedocs.io/en/latest/
GNU General Public License v3.0
1 stars 0 forks source link

Let users easily fetch atlases #122

Open khoffschlag opened 1 year ago

khoffschlag commented 1 year ago

This could be done via nilearn (https://nilearn.github.io/stable/modules/datasets.html?highlight=datasets#module-nilearn.datasets).

spisakt commented 1 year ago

An atlas can be defined usually by two things:

PUMI will provide an extra, optional feature: atlas modularization

To implement all there, many designs are possible but a possible design could be that we have two small pumi moduels ( with @GroupPipeline decorator)

fetch_atlas:

modularize_atlas

Example usages:

fetch_atlas -> extract_timeseries
fetch_atlas   \
                    modularize_atlas -> extract_timeseries
fetch_atlas   /

NOTE:

Now we use the pick_atlas pipeline. This will be substituted by the new functions., but it can be used as an example.

Step-by-step todo list: