Skip to content

Commit 3b6d2e8

Browse files
committed
Add motion estimate filter docs, and updated the output directory lists.
1 parent 78e810f commit 3b6d2e8

File tree

3 files changed

+22
-10
lines changed

3 files changed

+22
-10
lines changed

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' 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.
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)