You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Once conda finishes creating the virtual environment, activate `dsstdeface`.
40
44
41
-
```bash
42
-
conda activate dsstdeface
43
-
```
45
+
```bash
46
+
conda activate dsstdeface
47
+
```
44
48
45
-
### Run`dsst_defacing_wf.py`
49
+
##Using`dsst_defacing_wf.py`
46
50
47
-
To deface anatomical scans in the dataset, run `dsst_defacing_wf.py` script.
51
+
To deface anatomical scans in the dataset, run the `src/dsst_defacing_wf.py` script. From within the `dsst-defacing-pipeline` cloned directory, run the following command to see the help message.
If you have dataset with over 10 subjects, then it might be more practical to run the pipeline in parallel for every
93
-
subject in the dataset using the `-p/--participant-id` option as follows:
121
+
If you have dataset with over 10 subjects and since each defacing job is independent, it might be more practical to run the pipeline in parallel for every
122
+
subject/session in the dataset using the `-n/--n-cpus` option. The following example command will run the pipeline occupying 10 processors at a time.
While describing the process, we frequently use the following terms:
207
+
While describing this process, we frequently use the following terms:
174
208
175
209
- **Primary Scan:** The best quality T1w scan within a session. For programmatic selection, we assume that the most
176
210
recently acquired T1w scan is of the best quality.
177
-
-**Other/Secondary Scans:** All scans *except* the primary scan are grouped together and referred to as "other" or "
178
-
secondary" scans for a given session.
179
-
-**Mapping File:** A JSON file that assignsmaps a primary scan (or `primary_t1`) to all other scans within a session.
180
-
Please find an example file [here]().
181
-
-**[VisualQC](https://raamana.github.io/visualqc):** A suite of QC tools developed by Pradeep Raamana (Assistant
211
+
- **Other/Secondary Scans:** All scans *except* the primary scan are grouped together and referred to as "other" or
212
+
"secondary" scans for a given session.
213
+
- **Mapping File:** A JSON file that assigns/maps a primary scan (or `primary_t1`) to all other scans within a session.
214
+
Please find an example file [here](https://github.com/nimh-dsst/dsst-defacing-pipeline/blob/47288e429d0614a1d0be44f7176f85570823fbaa/examples/primary_to_others_mapping.json).
215
+
- **[VisualQC](https://raamana.github.io/visualqc):** A suite of QC tools developed by Pradeep Raamana, PhD (Assistant
182
216
Professor at University of Pittsburgh).
183
217
184
218
## References
@@ -196,7 +230,7 @@ While describing the process, we frequently use the following terms:
196
230
197
231
## Acknowledgements
198
232
199
-
We'd like to thank [Pradeep Raamana](https://www.aimi.pitt.edu/people/ant), Assistant Professor at the Department of
233
+
We'd like to thank [Pradeep Raamana, PhD.](https://www.aimi.pitt.edu/people/ant), Assistant Professor at the Department of
200
234
Radiology at University of Pittsburgh, and [Paul Taylor](https://afni.nimh.nih.gov/Staff), Acting Director of Scientific
201
235
and Statistical Computing Core (SSCC) at NIMH fortheir timely helpin resolving and adapting VisualQC and AFNI Refacer,
202
236
respectively, for the specific needs of this project.
0 commit comments