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
:param bidsfolder: The bids-directory with the (multi-echo) subject data
29
29
:param pattern: Globlike recursive search pattern (relative to the subject/session folder) to select the first echo of the images that need to be combined, e.g. '*task-*echo-1*'
30
30
:param participant: List of sub-# identifiers to be processed (the sub-prefix can be left out). If not specified then all participants will be processed
31
-
:param output: Determines where the output is saved. It can be the name of a BIDS datatype folder, such as 'func', or of the derivatives folder, i.e. 'derivatives'. If output = [the name of the input datatype folder] then the original echo images are replaced by one combined image. If output is left empty then the combined image is saved in the input datatype folder and the original echo images are moved to the {unknowndatatype} folder
31
+
:param output: Determines where the output is saved. It can be the name of a BIDS datatype folder, such as 'func', or of the derivatives folder, i.e. 'derivatives'. If output is left empty then the combined image is saved in the input datatype folder and the original echo images are moved to the {unknowndatatype} folder
32
32
:param algorithm: Combination algorithm, either 'PAID', 'TE' or 'average'
33
33
:param weights: Weights for each echo
34
34
:param force: Boolean to overwrite existing ME target files
Copy file name to clipboardExpand all lines: bidscoin/cli/_echocombine.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -27,7 +27,7 @@ class CustomFormatter(argparse.ArgumentDefaultsHelpFormatter, argparse.RawDescri
27
27
parser.add_argument('bidsfolder', help='The bids-directory with the (multi-echo) subject data')
28
28
parser.add_argument('pattern', help="Globlike recursive search pattern (relative to the subject/session folder) to select the first echo of the images that need to be combined, e.g. '*task-*echo-1*'")
29
29
parser.add_argument('-p','--participant', help='Space separated list of sub-# identifiers to be processed (the sub-prefix can be left out). If not specified then all participants will be processed', nargs='+', metavar='LABEL')
30
-
parser.add_argument('-o','--output', help=f"A string that determines where the output is saved. It can be the name of a BIDS datatype folder, such as 'func', or of the derivatives folder, i.e. 'derivatives'. If output = [the name of the input datatype folder] then the original echo images are replaced by one combined image. If output is left empty then the combined image is saved in the input datatype folder and the original echo images are moved to the 'extra_data' folder", default='', metavar='DESTINATION')
30
+
parser.add_argument('-o','--output', help=f"A string that determines where the output is saved. It can be the name of a BIDS datatype folder, such as 'func', or of the derivatives folder, i.e. 'derivatives'. If output is left empty then the combined image is saved in the input datatype folder and the original echo images are moved to the 'extra_data' folder", default='', metavar='DESTINATION')
parser.add_argument('-w','--weights', help='Weights for each echo', nargs='*', default=None, type=float, metavar='WEIGHT')
33
33
parser.add_argument('-f','--force', help='Process all images, regardless whether target images already exist. Otherwise the echo-combination will be skipped', action='store_true')
0 commit comments