1
1
# ![ MIALSRTK logo] ( https://raw.githubusercontent.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/dev-pgd-hk/documentation/images/mialsrtk-logo.png )
2
2
---
3
3
4
- Copyright © 2016-2020 Medical Image Analysis Laboratory, University Hospital Center and University of Lausanne (UNIL-CHUV), Switzerland
4
+ Copyright © 2016-2023 Medical Image Analysis Laboratory, University Hospital Center and University of Lausanne (UNIL-CHUV), Switzerland
5
5
6
6
This software is distributed under the open-source BSD 3-Clause License. See [ LICENSE] ( LICENSE.txt ) file for details.
7
7
@@ -47,14 +47,16 @@ All these design considerations allow us not only to (1) represent the entire pr
47
47
$ mialsuperresolutiontoolkit_[docker|singularity] -h
48
48
49
49
usage: mialsuperresolutiontoolkit_[docker|singularity] [-h]
50
+ [--run_type {sr,preprocessing}]
50
51
[--participant_label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...]]
51
52
[--param_file PARAM_FILE]
52
53
[--openmp_nb_of_cores OPENMP_NB_OF_CORES]
53
54
[--nipype_nb_of_cores NIPYPE_NB_OF_CORES]
54
55
[--memory MEMORY]
55
56
[--masks_derivatives_dir MASKS_DERIVATIVES_DIR]
56
- [-v]
57
- [--codecarbon_output_dir CODECARBON_OUTPUT_DIR]
57
+ [--labels_derivatives_dir LABELS_DERIVATIVES_DIR]
58
+ [--all_outputs] [-v] [--verbose]
59
+ [--track_carbon_footprint]
58
60
bids_dir output_dir {participant}
59
61
60
62
Argument parser of the MIALSRTK BIDS App Python wrapper
@@ -71,6 +73,10 @@ All these design considerations allow us not only to (1) represent the entire pr
71
73
72
74
optional arguments:
73
75
-h, --help show this help message and exit
76
+ --run_type {sr,preprocessing}
77
+ Type of pipeline that is run. Can choose between
78
+ running the super-resolution pipeline (`sr`) or only
79
+ preprocessing (`preprocessing`).
74
80
--participant_label PARTICIPANT_LABEL [PARTICIPANT_LABEL ...]
75
81
The label(s) of the participant(s) that should be
76
82
analyzed. The label corresponds to
@@ -101,27 +107,36 @@ All these design considerations allow us not only to (1) represent the entire pr
101
107
--masks_derivatives_dir MASKS_DERIVATIVES_DIR
102
108
Use manual brain masks found in
103
109
``<output_dir>/<masks_derivatives_dir>/`` directory
104
- --codecarbon_output_dir CODECARBON_OUTPUT_DIR
105
- Directory path in which `codecarbon` saves a CSV file
106
- called `emissions.csv` reporting carbon footprint
107
- details of the overall run (Defaults to user’s home
108
- directory )
110
+ --labels_derivatives_dir LABELS_DERIVATIVES_DIR
111
+ Use low-resolution labelmaps found in
112
+ ``<output_dir>/<labels_derivatives_dir>/`` directory.
113
+ --all_outputs Whether or not all outputs should be kept(e.g.
114
+ preprocessed LR images )
109
115
-v, --version show program's version number and exit
116
+ --verbose Verbose mode
117
+ --track_carbon_footprint
118
+ Track carbon footprint with `codecarbon
119
+ <https://codecarbon.io/>`_ and save results in a CSV
120
+ file called ``emissions.csv`` in the
121
+ ``<bids_dir>/code`` directory.
110
122
111
123
## Credits
112
124
113
125
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
114
126
<!-- prettier-ignore-start -->
115
127
<!-- markdownlint-disable -->
116
128
<table >
117
- <tr >
118
- <td align="center"><a href="https://github.com/sebastientourbier"><img src="https://avatars3.githubusercontent.com/u/22279770?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Sébastien Tourbier</b></sub></a><br /><a href="#design-sebastientourbier" title="Design">🎨</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=sebastientourbier" title="Tests">⚠️</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=sebastientourbier" title="Code">💻</a> <a href="#example-sebastientourbier" title="Examples">💡</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=sebastientourbier" title="Documentation">📖</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/pulls?q=is%3Apr+reviewed-by%3Asebastientourbier" title="Reviewed Pull Requests">👀</a></td>
119
- <td align="center"><a href="https://github.com/pdedumast"><img src="https://avatars2.githubusercontent.com/u/19345763?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Priscille de Dumast</b></sub></a><br /><a href="#example-pdedumast" title="Examples">💡</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=pdedumast" title="Tests">⚠️</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=pdedumast" title="Code">💻</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=pdedumast" title="Documentation">📖</a></td>
120
- <td align="center"><a href="https://github.com/hamzake"><img src="https://avatars2.githubusercontent.com/u/27707790?v=4?s=100" width="100px;" alt=""/><br /><sub><b>hamzake</b></sub></a><br /><a href="#example-hamzake" title="Examples">💡</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=hamzake" title="Tests">⚠️</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=hamzake" title="Code">💻</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=hamzake" title="Documentation">📖</a></td>
121
- <td align="center"><a href="https://github.com/helenelajous"><img src="https://avatars.githubusercontent.com/u/58977568?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Hélène Lajous</b></sub></a><br /><a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/issues?q=author%3Ahelenelajous" title="Bug reports">🐛</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=helenelajous" title="Tests">⚠️</a></td>
122
- <td align="center"><a href="https://wp.unil.ch/connectomics"><img src="https://avatars.githubusercontent.com/u/411192?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Patric Hagmann</b></sub></a><br /><a href="#data-pahagman" title="Data">🔣</a> <a href="#fundingFinding-pahagman" title="Funding Finding">🔍</a></td>
123
- <td align="center"><a href="https://github.com/meribach"><img src="https://avatars3.githubusercontent.com/u/2786897?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Meritxell Bach</b></sub></a><br /><a href="#fundingFinding-meribach" title="Funding Finding">🔍</a></td>
124
- </tr >
129
+ <tbody >
130
+ <tr>
131
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/sebastientourbier"><img src="https://avatars3.githubusercontent.com/u/22279770?v=4?s=100" width="100px;" alt="Sébastien Tourbier"/><br /><sub><b>Sébastien Tourbier</b></sub></a><br /><a href="#design-sebastientourbier" title="Design">🎨</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=sebastientourbier" title="Code">💻</a> <a href="#infra-sebastientourbier" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=sebastientourbier" title="Tests">⚠️</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/issues?q=author%3Asebastientourbier" title="Bug reports">🐛</a> <a href="#example-sebastientourbier" title="Examples">💡</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=sebastientourbier" title="Documentation">📖</a> <a href="#ideas-sebastientourbier" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/pulls?q=is%3Apr+reviewed-by%3Asebastientourbier" title="Reviewed Pull Requests">👀</a></td>
132
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/pdedumast"><img src="https://avatars2.githubusercontent.com/u/19345763?v=4?s=100" width="100px;" alt="Priscille de Dumast"/><br /><sub><b>Priscille de Dumast</b></sub></a><br /><a href="#design-pdedumast" title="Design">🎨</a> <a href="#example-pdedumast" title="Examples">💡</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=pdedumast" title="Tests">⚠️</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=pdedumast" title="Code">💻</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=pdedumast" title="Documentation">📖</a> <a href="#ideas-pdedumast" title="Ideas, Planning, & Feedback">🤔</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/pulls?q=is%3Apr+reviewed-by%3Apdedumast" title="Reviewed Pull Requests">👀</a></td>
133
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/hamzake"><img src="https://avatars2.githubusercontent.com/u/27707790?v=4?s=100" width="100px;" alt="hamzake"/><br /><sub><b>hamzake</b></sub></a><br /><a href="#example-hamzake" title="Examples">💡</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=hamzake" title="Tests">⚠️</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=hamzake" title="Code">💻</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=hamzake" title="Documentation">📖</a> <a href="#ideas-hamzake" title="Ideas, Planning, & Feedback">🤔</a></td>
134
+ <td align="center" valign="top" width="14.28%"><a href="http://t-sanchez.github.io"><img src="https://avatars.githubusercontent.com/u/14288440?v=4?s=100" width="100px;" alt="Thomas Sanchez"/><br /><sub><b>Thomas Sanchez</b></sub></a><br /><a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/issues?q=author%3At-sanchez" title="Bug reports">🐛</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=t-sanchez" title="Code">💻</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=t-sanchez" title="Documentation">📖</a> <a href="#example-t-sanchez" title="Examples">💡</a> <a href="#ideas-t-sanchez" title="Ideas, Planning, & Feedback">🤔</a> <a href="#infra-t-sanchez" title="Infrastructure (Hosting, Build-Tools, etc)">🚇</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/pulls?q=is%3Apr+reviewed-by%3At-sanchez" title="Reviewed Pull Requests">👀</a></td>
135
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/helenelajous"><img src="https://avatars.githubusercontent.com/u/58977568?v=4?s=100" width="100px;" alt="Hélène Lajous"/><br /><sub><b>Hélène Lajous</b></sub></a><br /><a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/issues?q=author%3Ahelenelajous" title="Bug reports">🐛</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/commits?author=helenelajous" title="Tests">⚠️</a> <a href="https://github.com/Medical-Image-Analysis-Laboratory/mialsuperresolutiontoolkit/pulls?q=is%3Apr+reviewed-by%3Ahelenelajous" title="Reviewed Pull Requests">👀</a></td>
136
+ <td align="center" valign="top" width="14.28%"><a href="https://wp.unil.ch/connectomics"><img src="https://avatars.githubusercontent.com/u/411192?v=4?s=100" width="100px;" alt="Patric Hagmann"/><br /><sub><b>Patric Hagmann</b></sub></a><br /><a href="#data-pahagman" title="Data">🔣</a> <a href="#fundingFinding-pahagman" title="Funding Finding">🔍</a></td>
137
+ <td align="center" valign="top" width="14.28%"><a href="https://github.com/meribach"><img src="https://avatars3.githubusercontent.com/u/2786897?v=4?s=100" width="100px;" alt="Meritxell Bach"/><br /><sub><b>Meritxell Bach</b></sub></a><br /><a href="#fundingFinding-meribach" title="Funding Finding">🔍</a></td>
138
+ </tr>
139
+ </tbody >
125
140
</table >
126
141
127
142
<!-- markdownlint-restore -->
0 commit comments