Skip to content

Commit b5f5216

Browse files
committed
enh: restructure docs
1 parent 3ba8f41 commit b5f5216

File tree

5 files changed

+59
-39
lines changed

5 files changed

+59
-39
lines changed

docs/apps/framework.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -111,10 +111,10 @@ derivatives/
111111
│ │ │ └── sub-01_from-orig_to-T1w_mode-image_xfm.txt
112112
│ │ ├── figures/
113113
│ │ └── func/
114-
│ │ ├── sub-01_task-rhymejudgment_space-MNI152_boldref.nii.gz
115-
│ │ ├── sub-01_task-rhymejudgment_space-MNI152_desc-preproc_bold.nii.gz
116-
│ │ ├── sub-01_task-rhymejudgment_space-MNI152_desc-confounds_regressors.nii.gz
117-
│ │ └── sub-01_task-rhymejudgment_space-MNI152_desc-brain_mask.nii.gz
114+
│ │ ├── sub-01_task-rhymejudgment_space-MNI152_boldref.nii.gz
115+
│ │ ├── sub-01_task-rhymejudgment_space-MNI152_desc-preproc_bold.nii.gz
116+
│ │ ├── sub-01_task-rhymejudgment_space-MNI152_desc-confounds_regressors.nii.gz
117+
│ │ └── sub-01_task-rhymejudgment_space-MNI152_desc-brain_mask.nii.gz
118118
│ ├── sub-02.html
119119
│ ├── sub-02/
120120
│ ├── sub-03.html

docs/devs/guidelines.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ We're excited you're here and want to contribute.
4848
These principles distill some design and organizational foundations:
4949

5050
1. *NiPreps* only and fully support BIDS and BIDS-Derivatives for the input and output data.
51-
1. *NiPreps* are packaged as a fully-compliant BIDS-Apps [6], not just in its user interface, but also in the continuous integration, testing, and delivery.
51+
1. *NiPreps* are packaged as a fully-compliant [BIDS-Apps](../apps/framework.md), not just in its user interface, but also in the continuous integration, testing, and delivery.
5252
1. The scope of *NiPreps* is strictly limited to preprocessing tasks.
5353
1. *NiPreps* are agnostic to subsequent analysis, i.e., any software supporting BIDS-Derivatives for its inputs should be amenable to analyze data preprocessed with them.
5454
1. *NiPreps* are thoroughly and transparently documented (including the generation of individual, visual reports with a consistent format that serve as scaffolds for understanding the underpinnings and design decisions).

docs/index.md

Lines changed: 5 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,8 @@
1-
The current neuroimaging workflow has matured into a large chain of processing and analysis steps involving a large number of experts, across imaging modalities and applications.
2-
The development and fast adoption of [*fMRIPrep*][1] have revealed that neuroscientists need tools that simplify their research workflow, provide visual reports and checkpoints, and engender trust in the tool itself.
3-
The *NiPreps (NeuroImaging Preprocessing toolS)* framework extends *fMRIPrep*'s approach and principles to new imaging modalities.
4-
The vision for *NiPreps* is to provide end-users (i.e., researchers) with applications that allow them to perform quality control smoothly and to prepare their data for modeling and statistical analysis.
1+
# NeuroImaging PREProcessing toolS (NiPreps)
52

6-
## Projects
3+
*NiPreps* **augment the scanner to produce data *directly consumable* by analyses**.
74

