Skip to content

Commit 921bf56

Browse files
committed
[skip ds210][skip ds054] update the documentation
1 parent b4ab300 commit 921bf56

File tree

2 files changed

+39
-21
lines changed

2 files changed

+39
-21
lines changed

docs/workflows.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -588,6 +588,10 @@ be generated, so non-aggressive denoising can be manually performed in the T1w s
588588
-d sub-<subject_label>_task-<task_id>_bold_MELODICmix.tsv \
589589
-o sub-<subject_label>_task-<task_id>_bold_space-<space>_AromaNonAggressiveDenoised.nii.gz
590590

591+
*Note*: The non-steady state volumes are removed for the determination of components in melodic.
592+
Therefore ``*MELODICmix.tsv`` may have zero padded rows to account for the volumes not used in
593+
melodic's estimation of components.
594+
591595
A visualization of the AROMA component classification is also included in the HTML reports.
592596

593597
.. figure:: _static/aroma.svg

fmriprep/workflows/bold/confounds.py

Lines changed: 35 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,7 @@ def init_ica_aroma_wf(template, metadata, mem_gb, omp_nthreads,
397397
398398
The following steps are performed:
399399
400+
#. Remove non-steady state volumes from the bold series.
400401
#. Smooth data using FSL `susan`, with a kernel width FWHM=6.0mm.
401402
#. Run FSL `melodic` outside of ICA-AROMA to generate the report
402403
#. Run ICA-AROMA
@@ -426,40 +427,53 @@ def init_ica_aroma_wf(template, metadata, mem_gb, omp_nthreads,
426427
427428
**Parameters**
428429
430+
aroma_melodic_dim: int or None
431+
Set the dimensionality of the Melodic ICA decomposition
432+
If None, MELODIC automatically estimates dimensionality.
433+
ignore_aroma_err : bool
434+
Do not fail on ICA-AROMA errors
435+
mem_gb : float
436+
Size of BOLD file in GB
437+
metadata : dict
438+
BIDS metadata for BOLD file
439+
name : str
440+
Name of workflow (default: ``bold_mni_trans_wf``)
441+
omp_nthreads : int
442+
Maximum number of threads an individual process may use
429443
template : str
430444
Spatial normalization template used as target when that
431445
registration step was previously calculated with
432446
:py:func:`~fmriprep.workflows.bold.registration.init_bold_reg_wf`.
433447
The template must be one of the MNI templates (fMRIPrep uses
434448
``MNI152NLin2009cAsym`` by default).
435-
metadata : dict
436-
BIDS metadata for BOLD file
437-
mem_gb : float
438-
Size of BOLD file in GB
439-
omp_nthreads : int
440-
Maximum number of threads an individual process may use
441-
name : str
442-
Name of workflow (default: ``bold_mni_trans_wf``)
443449
susan_fwhm : float
444450
Kernel width (FWHM in mm) for the smoothing step with
445451
FSL ``susan`` (default: 6.0mm)
446452
use_fieldwarp : bool
447453
Include SDC warp in single-shot transform from BOLD to MNI
448-
ignore_aroma_err : bool
449-
Do not fail on ICA-AROMA errors
450-
aroma_melodic_dim: int or None
451-
Set the dimensionality of the Melodic ICA decomposition
452-
If None, MELODIC automatically estimates dimensionality.
453454
454455
455456
**Inputs**
456-
457-
bold_mni
458-
BOLD series, resampled to template space
457+
bold_mask
458+
BOLD series mask in template space
459+
bold_split
460+
Individual 3D BOLD volumes, not motion corrected
461+
fieldwarp
462+
a :abbr:`DFM (displacements field map)` in ITK format
463+
hmc_xforms
464+
List of affine transforms aligning each volume to ``ref_image`` in ITK format
465+
itk_bold_to_t1
466+
Affine transform from ``ref_bold_brain`` to T1 space (ITK format)
459467
movpar_file
460468
SPM-formatted motion parameters file
461-
bold_mask_mni
462-
BOLD series mask in template space
469+
n_volumes_to_discard
470+
number of non steady state volumes
471+
name_source
472+
BOLD series NIfTI file
473+
Used to recover original information lost during processing
474+
t1_2_mni_forward_transform
475+
ANTs-compatible affine-and-warp transform file
476+
463477
464478
**Outputs**
465479
@@ -472,15 +486,15 @@ def init_ica_aroma_wf(template, metadata, mem_gb, omp_nthreads,
472486
nonaggr_denoised_file
473487
BOLD series with non-aggressive ICA-AROMA denoising applied
474488
475-
.. _ICA-AROMA: https://github.com/rhr-pruim/ICA-AROMA
489+
.. _ICA-AROMA: https://github.com/maartenmennes/ICA-AROMA
476490
477491
"""
478492
workflow = Workflow(name=name)
479493
workflow.__postdesc__ = """\
480494
Automatic removal of motion artifacts using independent component analysis
481495
[ICA-AROMA, @aroma] was performed on the *preprocessed BOLD on MNI space*
482-
time-series after a spatial smoothing with an isotropic, Gaussian kernel
483-
of 6mm FWHM (full-width half-maximum).
496+
time-series after removal of non-steady state volumes and spatial smoothing
497+
with an isotropic, Gaussian kernel of 6mm FWHM (full-width half-maximum).
484498
Corresponding "non-aggresively" denoised runs were produced after such
485499
smoothing.
486500
Additionally, the "aggressive" noise-regressors were collected and placed

0 commit comments

Comments
 (0)