Skip to content

Commit 565c9e0

Browse files
authored
Merge pull request #240 from FCP-INDI/dev-1.7.1
Merge v1.7.1 updates to Source
2 parents 63a6ec0 + 3b6d2e8 commit 565c9e0

File tree

8 files changed

+38
-13
lines changed

8 files changed

+38
-13
lines changed

docs/_sources/_images/acpc_gui.png

123 KB
Loading
-24.5 KB
Loading

docs/_sources/_static/flowcharts/anatomical.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/_sources/_static/flowcharts/pipeline-individual.svg

Lines changed: 1 addition & 1 deletion
Loading

docs/_sources/user/anat.rst

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
Initial Preprocessing
99
^^^^^^^^^^^^^^^^^^^^^
1010

11-
Initial preprocessing offers methods like `non-local means filtering <https://www.iro.umontreal.ca/~mignotte/IFT6150/Articles/Buades-NonLocal.pdf>`_ and `N4 bias field correction <https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3071855/>`_ to preprocess anatomical images.
11+
Initial preprocessing offers methods like `ACPC Alignment <https://doi.org/10.1016/j.neuroimage.2013.04.127>`_ , `non-local means filtering <https://www.iro.umontreal.ca/~mignotte/IFT6150/Articles/Buades-NonLocal.pdf>`_ and `N4 bias field correction <https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3071855/>`_ to preprocess anatomical images.
1212

1313
C-PAC provides options for configuring initial preprocessing - users can select:
1414

15+
* `ACPC Alignment <https://github.com/Washington-University/HCPpipelines/blob/master/PreFreeSurfer/scripts/ACPCAlignment.sh>`_
1516
* `ANT's DenoiseImage <https://manpages.debian.org/experimental/ants/DenoiseImage.1.en.html>`_
1617
* `ANT's N4BiasFieldCorrection <http://manpages.ubuntu.com/manpages/trusty/man1/N4BiasFieldCorrection.1.html>`_
1718

@@ -21,10 +22,22 @@ Configuring CPAC to run initial preprocessing:
2122

2223
.. figure:: /_images/anat_init_options.png
2324

25+
#. **ACPC Alignment - [On,Off]:** Anterior Commissure - Posterior Comissure (ACPC) alignment. Default is Off. If choose 'on', clicking on the setting icon will bring up a dialog where you can set ACPC alignment parameters.
26+
2427
#. **Non-Local Means Filtering - [On,Off]:** ANTs DenoiseImage. Default is Off.
2528

2629
#. **N4 Bias Field Correction - [On,Off]:** ANTs N4BiasFieldCorrection - a variant of the popular N3 (nonparametric nonuniform normalization) retrospective bias correction algorithm. Default is Off.
2730

31+
Configuring ACPC Alignment options:
32+
""""""""""""""""""""""""""""""""""""""
33+
**Note:** These options are pre-set for ACPC Alignment's default values. These do not need to be modified unless you are looking to optimize the results of ACPC alignment for your particular dataset.
34+
35+
.. figure:: /_images/acpc_gui.png
36+
37+
#. **ACPC Brain Size - [150]:** ACPC size of brain in z-dimension in mm. Default: 150mm for human data, 70mm for macaque data.
38+
#. **ACPC Aligned Skull Template - [path]:** Skull template to be used for ACPC alignment. It is not necessary to change this path unless you intend to use a non-standard template.
39+
#. **ACPC Aligned Brain Template - [path]:** Brain template to be used for ACPC alignment. For human data, it can be 'None'. It is not necessary to change this path unless you intend to use a non-standard template.
40+
2841

2942
Skull-Stripping
3043
^^^^^^^^^^^^^^^

docs/_sources/user/compute_config.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Computer Settings
88

99
#. **Maximum Memory Per Participant (GB) - [number]:** The maximum amount of memory each participant's workflow can allocate. Use this to place an upper bound of memory usage. **Warning: 'Memory Per Participant' multiplied by 'Number of Participants to Run Simultaneously' must not be more than the total amount of RAM. Conversely, using too little RAM can impede the speed of a pipeline run. It is recommended that you set this to a value that when multiplied by 'Number of Participants to Run Simultaneously' is as much RAM you can safely allocate.**
1010