8-
* [*fMRIPrep*][1] ([GitHub](https://github.com/poldracklab/fmriprep)): fMRI Preprocessing
9-
* [*dMRIPrep*][6] ([GitHub](https://github.com/nipreps/dmriprep)): dMRI Preprocessing
10-
* [*sMRIPrep*][7] ([GitHub](https://github.com/poldracklab/smriprep)): Structural MRI Preprocessing
11-
* [*MRIQC*][8] ([GitHub](https://github.com/poldracklab/mriqc)): MRI quality control
12-
* [*SDCflows*][5] ([GitHub](https://github.com/nipreps/sdcflows)): Susceptibility-derived distortion correction (SDC) workflows
13-
* [*NiWorkflows*][4] ([GitHub](https://github.com/nipreps/niworkflows)): General/miscellaneous workflow utilities
14-
* [*TemplateFlow*][9]: A registry of neuroimaging templates and spatial mappings between them.
5+
We refer to data *directly consumable by analyses* as ***analysis-grade data*** by analogy with the concept of "*sushi-grade (or [sashimi-grade](https://en.wikipedia.org/wiki/Sashimi)) fish*" in that both are products that have been:
156

16-
## Overview of the framework
17-
18-
The *NiPreps* framework (Figure 1) encompasses a wide array of software projects organized into three layers of scientific software:
19-
20-
* **Software infrastructure**: including quite mature projects such as [*NiPype*][2] and [*NiBabel*][3]; the standard specifications of the Brain Imaging Data Structure (BIDS, and BIDS-Derivatives); and some other tools such as *NiTransforms* or *TemplateFlow*, under development.
21-
These tools deliver low-level interfaces (e.g., data access to images and spatial transforms) and utilities (see Figure 1).
22-
* **Middleware**: these are utilities that generalize their functionalities across the end-user tools.
23-
These utilities cover foundational processing methodologies (e.g., [*NiWorkflows*][4] and [*SDCflows*][5]), the crowdsourcing of metadata (e.g., *MRIQC Web-API*), and the support for deep learning models (*MRIQC-nets*).
24-
* **End-user tools such as *fMRIPrep***: Some existing end-user tools include *sMRIPrep (Structural MRI Preprocessing)*, which lies in between an end-user tool and middleware, as it is involved in higher-level tools such as *fMRIPrep*. Finally, quality control tools (e.g., *MRIQC*) to be executed before any preprocessing happens.
25-
26-
<!-- ![Branching](https://guides.github.com/activities/hello-world/branching.png) -->
27-
28-
[1]: http://fmriprep.org/ "fMRIPrep documentation"
29-
[2]: https://nipype.readthedocs.io/ "NiPype documentation"
30-
[3]: https://nibabel.readthedocs.io/ "NiBabel documentation"
31-
[4]: https://www.nipreps.org/niworkflows/ "NiWorkflows documentation"
32-
[5]: https://www.nipreps.org/sdcflows/ "SDCflows documentation"
33-
[6]: https://www.nipreps.org/dmriprep/ "dMRIPrep documentation"
34-
[7]: https://poldracklab.github.io/smriprep "sMRIPrep documentation"
35-
[8]: https://mriqc.readthedocs.io/ "MRIQC Documentation"
36-
[9]: https://www.templateflow.org/ "TemplateFlow"
7+
* **minimally preprocessed**, but are
8+
* **safe to consume** directly.

docs/intro/nipreps.md

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
# Framework
2+
3+
## Building on *fMRIPrep*'s success story
4+
5+
The current neuroimaging workflow has matured into a large chain of processing and analysis steps involving a large number of experts, across imaging modalities and applications.
6+
The development and fast adoption of [*fMRIPrep*][1] have revealed that neuroscientists need tools that simplify their research workflow, provide visual reports and checkpoints, and engender trust in the tool itself.
7+
The *NiPreps* framework extends *fMRIPrep*'s approach and principles to new imaging modalities.
8+
The vision for *NiPreps* is to provide end-users (i.e., researchers) with applications that allow them to perform quality control smoothly and to prepare their data for modeling and statistical analysis.
9+
10+
## Leveraging BIDS
11+
12+
*NiPreps* leverage the [Brain Imaging Data Structure (BIDS)](../apps/framework.md#what-is-bids) to understand all the particular
13+
features and available metadata (i.e., imaging parameters) of the input dataset.
14+
BIDS allows *NiPreps* to automatically stage the most adequate preprocessing workflow while minimizing manual intervention.
15+
16+
## Architecture
17+
18+
The *NiPreps* framework (Figure 1) encompasses a wide array of software projects organized into three layers of scientific software:
19+
20+
* **Software infrastructure**: including quite mature projects such as [*NiPype*][2] and [*NiBabel*][3]; the standard specifications of the Brain Imaging Data Structure (BIDS, and BIDS-Derivatives); and some other tools such as *NiTransforms* or *TemplateFlow*, under development.
21+
These tools deliver low-level interfaces (e.g., data access to images and spatial transforms) and utilities (see Figure 1).
22+
* **Middleware**: these are utilities that generalize their functionalities across the end-user tools.
23+
These utilities cover foundational processing methodologies (e.g., [*NiWorkflows*][4] and [*SDCflows*][5]), the crowdsourcing of metadata (e.g., *MRIQC Web-API*), and the support for deep learning models (*MRIQC-nets*).
24+
* **End-user tools such as *fMRIPrep***: Some existing end-user tools include *sMRIPrep (Structural MRI Preprocessing)*, which lies in between an end-user tool and middleware, as it is involved in higher-level tools such as *fMRIPrep*. Finally, quality control tools (e.g., *MRIQC*) to be executed before any preprocessing happens.
25+
26+
## Projects
27+
28+
* [*fMRIPrep*][1] ([GitHub](https://github.com/poldracklab/fmriprep)): fMRI Preprocessing
29+
* [*dMRIPrep*][6] ([GitHub](https://github.com/nipreps/dmriprep)): dMRI Preprocessing
30+
* [*sMRIPrep*][7] ([GitHub](https://github.com/poldracklab/smriprep)): Structural MRI Preprocessing
31+
* [*MRIQC*][8] ([GitHub](https://github.com/poldracklab/mriqc)): MRI quality control
32+
* [*SDCflows*][5] ([GitHub](https://github.com/nipreps/sdcflows)): Susceptibility-derived distortion correction (SDC) workflows
33+
* [*NiWorkflows*][4] ([GitHub](https://github.com/nipreps/niworkflows)): General/miscellaneous workflow utilities
34+
* [*TemplateFlow*][9]: A registry of neuroimaging templates and spatial mappings between them.
35+
36+
<!-- ![Branching](https://guides.github.com/activities/hello-world/branching.png) -->
37+
38+
[1]: http://fmriprep.org/ "fMRIPrep documentation"
39+
[2]: https://nipype.readthedocs.io/ "NiPype documentation"
40+
[3]: https://nibabel.readthedocs.io/ "NiBabel documentation"
41+
[4]: https://www.nipreps.org/niworkflows/ "NiWorkflows documentation"
42+
[5]: https://www.nipreps.org/sdcflows/ "SDCflows documentation"
43+
[6]: https://www.nipreps.org/dmriprep/ "dMRIPrep documentation"
44+
[7]: https://poldracklab.github.io/smriprep "sMRIPrep documentation"
45+
[8]: https://mriqc.readthedocs.io/ "MRIQC Documentation"
46+
[9]: https://www.templateflow.org/ "TemplateFlow"

mkdocs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,10 @@ copyright: Copyright &copy; 2020
1212

1313
nav:
1414
- Home: index.md
15+
- NiPreps:
16+
- Framework: intro/nipreps.md
1517
- BIDS-Apps:
16-
- Framework: apps/framework.md
18+
- Introduction: apps/framework.md
1719
- Executing with Docker: apps/docker.md
1820
- Executing with Singularity: apps/singularity.md
1921
- Developers:

0 commit comments

Comments
 (0)