niwrap-mrtrix 0.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of niwrap-mrtrix might be problematic. Click here for more details.

Files changed (119) hide show
  1. niwrap_mrtrix/mrtrix/__init__.py +130 -0
  2. niwrap_mrtrix/mrtrix/afdconnectivity.py +445 -0
  3. niwrap_mrtrix/mrtrix/amp2response.py +453 -0
  4. niwrap_mrtrix/mrtrix/amp2sh.py +656 -0
  5. niwrap_mrtrix/mrtrix/connectome2tck.py +470 -0
  6. niwrap_mrtrix/mrtrix/connectomeedit.py +338 -0
  7. niwrap_mrtrix/mrtrix/connectomestats.py +767 -0
  8. niwrap_mrtrix/mrtrix/dcmedit.py +440 -0
  9. niwrap_mrtrix/mrtrix/dcminfo.py +416 -0
  10. niwrap_mrtrix/mrtrix/dirflip.py +362 -0
  11. niwrap_mrtrix/mrtrix/dirgen.py +423 -0
  12. niwrap_mrtrix/mrtrix/dirmerge.py +365 -0
  13. niwrap_mrtrix/mrtrix/dirorder.py +347 -0
  14. niwrap_mrtrix/mrtrix/dirsplit.py +358 -0
  15. niwrap_mrtrix/mrtrix/dirstat.py +530 -0
  16. niwrap_mrtrix/mrtrix/dwi2adc.py +428 -0
  17. niwrap_mrtrix/mrtrix/dwi2fod.py +879 -0
  18. niwrap_mrtrix/mrtrix/dwi2mask.py +463 -0
  19. niwrap_mrtrix/mrtrix/dwi2response.py +1295 -0
  20. niwrap_mrtrix/mrtrix/dwi2tensor.py +587 -0
  21. niwrap_mrtrix/mrtrix/dwibiascorrect.py +467 -0
  22. niwrap_mrtrix/mrtrix/dwidenoise.py +478 -0
  23. niwrap_mrtrix/mrtrix/dwiextract.py +825 -0
  24. niwrap_mrtrix/mrtrix/dwigradcheck.py +534 -0
  25. niwrap_mrtrix/mrtrix/fixel2peaks.py +452 -0
  26. niwrap_mrtrix/mrtrix/fixel2sh.py +357 -0
  27. niwrap_mrtrix/mrtrix/fixel2tsf.py +357 -0
  28. niwrap_mrtrix/mrtrix/fixel2voxel.py +437 -0
  29. niwrap_mrtrix/mrtrix/fixelcfestats.py +893 -0
  30. niwrap_mrtrix/mrtrix/fixelconnectivity.py +391 -0
  31. niwrap_mrtrix/mrtrix/fixelconvert.py +588 -0
  32. niwrap_mrtrix/mrtrix/fixelcorrespondence.py +371 -0
  33. niwrap_mrtrix/mrtrix/fixelcrop.py +348 -0
  34. niwrap_mrtrix/mrtrix/fixelfilter.py +616 -0
  35. niwrap_mrtrix/mrtrix/fixelreorient.py +361 -0
  36. niwrap_mrtrix/mrtrix/fod2dec.py +469 -0
  37. niwrap_mrtrix/mrtrix/fod2fixel.py +530 -0
  38. niwrap_mrtrix/mrtrix/label2colour.py +351 -0
  39. niwrap_mrtrix/mrtrix/label2mesh.py +343 -0
  40. niwrap_mrtrix/mrtrix/labelconvert.py +377 -0
  41. niwrap_mrtrix/mrtrix/labelstats.py +344 -0
  42. niwrap_mrtrix/mrtrix/maskdump.py +336 -0
  43. niwrap_mrtrix/mrtrix/maskfilter.py +537 -0
  44. niwrap_mrtrix/mrtrix/mesh2voxel.py +348 -0
  45. niwrap_mrtrix/mrtrix/meshconvert.py +410 -0
  46. niwrap_mrtrix/mrtrix/meshfilter.py +370 -0
  47. niwrap_mrtrix/mrtrix/mraverageheader.py +396 -0
  48. niwrap_mrtrix/mrtrix/mrcalc.py +3047 -0
  49. niwrap_mrtrix/mrtrix/mrcat.py +382 -0
  50. niwrap_mrtrix/mrtrix/mrcentroid.py +344 -0
  51. niwrap_mrtrix/mrtrix/mrcheckerboardmask.py +363 -0
  52. niwrap_mrtrix/mrtrix/mrclusterstats.py +736 -0
  53. niwrap_mrtrix/mrtrix/mrcolour.py +401 -0
  54. niwrap_mrtrix/mrtrix/mrconvert.py +1423 -0
  55. niwrap_mrtrix/mrtrix/mrdegibbs.py +443 -0
  56. niwrap_mrtrix/mrtrix/mrdump.py +351 -0
  57. niwrap_mrtrix/mrtrix/mredit.py +546 -0
  58. niwrap_mrtrix/mrtrix/mrfilter.py +716 -0
  59. niwrap_mrtrix/mrtrix/mrgrid.py +819 -0
  60. niwrap_mrtrix/mrtrix/mrhistmatch.py +403 -0
  61. niwrap_mrtrix/mrtrix/mrhistogram.py +393 -0
  62. niwrap_mrtrix/mrtrix/mrinfo.py +990 -0
  63. niwrap_mrtrix/mrtrix/mrmath.py +413 -0
  64. niwrap_mrtrix/mrtrix/mrmetric.py +425 -0
  65. niwrap_mrtrix/mrtrix/mrregister.py +1676 -0
  66. niwrap_mrtrix/mrtrix/mrstats.py +427 -0
  67. niwrap_mrtrix/mrtrix/mrthreshold.py +549 -0
  68. niwrap_mrtrix/mrtrix/mrtransform.py +1061 -0
  69. niwrap_mrtrix/mrtrix/mtnormalise.py +596 -0
  70. niwrap_mrtrix/mrtrix/peaks2amp.py +334 -0
  71. niwrap_mrtrix/mrtrix/peaks2fixel.py +349 -0
  72. niwrap_mrtrix/mrtrix/responsemean.py +316 -0
  73. niwrap_mrtrix/mrtrix/sh2amp.py +640 -0
  74. niwrap_mrtrix/mrtrix/sh2peaks.py +505 -0
  75. niwrap_mrtrix/mrtrix/sh2power.py +353 -0
  76. niwrap_mrtrix/mrtrix/sh2response.py +394 -0
  77. niwrap_mrtrix/mrtrix/shbasis.py +373 -0
  78. niwrap_mrtrix/mrtrix/shconv.py +498 -0
  79. niwrap_mrtrix/mrtrix/tck2connectome.py +580 -0
  80. niwrap_mrtrix/mrtrix/tck2fixel.py +363 -0
  81. niwrap_mrtrix/mrtrix/tckconvert.py +580 -0
  82. niwrap_mrtrix/mrtrix/tckdfc.py +551 -0
  83. niwrap_mrtrix/mrtrix/tckedit.py +1003 -0
  84. niwrap_mrtrix/mrtrix/tckgen.py +1983 -0
  85. niwrap_mrtrix/mrtrix/tckglobal.py +758 -0
  86. niwrap_mrtrix/mrtrix/tckinfo.py +329 -0
  87. niwrap_mrtrix/mrtrix/tckmap.py +772 -0
  88. niwrap_mrtrix/mrtrix/tckresample.py +580 -0
  89. niwrap_mrtrix/mrtrix/tcksample.py +404 -0
  90. niwrap_mrtrix/mrtrix/tcksift.py +592 -0
  91. niwrap_mrtrix/mrtrix/tcksift2.py +730 -0
  92. niwrap_mrtrix/mrtrix/tckstats.py +441 -0
  93. niwrap_mrtrix/mrtrix/tcktransform.py +340 -0
  94. niwrap_mrtrix/mrtrix/tensor2metric.py +544 -0
  95. niwrap_mrtrix/mrtrix/transformcalc.py +344 -0
  96. niwrap_mrtrix/mrtrix/transformcompose.py +465 -0
  97. niwrap_mrtrix/mrtrix/transformconvert.py +346 -0
  98. niwrap_mrtrix/mrtrix/tsfdivide.py +340 -0
  99. niwrap_mrtrix/mrtrix/tsfinfo.py +344 -0
  100. niwrap_mrtrix/mrtrix/tsfmult.py +340 -0
  101. niwrap_mrtrix/mrtrix/tsfsmooth.py +347 -0
  102. niwrap_mrtrix/mrtrix/tsfthreshold.py +349 -0
  103. niwrap_mrtrix/mrtrix/tsfvalidate.py +328 -0
  104. niwrap_mrtrix/mrtrix/v_5tt2gmwmi.py +359 -0
  105. niwrap_mrtrix/mrtrix/v_5tt2vis.py +412 -0
  106. niwrap_mrtrix/mrtrix/v_5ttcheck.py +337 -0
  107. niwrap_mrtrix/mrtrix/v_5ttedit.py +420 -0
  108. niwrap_mrtrix/mrtrix/v_5ttgen.py +816 -0
  109. niwrap_mrtrix/mrtrix/vectorstats.py +585 -0
  110. niwrap_mrtrix/mrtrix/voxel2fixel.py +350 -0
  111. niwrap_mrtrix/mrtrix/voxel2mesh.py +376 -0
  112. niwrap_mrtrix/mrtrix/warp2metric.py +449 -0
  113. niwrap_mrtrix/mrtrix/warpconvert.py +411 -0
  114. niwrap_mrtrix/mrtrix/warpcorrect.py +368 -0
  115. niwrap_mrtrix/mrtrix/warpinit.py +356 -0
  116. niwrap_mrtrix/mrtrix/warpinvert.py +370 -0
  117. niwrap_mrtrix-0.5.0.dist-info/METADATA +8 -0
  118. niwrap_mrtrix-0.5.0.dist-info/RECORD +119 -0
  119. niwrap_mrtrix-0.5.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,453 @@