11-
#. **Maximum Cores Per Participant - [integer]:** Number of cores (on a single machine) or slots on a node (cluster/grid) per subject. Slots are cores on a cluster/grid node. 'Number of Cores Per Subject' multiplied by 'Number of Subjects to Run Simultaneously' multiplied by 'Number of Cores for Anatomical Registration (ANTS)' must not be greater than the total number of cores.
11+
#. **Maximum Cores Per Participant - [integer]:** Number of cores (on a single machine) or slots on a node (cluster/grid) per subject. Slots are cores on a cluster/grid node. 'Number of Cores Per Participant' multiplied by 'Number of Participants to Run Simultaneously' must not be greater than the total number of cores. Dedicating more than one core/CPU per participant will direct C-PAC to parallelize the motion correction and time series registration transform application steps, for a speed increase.
1212

1313
#. **Number of Participants to Run Simultaneously - [integer]:** This number depends on computing resources.
1414

docs/_sources/user/func.rst

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@ Initial Preprocessing
1818
#. **Motion Correction Tool - [3dvolreg, mcflirt]:** Choose motion correction method. Options: AFNI volreg, FSL mcflirt. Default is AFNI volreg.
1919
#. **Motion Correction Reference - [mean, median, selected volume]:** Choose motion correction reference. Options: mean, median, selected volume. Default is mean.
2020
#. **Motion Correction Reference Volume - [integer]:** Choose an integer as the motion correction reference volume if choosing "selected volume" as motion correction reference.
21-
21+
#. **Motion Estimate Filter:** Adapted from the motion estimate filter by `DCAN Labs <https://github.com/DCAN-Labs>`__. Based on the filter described `in this publication <https://www.biorxiv.org/content/10.1101/337360v1.full.pdf>`__.
22+
23+
#. **run - [False, True]:** Toggle the filter.
24+
#. **filter_type - ['notch', 'lowpass']:** Use either a notch/bandstop or low-pass filter.
25+
#. **filter_order - [integer]:** Specify the filter order. Default is 4.
26+
#. **breathing_rate_min - [integer]:** Lowest breaths-per-minute value in the entire dataset (across all participants). Required for both notch and lowpass filters. Mutually exclusive with `center_frequency`, `filter_bandwidth`, and `lowpass_cutoff`. Using this parameter will guide the automatic design of the filter.
27+
#. **breathing_rate_max - [integer]:** Highest breaths-per-minute value in the entire dataset (across all participants). Required for the notch filter. Mutually exclusive with `center_frequency`, `filter_bandwidth`, and `lowpass_cutoff`. Using this parameter will guide the automatic design of the filter.
28+
#. **center_frequency - [float]:** Notch filter only. Manually select the center frequency for the notch filter. Mutually exclusive with `breathing_rate_min` and `breathing_rate_max`. Use this to manually design the filter.
29+
#. **filter_bandwidth - [float]:** Notch filter only. Manually select the bandwidth for the notch filter. Mutually exclusive with `breathing_rate_min` and `breathing_rate_max`. Use this to manually design the filter.
30+
#. **lowpass_cutoff - [float]:** Lowpass filter only. Manually select the cutoff frequency for the lowpass filter. Mutually exclusive with `breathing_rate_min` and `breathing_rate_max`. Use this to manually design the filter.
2231

