Skip to content

Commit 978ae51

Browse files
effigiesmgxd
andauthored
RF: Update primary bold workflow to incorporate single shot resampling (#3114)
This is a pretty big one, so I'm pausing now. Things that this PR is doing: 1) Adding single-shot reampling interfaces for fieldmaps and BOLD volumes/series. 2) Gets rid of the old `single_subject_wf` and replaces it with what had been `single_subject_fit_wf`. 3) Creates a new workflow in `workflows.bold.base` to wrap around fit and further stages. 4) Adds an `init_bold_native_wf` to `workflow.bold.fit`, which handles slice timing correction and multi-echo, and always returns both a native-resampled file as well as something that can be resampled and the transforms/fieldmaps it should use. * For single-echo, the resample-able thing is the STC'd file, and you get motion transforms and fieldmap ID back. * For multi-echo, the resample-able thing is the optimal combination, and motion transforms and fieldmap are dropped. --------- Co-authored-by: Mathias Goncalves <[email protected]>
1 parent 87fc8b1 commit 978ae51

File tree

15 files changed

+1786
-821
lines changed

15 files changed

+1786
-821
lines changed

docs/api.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ you get started.
1414
Setting up your development environment
1515
---------------------------------------
1616
We believe that *fMRIPrep* must be free to use, inspect, and critique.
17-
Correspondingly, you should be free to modify our software to improve it
17+
Correspondingly, you should be free to modify our software to improve it
1818
or adapt it to new use cases and we especially welcome contributions to
1919
improve it or its documentation.
2020

2121
We actively direct efforts into making the scrutiny and improvement processes
2222
as easy as possible.
23-
As part of such efforts, we maintain some
23+
As part of such efforts, we maintain some
2424
`tips and guidelines for developers <https://www.nipreps.org/devs/devenv/>`__
2525
to help minimize your burden if you want to modify the software.
2626

@@ -35,3 +35,4 @@ Workflows
3535

3636
.. automodule:: fmriprep.workflows.base
3737
.. automodule:: fmriprep.workflows.bold
38+
.. automodule:: fmriprep.workflows.bold.fit

docs/workflows.rst

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ single reference template (see `Longitudinal processing`_).
8080
skull_strip_fixed_seed=False,
8181
t1w=['sub-01/anat/sub-01_T1w.nii.gz'],
8282
t2w=[],
83+
msm_sulc=True,
84+
precomputed={},
8385
)
8486

8587
.. important::
@@ -266,7 +268,8 @@ packages, including FreeSurfer and the `Connectome Workbench`_.
266268

267269
from smriprep.workflows.surfaces import init_surface_recon_wf
268270
wf = init_surface_recon_wf(omp_nthreads=1,
269-
hires=True)
271+
hires=True,
272+
precomputed={})
270273

271274
See also *sMRIPrep*'s
272275
:py:func:`~smriprep.workflows.surfaces.init_surface_recon_wf`

0 commit comments

Comments
 (0)