1
+ # This file was auto generated by Styx.
2
+ # Do not edit this file directly.
3
+
4
+ import typing
5
+ import pathlib
6
+ from styxdefs import *
7
+
8
+ AMP2RESPONSE_METADATA = Metadata(
9
+ id="45d8955b40d231d0262470246ab11182cd79fcb5.boutiques",
10
+ name="amp2response",
11
+ package="mrtrix",
12
+ container_image_tag="mrtrix3/mrtrix3:3.0.4",
13
+ )
14
+
15
+
16
+ Amp2responseConfigParameters = typing.TypedDict('Amp2responseConfigParameters', {
17
+ "__STYX_TYPE__": typing.Literal["config"],
18
+ "key": str,
19
+ "value": str,
20
+ })
21
+
22
+
23
+ Amp2responseParameters = typing.TypedDict('Amp2responseParameters', {
24
+ "__STYX_TYPE__": typing.Literal["amp2response"],
25
+ "isotropic": bool,
26
+ "noconstraint": bool,
27
+ "directions": typing.NotRequired[InputPathType | None],
28
+ "shells": typing.NotRequired[list[float] | None],
29
+ "lmax": typing.NotRequired[list[int] | None],
30
+ "info": bool,
31
+ "quiet": bool,
32
+ "debug": bool,
33
+ "force": bool,
34
+ "nthreads": typing.NotRequired[int | None],
35
+ "config": typing.NotRequired[list[Amp2responseConfigParameters] | None],
36
+ "help": bool,
37
+ "version": bool,
38
+ "amps": InputPathType,
39
+ "mask": InputPathType,
40
+ "directions_1": InputPathType,
41
+ "response": str,
42
+ })
43
+
44
+
45
+ def dyn_cargs(
46
+ t: str,
47
+ ) -> typing.Any:
48
+ """
49
+ Get build cargs function by command type.
50
+
51
+ Args:
52
+ t: Command type.
53
+ Returns:
54
+ Build cargs function.
55
+ """
56
+ return {
57
+ "amp2response": amp2response_cargs,
58
+ "config": amp2response_config_cargs,
59
+ }.get(t)
60
+
61
+
62
+ def dyn_outputs(
63
+ t: str,
64
+ ) -> typing.Any:
65
+ """
66
+ Get build outputs function by command type.
67
+
68
+ Args:
69
+ t: Command type.
70
+ Returns:
71
+ Build outputs function.
72
+ """
73
+ return {
74
+ "amp2response": amp2response_outputs,
75
+ }.get(t)
76
+
77
+
78
+ def amp2response_config_params(
79
+ key: str,
80
+ value: str,
81
+ ) -> Amp2responseConfigParameters:
82
+ """
83
+ Build parameters.
84
+
85
+ Args:
86
+ key: temporarily set the value of an MRtrix config file entry.
87
+ value: temporarily set the value of an MRtrix config file entry.
88
+ Returns:
89
+ Parameter dictionary
90
+ """
91
+ params = {
92
+ "__STYXTYPE__": "config",
93
+ "key": key,
94
+ "value": value,
95
+ }
96
+ return params
97
+
98
+
99
+ def amp2response_config_cargs(
100
+ params: Amp2responseConfigParameters,
101
+ execution: Execution,
102
+ ) -> list[str]:
103
+ """
104
+ Build command-line arguments from parameters.
105
+
106
+ Args:
107
+ params: The parameters.
108
+ execution: The execution object for resolving input paths.
109
+ Returns:
110
+ Command-line arguments.
111
+ """
112
+ cargs = []
113
+ cargs.append("-config")
114
+ cargs.append(params.get("key"))
115
+ cargs.append(params.get("value"))
116
+ return cargs
117
+
118
+
119
+ class Amp2responseOutputs(typing.NamedTuple):
120
+ """
121
+ Output object returned when calling `amp2response(...)`.
122
+ """
123
+ root: OutputPathType
124
+ """Output root folder. This is the root folder for all outputs."""
125
+ response: OutputPathType
126
+ """the output zonal spherical harmonic coefficients"""
127
+
128
+
129
+ def amp2response_params(
130
+ amps: InputPathType,
131
+ mask: InputPathType,
132
+ directions_1: InputPathType,
133
+ response: str,
134
+ isotropic: bool = False,
135
+ noconstraint: bool = False,
136
+ directions: InputPathType | None = None,
137
+ shells: list[float] | None = None,
138
+ lmax: list[int] | None = None,
139
+ info: bool = False,
140
+ quiet: bool = False,
141
+ debug: bool = False,
142
+ force: bool = False,
143
+ nthreads: int | None = None,
144
+ config: list[Amp2responseConfigParameters] | None = None,
145
+ help_: bool = False,
146
+ version: bool = False,
147
+ ) -> Amp2responseParameters:
148
+ """
149
+ Build parameters.
150
+
151
+ Args:
152
+ amps: the amplitudes image.
153
+ mask: the mask containing the voxels from which to estimate the\
154
+ response function.
155
+ directions_1: a 4D image containing the estimated fibre directions.
156
+ response: the output zonal spherical harmonic coefficients.
157
+ isotropic: estimate an isotropic response function (lmax=0 for all\
158
+ shells).
159
+ noconstraint: disable the non-negativity and monotonicity constraints.
160
+ directions: provide an external text file containing the directions\
161
+ along which the amplitudes are sampled.
162
+ shells: specify one or more b-values to use during processing, as a\
163
+ comma-separated list of the desired approximate b-values (b-values are\
164
+ clustered to allow for small deviations). Note that some commands are\
165
+ incompatible with multiple b-values, and will report an error if more\
166
+ than one b-value is provided.\
167
+ WARNING: note that, even though the b=0 volumes are never referred\
168
+ to as shells in the literature, they still have to be explicitly\
169
+ included in the list of b-values as provided to the -shell option!\
170
+ Several algorithms which include the b=0 volumes in their\
171
+ computations may otherwise return an undesired result.
172
+ lmax: specify the maximum harmonic degree of the response function to\
173
+ estimate (can be a comma-separated list for multi-shell data).
174
+ info: display information messages.
175
+ quiet: do not display information messages or progress status;\
176
+ alternatively, this can be achieved by setting the MRTRIX_QUIET\
177
+ environment variable to a non-empty string.
178
+ debug: display debugging messages.
179
+ force: force overwrite of output files (caution: using the same file as\
180
+ input and output might cause unexpected behaviour).
181
+ nthreads: use this number of threads in multi-threaded applications\
182
+ (set to 0 to disable multi-threading).
183
+ config: temporarily set the value of an MRtrix config file entry.
184
+ help_: display this information page and exit.
185
+ version: display version information and exit.
186
+ Returns:
187
+ Parameter dictionary
188
+ """
189
+ params = {
190
+ "__STYXTYPE__": "amp2response",
191
+ "isotropic": isotropic,
192
+ "noconstraint": noconstraint,
193
+ "info": info,
194
+ "quiet": quiet,
195
+ "debug": debug,
196
+ "force": force,
197
+ "help": help_,
198
+ "version": version,
199
+ "amps": amps,
200
+ "mask": mask,
201
+ "directions_1": directions_1,
202
+ "response": response,
203
+ }
204
+ if directions is not None:
205
+ params["directions"] = directions
206
+ if shells is not None:
207
+ params["shells"] = shells
208
+ if lmax is not None:
209
+ params["lmax"] = lmax
210
+ if nthreads is not None:
211
+ params["nthreads"] = nthreads
212
+ if config is not None:
213
+ params["config"] = config
214
+ return params
215
+
216
+
217
+ def amp2response_cargs(
218
+ params: Amp2responseParameters,
219
+ execution: Execution,
220
+ ) -> list[str]:
221
+ """
222
+ Build command-line arguments from parameters.
223
+
224
+ Args:
225
+ params: The parameters.
226
+ execution: The execution object for resolving input paths.
227
+ Returns:
228
+ Command-line arguments.
229
+ """
230
+ cargs = []
231
+ cargs.append("amp2response")
232
+ if params.get("isotropic"):
233
+ cargs.append("-isotropic")
234
+ if params.get("noconstraint"):
235
+ cargs.append("-noconstraint")
236
+ if params.get("directions") is not None:
237
+ cargs.extend([
238
+ "-directions",
239
+ execution.input_file(params.get("directions"))
240
+ ])
241
+ if params.get("shells") is not None:
242
+ cargs.extend([
243
+ "-shells",
244
+ ",".join(map(str, params.get("shells")))
245
+ ])
246
+ if params.get("lmax") is not None:
247
+ cargs.extend([
248
+ "-lmax",
249
+ ",".join(map(str, params.get("lmax")))
250
+ ])
251
+ if params.get("info"):
252
+ cargs.append("-info")
253
+ if params.get("quiet"):
254
+ cargs.append("-quiet")
255
+ if params.get("debug"):
256
+ cargs.append("-debug")
257
+ if params.get("force"):
258
+ cargs.append("-force")
259
+ if params.get("nthreads") is not None:
260
+ cargs.extend([
261
+ "-nthreads",
262
+ str(params.get("nthreads"))
263
+ ])
264
+ if params.get("config") is not None:
265
+ cargs.extend([a for c in [dyn_cargs(s["__STYXTYPE__"])(s, execution) for s in params.get("config")] for a in c])
266
+ if params.get("help"):
267
+ cargs.append("-help")
268
+ if params.get("version"):
269
+ cargs.append("-version")
270
+ cargs.append(execution.input_file(params.get("amps")))
271
+ cargs.append(execution.input_file(params.get("mask")))
272
+ cargs.append(execution.input_file(params.get("directions_1")))
273
+ cargs.append(params.get("response"))
274
+ return cargs
275
+
276
+
277
+ def amp2response_outputs(
278
+ params: Amp2responseParameters,
279
+ execution: Execution,
280
+ ) -> Amp2responseOutputs:
281
+ """
282
+ Build outputs object containing output file paths and possibly stdout/stderr.
283
+
284
+ Args:
285
+ params: The parameters.
286
+ execution: The execution object for resolving input paths.
287
+ Returns:
288
+ Outputs object.
289
+ """
290
+ ret = Amp2responseOutputs(
291
+ root=execution.output_file("."),
292
+ response=execution.output_file(params.get("response")),
293
+ )
294
+ return ret
295
+
296
+
297
+ def amp2response_execute(
298
+ params: Amp2responseParameters,
299
+ execution: Execution,
300
+ ) -> Amp2responseOutputs:
301
+ """
302
+ Estimate response function coefficients based on the DWI signal in single-fibre
303
+ voxels.
304
+
305
+ This command uses the image data from all selected single-fibre voxels
306
+ concurrently, rather than simply averaging their individual spherical
307
+ harmonic coefficients. It also ensures that the response function is
308
+ non-negative, and monotonic (i.e. its amplitude must increase from the fibre
309
+ direction out to the orthogonal plane).
310
+
311
+ If multi-shell data are provided, and one or more b-value shells are not
312
+ explicitly requested, the command will generate a response function for
313
+ every b-value shell (including b=0 if present).
314
+
315
+ References:
316
+
317
+ Smith, R. E.; Dhollander, T. & Connelly, A. Constrained linear least squares
318
+ estimation of anisotropic response function for spherical deconvolution.
319
+ ISMRM Workshop on Breaking the Barriers of Diffusion MRI, 23.
320
+
321
+ Author: MRTrix3 Developers
322
+
323
+ URL: https://www.mrtrix.org/
324
+
325
+ Args:
326
+ params: The parameters.
327
+ execution: The execution object.
328
+ Returns:
329
+ NamedTuple of outputs (described in `Amp2responseOutputs`).
330
+ """
331
+ params = execution.params(params)
332
+ cargs = amp2response_cargs(params, execution)
333
+ ret = amp2response_outputs(params, execution)
334
+ execution.run(cargs)
335
+ return ret
336
+
337
+
338
+ def amp2response(
339
+ amps: InputPathType,
340
+ mask: InputPathType,
341
+ directions_1: InputPathType,
342
+ response: str,
343
+ isotropic: bool = False,
344
+ noconstraint: bool = False,
345
+ directions: InputPathType | None = None,
346
+ shells: list[float] | None = None,
347
+ lmax: list[int] | None = None,
348
+ info: bool = False,
349
+ quiet: bool = False,
350
+ debug: bool = False,
351
+ force: bool = False,
352
+ nthreads: int | None = None,
353
+ config: list[Amp2responseConfigParameters] | None = None,
354
+ help_: bool = False,
355
+ version: bool = False,
356
+ runner: Runner | None = None,
357
+ ) -> Amp2responseOutputs:
358
+ """
359
+ Estimate response function coefficients based on the DWI signal in single-fibre
360
+ voxels.
361
+
362
+ This command uses the image data from all selected single-fibre voxels
363
+ concurrently, rather than simply averaging their individual spherical
364
+ harmonic coefficients. It also ensures that the response function is
365
+ non-negative, and monotonic (i.e. its amplitude must increase from the fibre
366
+ direction out to the orthogonal plane).
367
+
368
+ If multi-shell data are provided, and one or more b-value shells are not
369
+ explicitly requested, the command will generate a response function for
370
+ every b-value shell (including b=0 if present).
371
+
372
+ References:
373
+
374
+ Smith, R. E.; Dhollander, T. & Connelly, A. Constrained linear least squares
375
+ estimation of anisotropic response function for spherical deconvolution.
376
+ ISMRM Workshop on Breaking the Barriers of Diffusion MRI, 23.
377
+
378
+ Author: MRTrix3 Developers
379
+
380
+ URL: https://www.mrtrix.org/
381
+
382
+ Args:
383
+ amps: the amplitudes image.
384
+ mask: the mask containing the voxels from which to estimate the\
385
+ response function.
386
+ directions_1: a 4D image containing the estimated fibre directions.
387
+ response: the output zonal spherical harmonic coefficients.
388
+ isotropic: estimate an isotropic response function (lmax=0 for all\
389
+ shells).
390
+ noconstraint: disable the non-negativity and monotonicity constraints.
391
+ directions: provide an external text file containing the directions\
392
+ along which the amplitudes are sampled.
393
+ shells: specify one or more b-values to use during processing, as a\
394
+ comma-separated list of the desired approximate b-values (b-values are\
395
+ clustered to allow for small deviations). Note that some commands are\
396
+ incompatible with multiple b-values, and will report an error if more\
397
+ than one b-value is provided.\
398
+ WARNING: note that, even though the b=0 volumes are never referred\
399
+ to as shells in the literature, they still have to be explicitly\
400
+ included in the list of b-values as provided to the -shell option!\
401
+ Several algorithms which include the b=0 volumes in their\
402
+ computations may otherwise return an undesired result.
403
+ lmax: specify the maximum harmonic degree of the response function to\
404
+ estimate (can be a comma-separated list for multi-shell data).
405
+ info: display information messages.
406
+ quiet: do not display information messages or progress status;\
407
+ alternatively, this can be achieved by setting the MRTRIX_QUIET\
408
+ environment variable to a non-empty string.
409
+ debug: display debugging messages.
410
+ force: force overwrite of output files (caution: using the same file as\
411
+ input and output might cause unexpected behaviour).
412
+ nthreads: use this number of threads in multi-threaded applications\
413
+ (set to 0 to disable multi-threading).
414
+ config: temporarily set the value of an MRtrix config file entry.
415
+ help_: display this information page and exit.
416
+ version: display version information and exit.
417
+ runner: Command runner.
418
+ Returns:
419
+ NamedTuple of outputs (described in `Amp2responseOutputs`).
420
+ """
421
+ runner = runner or get_global_runner()
422
+ execution = runner.start_execution(AMP2RESPONSE_METADATA)
423
+ params = amp2response_params(
424
+ isotropic=isotropic,
425
+ noconstraint=noconstraint,
426
+ directions=directions,
427
+ shells=shells,
428
+ lmax=lmax,
429
+ info=info,
430
+ quiet=quiet,
431
+ debug=debug,
432
+ force=force,
433
+ nthreads=nthreads,
434
+ config=config,
435
+ help_=help_,
436
+ version=version,
437
+ amps=amps,
438
+ mask=mask,
439
+ directions_1=directions_1,
440
+ response=response,
441
+ )
442
+ return amp2response_execute(params, execution)
443
+
444
+
445
+ __all__ = [
446
+ "AMP2RESPONSE_METADATA",
447
+ "Amp2responseConfigParameters",
448
+ "Amp2responseOutputs",
449
+ "Amp2responseParameters",
450
+ "amp2response",
451
+ "amp2response_config_params",
452
+ "amp2response_params",
453
+ ]