2332
Configuration Without the GUI
2433
"""""""""""""""""""""""""""""

docs/_sources/user/output_dir.rst

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,13 +38,15 @@ The output directory folders below are produced during a default run. If you ena
3838
* **frame_wise_displacement_power**: 1-D file containing the vector of framewise displacement values between volumes, as calculated via Power.
3939
* **functional_brain_mask**: Binary mask of the brain in functional space.
4040
* **functional_brain_mask_to_standard**: Binary mask of the functional-space brain warped to standard template.
41-
* **functional_freq_filtered**: Preprocessed functional timeseries file all the way up to temporal filtering.
41+
* **functional_freq_filtered**: Preprocessed functional timeseries file all the way up to temporal filtering. 4D time series.
4242
* **functional_nuisance_regressors**: .mat file containing the data corresponding to each nuisance that was regressed out during nuisance regression.
4343
* **functional_to_anat_linear_xfm**: Functional-to-anatomical space linear transform. FSL-FLIRT format.
44-
* **functional_to_standard**: Preprocessed functional timeseries warped to standard template space.
44+
* **functional_to_standard**: Preprocessed functional timeseries warped to standard template space. 4D time series.
45+
* **functional_to_standard_smooth**: Smoothed version of functional_to-standard. 4D time series.
46+
* **functional_to_standard_xfm**: Composite transform (as a NIfTI .nii.gz file) bringing data from native functional (BOLD) space to template space.
4547
* **mean_functional_to_standard**: Mean functional (one-volume 3D file of functional scan) warped to standard template space.
4648
* **mni_to_anatomical_nonlinear_xfm**: Same as the anatomical_to_mni_nonlinear_xfm described above, except the inverse warp.
47-
* **motion_correct**: Motion-corrected functional timeseries in functional space, before the rest of functional preprocessing.
49+
* **motion_correct**: Motion-corrected functional timeseries in functional space, before the rest of functional preprocessing. 4D time series.
4850
* **motion_params**: Text file containing the single-value max or mean numbers of each head motion parameter/measure.
4951
* **output_means**: Text files containing the mean intensity values of each output or derivative. Used later in group-level analysis.
5052
* **path_files_here**: Text files containing full file paths to all of the C-PAC outputs in the output directory. Can be used for convenient file path parsing.
@@ -104,14 +106,15 @@ In addition to the output directories described above under "Descriptions", the
104106

105107
**Extra Functional Outputs** - Set 'Write Extra Functional Outputs' to 'On' to produce these outputs.
106108

107-
* **functional_nuisance_residuals**: A NIfTI (.nii) file of the pre-processed functional time series produced directly after nuisance regression is performed.
108-
* **functional_preprocessed**: The functional time series produced directly after initial functional pre-processing (de-obliquing, re-orienting, motion correction, functional skull-stripping, and image intensity normalization). In native space.
109+
* **functional_nuisance_residuals**: A NIfTI (.nii) file of the pre-processed functional time series produced directly after nuisance regression is performed. 4D time series.
110+
* **functional_nuisance_residuals_smooth**: Smoothed version of functional_nuisance_residuals. 4D time series.
111+
* **functional_preprocessed**: The functional time series produced directly after initial functional pre-processing (de-obliquing, re-orienting, motion correction, functional skull-stripping, and image intensity normalization). In native space. 4D time series.
109112
* **functional_preprocessed_mask**: A binary mask of the functional_preprocessed output. In native space.
110113
* **mean_functional**: The mean of the functional time-series taken over the time course. Presented as a single-volume NifTI file.
111114
* **mean_functional_in_anat**: The mean of the functional time-series, registered/warped to anatomical (T1) space.
112-
* **motion_correct_to_standard**: Motion-corrected functional timeseries in template space, before the rest of functional preprocessing.
113-
* **motion_correct_to_standard_smooth**: Motion-corrected functional timeseries in template space, before the rest of functional preprocessing, but smoothed.
114-
* **slice_time_corrected**: The functional time-series after slice-time correction.
115+
* **motion_correct_to_standard**: Motion-corrected functional timeseries in template space, before the rest of functional preprocessing. 4D time series.
116+
* **motion_correct_to_standard_smooth**: Motion-corrected functional timeseries in template space, before the rest of functional preprocessing, but smoothed. 4D time series.
117+
* **slice_time_corrected**: The functional time-series after slice-time correction. 4D time series.
115118

116119
**Non-smoothed** - Set 'Run Smoothing' to either 'Off' or 'On/Off' to produce these outputs.
117120

0 commit comments

Comments
 (0)