niwrap-afni 0.5.1__py3-none-any.whl → 0.5.3__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-afni might be problematic. Click here for more details.

Files changed (111) hide show
  1. niwrap_afni/afni/abids_json_tool_py.py +104 -1
  2. niwrap_afni/afni/abids_tool.py +43 -1
  3. niwrap_afni/afni/adjunct_make_script_and_rst_py.py +2 -2
  4. niwrap_afni/afni/afni_batch_r.py +1 -2
  5. niwrap_afni/afni/balloon.py +25 -1
  6. niwrap_afni/afni/brain_skin.py +16 -1
  7. niwrap_afni/afni/build_afni_py.py +28 -1
  8. niwrap_afni/afni/cat_matvec.py +23 -1
  9. niwrap_afni/afni/convert_surface.py +38 -1
  10. niwrap_afni/afni/dicom_hinfo.py +9 -2
  11. niwrap_afni/afni/dsetstat2p.py +19 -1
  12. niwrap_afni/afni/fat_proc_align_anat_pair.py +10 -1
  13. niwrap_afni/afni/fat_proc_convert_dcm_anat.py +16 -1
  14. niwrap_afni/afni/fat_roi_row.py +1 -4
  15. niwrap_afni/afni/fsread_annot.py +2 -2
  16. niwrap_afni/afni/imrotate.py +10 -1
  17. niwrap_afni/afni/myget.py +16 -3
  18. niwrap_afni/afni/nifti_tool.py +3 -2
  19. niwrap_afni/afni/p2dsetstat.py +19 -1
  20. niwrap_afni/afni/plugout_drive.py +93 -1
  21. niwrap_afni/afni/prompt_popup.py +46 -1
  22. niwrap_afni/afni/prompt_user.py +16 -1
  23. niwrap_afni/afni/rbox.py +170 -9
  24. niwrap_afni/afni/samp_bias.py +16 -1
  25. niwrap_afni/afni/sfim.py +9 -2
  26. niwrap_afni/afni/stimband.py +22 -3
  27. niwrap_afni/afni/surf_dist.py +47 -1
  28. niwrap_afni/afni/surf_fwhm.py +1 -5
  29. niwrap_afni/afni/surf_info.py +99 -2
  30. niwrap_afni/afni/surface_metrics.py +179 -172
  31. niwrap_afni/afni/tedana_wrapper_py.py +19 -1
  32. niwrap_afni/afni/v_1d_bport.py +12 -1
  33. niwrap_afni/afni/v_1d_correlate.py +39 -1
  34. niwrap_afni/afni/v_1d_marry.py +1 -2
  35. niwrap_afni/afni/v_1d_rplot.py +233 -4
  36. niwrap_afni/afni/v_1d_sem.py +157 -2
  37. niwrap_afni/afni/v_1d_tsort.py +10 -1
  38. niwrap_afni/afni/v_1ddot.py +5 -4
  39. niwrap_afni/afni/v_1deval.py +16 -1
  40. niwrap_afni/afni/v_1dgen_arma11.py +16 -1
  41. niwrap_afni/afni/v_3_droimaker.py +16 -1
  42. niwrap_afni/afni/v_3d_afnito3_d.py +34 -4
  43. niwrap_afni/afni/v_3d_afnito_niml.py +34 -2
  44. niwrap_afni/afni/v_3d_amp_to_rsfc.py +10 -9
  45. niwrap_afni/afni/v_3d_anova3.py +323 -20
  46. niwrap_afni/afni/v_3d_clip_level.py +38 -2
  47. niwrap_afni/afni/v_3d_clust_sim.py +275 -22
  48. niwrap_afni/afni/v_3d_cm.py +103 -2
  49. niwrap_afni/afni/v_3d_dtto_dwi.py +58 -4
  50. niwrap_afni/afni/v_3d_dwito_dt.py +299 -2
  51. niwrap_afni/afni/v_3d_ecm.py +24 -2
  52. niwrap_afni/afni/v_3d_fdr.py +14 -1
  53. niwrap_afni/afni/v_3d_gen_feature_dist.py +53 -1
  54. niwrap_afni/afni/v_3d_hist.py +14 -1
  55. niwrap_afni/afni/v_3d_icc.py +137 -2
  56. niwrap_afni/afni/v_3d_lfcd.py +24 -5
  57. niwrap_afni/afni/v_3d_lme.py +1 -3
  58. niwrap_afni/afni/v_3d_local_histog.py +32 -1
  59. niwrap_afni/afni/v_3d_lrflip.py +46 -1
  60. niwrap_afni/afni/v_3d_lss.py +107 -4
  61. niwrap_afni/afni/v_3d_mask_to_ascii.py +12 -4
  62. niwrap_afni/afni/v_3d_mema.py +301 -3
  63. niwrap_afni/afni/v_3d_mepfm.py +1 -2
  64. niwrap_afni/afni/v_3d_nlfim.py +487 -30
  65. niwrap_afni/afni/v_3d_nwarp_xyz.py +27 -14
  66. niwrap_afni/afni/v_3d_overlap.py +20 -6
  67. niwrap_afni/afni/v_3d_par2_afni.py +32 -1
  68. niwrap_afni/afni/v_3d_pfm.py +200 -2
  69. niwrap_afni/afni/v_3d_remlfit.py +41 -1
  70. niwrap_afni/afni/v_3d_roistats.py +1 -2
  71. niwrap_afni/afni/v_3d_rsfc.py +240 -6
  72. niwrap_afni/afni/v_3d_stat_clust.py +19 -1
  73. niwrap_afni/afni/v_3d_tcat.py +24 -5
  74. niwrap_afni/afni/v_3d_threeto_rgb.py +1 -2
  75. niwrap_afni/afni/v_3d_toy_prog.py +111 -1
  76. niwrap_afni/afni/v_3d_tsgen.py +18 -1
  77. niwrap_afni/afni/v_3d_tsort.py +10 -1
  78. niwrap_afni/afni/v_3d_tstat.py +25 -15
  79. niwrap_afni/afni/v_3d_undump.py +10 -1
  80. niwrap_afni/afni/v_3d_warp.py +236 -2
  81. niwrap_afni/afni/v_3d_wilcoxon.py +9 -7
  82. niwrap_afni/afni/v_3dbucket.py +14 -1
  83. niwrap_afni/afni/v_3dcalc.py +1 -1
  84. niwrap_afni/afni/v_3dcopy.py +31 -3
  85. niwrap_afni/afni/v_3dmask_svd.py +99 -2
  86. niwrap_afni/afni/v__4_daverage.py +11 -2
  87. niwrap_afni/afni/v__afni_env.py +19 -1
  88. niwrap_afni/afni/v__afni_refacer_run.py +36 -1
  89. niwrap_afni/afni/v__build_afni_xlib.py +21 -1
  90. niwrap_afni/afni/v__chauffeur_afni.py +184 -2
  91. niwrap_afni/afni/v__command_globb.py +13 -7
  92. niwrap_afni/afni/v__compute_oc_weights.py +16 -1
  93. niwrap_afni/afni/v__deblank_file_names.py +13 -2
  94. niwrap_afni/afni/v__dice_metric.py +18 -14
  95. niwrap_afni/afni/v__djunct_edgy_align_check.py +82 -10
  96. niwrap_afni/afni/v__djunct_montage_coordinator.py +10 -1
  97. niwrap_afni/afni/v__get_afni_res.py +3 -2
  98. niwrap_afni/afni/v__grad_flip_test.py +38 -42
  99. niwrap_afni/afni/v__grayplot.py +34 -1
  100. niwrap_afni/afni/v__help_afni.py +63 -2
  101. niwrap_afni/afni/v__make_label_table.py +14 -1
  102. niwrap_afni/afni/v__no_ext.py +9 -2
  103. niwrap_afni/afni/v__reorder.py +10 -1
  104. niwrap_afni/afni/v__skull_strip_touch_up.py +10 -1
  105. niwrap_afni/afni/v__suma_make_spec_caret.py +62 -2
  106. niwrap_afni/afni/v__suma_make_spec_fs.py +180 -2
  107. niwrap_afni/afni/v__to_mni_qwarpar.py +21 -1
  108. niwrap_afni/afni/v__to_rai.py +23 -7
  109. {niwrap_afni-0.5.1.dist-info → niwrap_afni-0.5.3.dist-info}/METADATA +1 -1
  110. {niwrap_afni-0.5.1.dist-info → niwrap_afni-0.5.3.dist-info}/RECORD +111 -111
  111. {niwrap_afni-0.5.1.dist-info → niwrap_afni-0.5.3.dist-info}/WHEEL +0 -0
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V__4_DAVERAGE_METADATA = Metadata(
9
- id="539f6118b726725db3041382540750353fc522e5.boutiques",
9
+ id="48ae0996463928a201144da1e797f6f4415ed5c4.boutiques",
10
10
  name="@4Daverage",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -16,6 +16,7 @@ V__4_DAVERAGE_METADATA = Metadata(
16
16
  V4DaverageParameters = typing.TypedDict('V4DaverageParameters', {
17
17
  "__STYX_TYPE__": typing.Literal["@4Daverage"],
18
18
  "output_prefix": str,
19
+ "input_files": list[InputPathType],
19
20
  })
20
21
 
21
22
 
@@ -60,18 +61,22 @@ class V4DaverageOutputs(typing.NamedTuple):
60
61
 
61
62
  def v__4_daverage_params(
62
63
  output_prefix: str,
64
+ input_files: list[InputPathType],
63
65
  ) -> V4DaverageParameters:
64
66
  """
65
67
  Build parameters.
66
68
 
67
69
  Args:
68
70
  output_prefix: Prefix for the output 3D+t brick.
71
+ input_files: List of 3D+t brick filenames to be averaged (e.g.,\
72
+ brick1+orig, brick2+orig). Can use wildcards.
69
73
  Returns:
70
74
  Parameter dictionary
71
75
  """
72
76
  params = {
73
77
  "__STYXTYPE__": "@4Daverage",
74
78
  "output_prefix": output_prefix,
79
+ "input_files": input_files,
75
80
  }
76
81
  return params
77
82
 
@@ -92,7 +97,7 @@ def v__4_daverage_cargs(
92
97
  cargs = []
93
98
  cargs.append("@4Daverage")
94
99
  cargs.append(params.get("output_prefix"))
95
- cargs.append("[INPUT_FILES...]")
100
+ cargs.extend([execution.input_file(f) for f in params.get("input_files")])
96
101
  return cargs
97
102
 
98
103
 
@@ -141,6 +146,7 @@ def v__4_daverage_execute(
141
146
 
142
147
  def v__4_daverage(
143
148
  output_prefix: str,
149
+ input_files: list[InputPathType],
144
150
  runner: Runner | None = None,
145
151
  ) -> V4DaverageOutputs:
146
152
  """
@@ -152,6 +158,8 @@ def v__4_daverage(
152
158
 
153
159
  Args:
154
160
  output_prefix: Prefix for the output 3D+t brick.
161
+ input_files: List of 3D+t brick filenames to be averaged (e.g.,\
162
+ brick1+orig, brick2+orig). Can use wildcards.
155
163
  runner: Command runner.
156
164
  Returns:
157
165
  NamedTuple of outputs (described in `V4DaverageOutputs`).
@@ -160,6 +168,7 @@ def v__4_daverage(
160
168
  execution = runner.start_execution(V__4_DAVERAGE_METADATA)
161
169
  params = v__4_daverage_params(
162
170
  output_prefix=output_prefix,
171
+ input_files=input_files,
163
172
  )
164
173
  return v__4_daverage_execute(params, execution)
165
174
 
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V__AFNI_ENV_METADATA = Metadata(
9
- id="b177bf4393f72d4c785c1458de43a3ef880cfb18.boutiques",
9
+ id="4ce29310252c070804fde47dcdc6587ffd8a7e8e.boutiques",
10
10
  name="@AfniEnv",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -19,7 +19,9 @@ VAfniEnvParameters = typing.TypedDict('VAfniEnvParameters', {
19
19
  "unset_flag": typing.NotRequired[str | None],
20
20
  "get_flag": typing.NotRequired[str | None],
21
21
  "help_flag": bool,
22
+ "help_web_flag": bool,
22
23
  "help_web_flag_alias": bool,
24
+ "help_view_flag": bool,
23
25
  "help_view_flag_alias": bool,
24
26
  "all_opts_flag": bool,
25
27
  "help_find_flag": typing.NotRequired[str | None],
@@ -70,7 +72,9 @@ def v__afni_env_params(
70
72
  unset_flag: str | None = None,
71
73
  get_flag: str | None = None,
72
74
  help_flag: bool = False,
75
+ help_web_flag: bool = False,
73
76
  help_web_flag_alias: bool = False,
77
+ help_view_flag: bool = False,
74
78
  help_view_flag_alias: bool = False,
75
79
  all_opts_flag: bool = False,
76
80
  help_find_flag: str | None = None,
@@ -83,7 +87,9 @@ def v__afni_env_params(
83
87
  unset_flag: Unset environment variable NAME.
84
88
  get_flag: Get the value of environment variable NAME.
85
89
  help_flag: Display the help message for @AfniEnv script.
90
+ help_web_flag: Open webpage with help for this program.
86
91
  help_web_flag_alias: Same as -h_web.
92
+ help_view_flag: Open -help output in a GUI editor.
87
93
  help_view_flag_alias: Same as -h_view.
88
94
  all_opts_flag: List all of the options for this script.
89
95
  help_find_flag: Search for lines containing WORD in -help output.\
@@ -94,7 +100,9 @@ def v__afni_env_params(
94
100
  params = {
95
101
  "__STYXTYPE__": "@AfniEnv",
96
102
  "help_flag": help_flag,
103
+ "help_web_flag": help_web_flag,
97
104
  "help_web_flag_alias": help_web_flag_alias,
105
+ "help_view_flag": help_view_flag,
98
106
  "help_view_flag_alias": help_view_flag_alias,
99
107
  "all_opts_flag": all_opts_flag,
100
108
  }
@@ -141,8 +149,12 @@ def v__afni_env_cargs(
141
149
  ])
142
150
  if params.get("help_flag"):
143
151
  cargs.append("-help")
152
+ if params.get("help_web_flag"):
153
+ cargs.append("-h_web")
144
154
  if params.get("help_web_flag_alias"):
145
155
  cargs.append("-hweb")
156
+ if params.get("help_view_flag"):
157
+ cargs.append("-h_view")
146
158
  if params.get("help_view_flag_alias"):
147
159
  cargs.append("-hview")
148
160
  if params.get("all_opts_flag"):
@@ -203,7 +215,9 @@ def v__afni_env(
203
215
  unset_flag: str | None = None,
204
216
  get_flag: str | None = None,
205
217
  help_flag: bool = False,
218
+ help_web_flag: bool = False,
206
219
  help_web_flag_alias: bool = False,
220
+ help_view_flag: bool = False,
207
221
  help_view_flag_alias: bool = False,
208
222
  all_opts_flag: bool = False,
209
223
  help_find_flag: str | None = None,
@@ -221,7 +235,9 @@ def v__afni_env(
221
235
  unset_flag: Unset environment variable NAME.
222
236
  get_flag: Get the value of environment variable NAME.
223
237
  help_flag: Display the help message for @AfniEnv script.
238
+ help_web_flag: Open webpage with help for this program.
224
239
  help_web_flag_alias: Same as -h_web.
240
+ help_view_flag: Open -help output in a GUI editor.
225
241
  help_view_flag_alias: Same as -h_view.
226
242
  all_opts_flag: List all of the options for this script.
227
243
  help_find_flag: Search for lines containing WORD in -help output.\
@@ -237,7 +253,9 @@ def v__afni_env(
237
253
  unset_flag=unset_flag,
238
254
  get_flag=get_flag,
239
255
  help_flag=help_flag,
256
+ help_web_flag=help_web_flag,
240
257
  help_web_flag_alias=help_web_flag_alias,
258
+ help_view_flag=help_view_flag,
241
259
  help_view_flag_alias=help_view_flag_alias,
242
260
  all_opts_flag=all_opts_flag,
243
261
  help_find_flag=help_find_flag,
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V__AFNI_REFACER_RUN_METADATA = Metadata(
9
- id="72757fe4907642f44cb063cfa3ee5dc5dda0045b.boutiques",
9
+ id="05c4592de14c41d5679adfa648daf4eba8e4cce2.boutiques",
10
10
  name="@afni_refacer_run",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -16,6 +16,9 @@ V__AFNI_REFACER_RUN_METADATA = Metadata(
16
16
  VAfniRefacerRunParameters = typing.TypedDict('VAfniRefacerRunParameters', {
17
17
  "__STYX_TYPE__": typing.Literal["@afni_refacer_run"],
18
18
  "input_file": InputPathType,
19
+ "mode_deface": bool,
20
+ "mode_reface": bool,
21
+ "mode_reface_plus": bool,
19
22
  "mode_all": bool,
20
23
  "prefix": str,
21
24
  "anonymize_output": bool,
@@ -81,6 +84,9 @@ class VAfniRefacerRunOutputs(typing.NamedTuple):
81
84
  def v__afni_refacer_run_params(
82
85
  input_file: InputPathType,
83
86
  prefix: str,
87
+ mode_deface: bool = False,
88
+ mode_reface: bool = False,
89
+ mode_reface_plus: bool = False,
84
90
  mode_all: bool = False,
85
91
  anonymize_output: bool = False,
86
92
  cost_function: str | None = None,
@@ -96,6 +102,13 @@ def v__afni_refacer_run_params(
96
102
  Args:
97
103
  input_file: Name of input dataset; can contain path information.
98
104
  prefix: Name of output dataset.
105
+ mode_deface: Replace the computed face+ears voxels with all zeros\
106
+ instead of the artificial face (ears are also removed).
107
+ mode_reface: Replace the subject's face+ears with a scaled set of\
108
+ artificial values.
109
+ mode_reface_plus: Replace the subject's face+ears+skull with a scaled\
110
+ set of artificial values (i.e., like 'refacing', but replacing a more\
111
+ complete shell around the subject's brain).
99
112
  mode_all: Output three volumes: one defaced, one refaced and one\
100
113
  reface_plused.
101
114
  anonymize_output: Use 3drefit and nifti_tool to anonymize the output\
@@ -120,6 +133,9 @@ def v__afni_refacer_run_params(
120
133
  params = {
121
134
  "__STYXTYPE__": "@afni_refacer_run",
122
135
  "input_file": input_file,
136
+ "mode_deface": mode_deface,
137
+ "mode_reface": mode_reface,
138
+ "mode_reface_plus": mode_reface_plus,
123
139
  "mode_all": mode_all,
124
140
  "prefix": prefix,
125
141
  "anonymize_output": anonymize_output,
@@ -154,6 +170,12 @@ def v__afni_refacer_run_cargs(
154
170
  "-input",
155
171
  execution.input_file(params.get("input_file"))
156
172
  ])
173
+ if params.get("mode_deface"):
174
+ cargs.append("-mode_deface")
175
+ if params.get("mode_reface"):
176
+ cargs.append("-mode_reface")
177
+ if params.get("mode_reface_plus"):
178
+ cargs.append("-mode_reface_plus")
157
179
  if params.get("mode_all"):
158
180
  cargs.append("-mode_all")
159
181
  cargs.extend([
@@ -235,6 +257,9 @@ def v__afni_refacer_run_execute(
235
257
  def v__afni_refacer_run(
236
258
  input_file: InputPathType,
237
259
  prefix: str,
260
+ mode_deface: bool = False,
261
+ mode_reface: bool = False,
262
+ mode_reface_plus: bool = False,
238
263
  mode_all: bool = False,
239
264
  anonymize_output: bool = False,
240
265
  cost_function: str | None = None,
@@ -256,6 +281,13 @@ def v__afni_refacer_run(
256
281
  Args:
257
282
  input_file: Name of input dataset; can contain path information.
258
283
  prefix: Name of output dataset.
284
+ mode_deface: Replace the computed face+ears voxels with all zeros\
285
+ instead of the artificial face (ears are also removed).
286
+ mode_reface: Replace the subject's face+ears with a scaled set of\
287
+ artificial values.
288
+ mode_reface_plus: Replace the subject's face+ears+skull with a scaled\
289
+ set of artificial values (i.e., like 'refacing', but replacing a more\
290
+ complete shell around the subject's brain).
259
291
  mode_all: Output three volumes: one defaced, one refaced and one\
260
292
  reface_plused.
261
293
  anonymize_output: Use 3drefit and nifti_tool to anonymize the output\
@@ -282,6 +314,9 @@ def v__afni_refacer_run(
282
314
  execution = runner.start_execution(V__AFNI_REFACER_RUN_METADATA)
283
315
  params = v__afni_refacer_run_params(
284
316
  input_file=input_file,
317
+ mode_deface=mode_deface,
318
+ mode_reface=mode_reface,
319
+ mode_reface_plus=mode_reface_plus,
285
320
  mode_all=mode_all,
286
321
  prefix=prefix,
287
322
  anonymize_output=anonymize_output,
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V__BUILD_AFNI_XLIB_METADATA = Metadata(
9
- id="335ac2386eff0dba38cfaae81dacca730457f4a7.boutiques",
9
+ id="faed60f92b6fc1a9727b896ad7c88e62cd56fef2.boutiques",
10
10
  name="@build_afni_Xlib",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -15,8 +15,10 @@ V__BUILD_AFNI_XLIB_METADATA = Metadata(
15
15
 
16
16
  VBuildAfniXlibParameters = typing.TypedDict('VBuildAfniXlibParameters', {
17
17
  "__STYX_TYPE__": typing.Literal["@build_afni_Xlib"],
18
+ "afniX": bool,
18
19
  "localinstall": bool,
19
20
  "debug_symbols": bool,
21
+ "lib32": bool,
20
22
  "lib64": bool,
21
23
  "packages": list[str],
22
24
  })
@@ -63,8 +65,10 @@ class VBuildAfniXlibOutputs(typing.NamedTuple):
63
65
 
64
66
  def v__build_afni_xlib_params(
65
67
  packages: list[str],
68
+ afni_x: bool = False,
66
69
  localinstall: bool = False,
67
70
  debug_symbols: bool = False,
71
+ lib32: bool = False,
68
72
  lib64: bool = False,
69
73
  ) -> VBuildAfniXlibParameters:
70
74
  """
@@ -73,16 +77,21 @@ def v__build_afni_xlib_params(
73
77
  Args:
74
78
  packages: Packages to compile and install (e.g., lesstif, openmotif,\
75
79
  libXt).
80
+ afni_x: Install under /usr/local/afniX.
76
81
  localinstall: Install under each package directory.
77
82
  debug_symbols: Compile with -g to add symbols.
83
+ lib32: Install libs under lib, and force 32-bit compile (on Linux: add\
84
+ --target=i386).
78
85
  lib64: Install libs under lib64 (default is lib).
79
86
  Returns:
80
87
  Parameter dictionary
81
88
  """
82
89
  params = {
83
90
  "__STYXTYPE__": "@build_afni_Xlib",
91
+ "afniX": afni_x,
84
92
  "localinstall": localinstall,
85
93
  "debug_symbols": debug_symbols,
94
+ "lib32": lib32,
86
95
  "lib64": lib64,
87
96
  "packages": packages,
88
97
  }
@@ -104,10 +113,14 @@ def v__build_afni_xlib_cargs(
104
113
  """
105
114
  cargs = []
106
115
  cargs.append("@build_afni_Xlib")
116
+ if params.get("afniX"):
117
+ cargs.append("-afniX")
107
118
  if params.get("localinstall"):
108
119
  cargs.append("-localinstall")
109
120
  if params.get("debug_symbols"):
110
121
  cargs.append("-g")
122
+ if params.get("lib32"):
123
+ cargs.append("-lib32")
111
124
  if params.get("lib64"):
112
125
  cargs.append("-lib64")
113
126
  cargs.extend(params.get("packages"))
@@ -159,8 +172,10 @@ def v__build_afni_xlib_execute(
159
172
 
160
173
  def v__build_afni_xlib(
161
174
  packages: list[str],
175
+ afni_x: bool = False,
162
176
  localinstall: bool = False,
163
177
  debug_symbols: bool = False,
178
+ lib32: bool = False,
164
179
  lib64: bool = False,
165
180
  runner: Runner | None = None,
166
181
  ) -> VBuildAfniXlibOutputs:
@@ -174,8 +189,11 @@ def v__build_afni_xlib(
174
189
  Args:
175
190
  packages: Packages to compile and install (e.g., lesstif, openmotif,\
176
191
  libXt).
192
+ afni_x: Install under /usr/local/afniX.
177
193
  localinstall: Install under each package directory.
178
194
  debug_symbols: Compile with -g to add symbols.
195
+ lib32: Install libs under lib, and force 32-bit compile (on Linux: add\
196
+ --target=i386).
179
197
  lib64: Install libs under lib64 (default is lib).
180
198
  runner: Command runner.
181
199
  Returns:
@@ -184,8 +202,10 @@ def v__build_afni_xlib(
184
202
  runner = runner or get_global_runner()
185
203
  execution = runner.start_execution(V__BUILD_AFNI_XLIB_METADATA)
186
204
  params = v__build_afni_xlib_params(
205
+ afni_x=afni_x,
187
206
  localinstall=localinstall,
188
207
  debug_symbols=debug_symbols,
208
+ lib32=lib32,
189
209
  lib64=lib64,
190
210
  packages=packages,
191
211
  )
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V__CHAUFFEUR_AFNI_METADATA = Metadata(
9
- id="7bd1968eb762331f9eaee48a7484852a7e447634.boutiques",
9
+ id="e87442df2b4470f5f153ec6b0890a68052de309c.boutiques",
10
10
  name="@chauffeur_afni",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -18,6 +18,21 @@ VChauffeurAfniParameters = typing.TypedDict('VChauffeurAfniParameters', {
18
18
  "ulay": InputPathType,
19
19
  "olay": typing.NotRequired[InputPathType | None],
20
20
  "prefix": str,
21
+ "mode_4D": bool,
22
+ "func_range": typing.NotRequired[float | None],
23
+ "opacity": typing.NotRequired[float | None],
24
+ "set_subbricks": typing.NotRequired[str | None],
25
+ "montx": typing.NotRequired[float | None],
26
+ "monty": typing.NotRequired[float | None],
27
+ "montgap": typing.NotRequired[float | None],
28
+ "label_mode": typing.NotRequired[float | None],
29
+ "label_size": typing.NotRequired[float | None],
30
+ "label_color": typing.NotRequired[str | None],
31
+ "label_setback": typing.NotRequired[float | None],
32
+ "no_clean": bool,
33
+ "do_clean": bool,
34
+ "help": bool,
35
+ "version": bool,
21
36
  })
22
37
 
23
38
 
@@ -71,6 +86,21 @@ def v__chauffeur_afni_params(
71
86
  ulay: InputPathType,
72
87
  prefix: str,
73
88
  olay: InputPathType | None = None,
89
+ mode_4_d: bool = False,
90
+ func_range: float | None = None,
91
+ opacity: float | None = None,
92
+ set_subbricks: str | None = None,
93
+ montx: float | None = None,
94
+ monty: float | None = None,
95
+ montgap: float | None = None,
96
+ label_mode: float | None = None,
97
+ label_size: float | None = None,
98
+ label_color: str | None = None,
99
+ label_setback: float | None = None,
100
+ no_clean: bool = False,
101
+ do_clean: bool = False,
102
+ help_: bool = False,
103
+ version: bool = False,
74
104
  ) -> VChauffeurAfniParameters:
75
105
  """
76
106
  Build parameters.
@@ -79,6 +109,25 @@ def v__chauffeur_afni_params(
79
109
  ulay: Name of underlay dataset (required); can be 3D or 4D set.
80
110
  prefix: Prefix for output files (required).
81
111
  olay: Name of overlay dataset (optional).
112
+ mode_4_d: For each viewing plane, one slice is selected across all\
113
+ volumes in a 4D dataset.
114
+ func_range: Specify upper value of the overlay dataset to be matched to\
115
+ top of colorbar (default: 98%ile non-zero value of dataset).
116
+ opacity: Enter an opacity factor for the overlay (0-9, with 9 being\
117
+ opaque).
118
+ set_subbricks: Specify subbricks for 3D image viewing.
119
+ montx: Number of image panels in a row (default: 3).
120
+ monty: Number of image panels in a column (default: 3).
121
+ montgap: Number of pixels as gap between image panels (default: 0).
122
+ label_mode: Control labels, ON/OFF and location (default: 1).
123
+ label_size: Control labels, size (default: 3).
124
+ label_color: Control labels, color (default: white).
125
+ label_setback: Control labels, offset from edge (default: 0.01).
126
+ no_clean: Do not remove the temporary directory of copied/intermediate\
127
+ files.
128
+ do_clean: Remove the temporary directory of copied/intermediate files.
129
+ help_: Display help information.
130
+ version: Display version number.
82
131
  Returns:
83
132
  Parameter dictionary
84
133
  """
@@ -86,9 +135,34 @@ def v__chauffeur_afni_params(
86
135
  "__STYXTYPE__": "@chauffeur_afni",
87
136
  "ulay": ulay,
88
137
  "prefix": prefix,
138
+ "mode_4D": mode_4_d,
139
+ "no_clean": no_clean,
140
+ "do_clean": do_clean,
141
+ "help": help_,
142
+ "version": version,
89
143
  }
90
144
  if olay is not None:
91
145
  params["olay"] = olay
146
+ if func_range is not None:
147
+ params["func_range"] = func_range
148
+ if opacity is not None:
149
+ params["opacity"] = opacity
150
+ if set_subbricks is not None:
151
+ params["set_subbricks"] = set_subbricks
152
+ if montx is not None:
153
+ params["montx"] = montx
154
+ if monty is not None:
155
+ params["monty"] = monty
156
+ if montgap is not None:
157
+ params["montgap"] = montgap
158
+ if label_mode is not None:
159
+ params["label_mode"] = label_mode
160
+ if label_size is not None:
161
+ params["label_size"] = label_size
162
+ if label_color is not None:
163
+ params["label_color"] = label_color
164
+ if label_setback is not None:
165
+ params["label_setback"] = label_setback
92
166
  return params
93
167
 
94
168
 
@@ -114,7 +188,66 @@ def v__chauffeur_afni_cargs(
114
188
  "-prefix",
115
189
  params.get("prefix")
116
190
  ])
117
- cargs.append("[options]")
191
+ if params.get("mode_4D"):
192
+ cargs.append("-mode_4D")
193
+ if params.get("func_range") is not None:
194
+ cargs.extend([
195
+ "-func_range",
196
+ str(params.get("func_range"))
197
+ ])
198
+ if params.get("opacity") is not None:
199
+ cargs.extend([
200
+ "-opacity",
201
+ str(params.get("opacity"))
202
+ ])
203
+ if params.get("set_subbricks") is not None:
204
+ cargs.extend([
205
+ "-set_subbricks",
206
+ params.get("set_subbricks")
207
+ ])
208
+ if params.get("montx") is not None:
209
+ cargs.extend([
210
+ "-montx",
211
+ str(params.get("montx"))
212
+ ])
213
+ if params.get("monty") is not None:
214
+ cargs.extend([
215
+ "-monty",
216
+ str(params.get("monty"))
217
+ ])
218
+ if params.get("montgap") is not None:
219
+ cargs.extend([
220
+ "-montgap",
221
+ str(params.get("montgap"))
222
+ ])
223
+ if params.get("label_mode") is not None:
224
+ cargs.extend([
225
+ "-label_mode",
226
+ str(params.get("label_mode"))
227
+ ])
228
+ if params.get("label_size") is not None:
229
+ cargs.extend([
230
+ "-label_size",
231
+ str(params.get("label_size"))
232
+ ])
233
+ if params.get("label_color") is not None:
234
+ cargs.extend([
235
+ "-label_color",
236
+ params.get("label_color")
237
+ ])
238
+ if params.get("label_setback") is not None:
239
+ cargs.extend([
240
+ "-label_setback",
241
+ str(params.get("label_setback"))
242
+ ])
243
+ if params.get("no_clean"):
244
+ cargs.append("-no_clean")
245
+ if params.get("do_clean"):
246
+ cargs.append("-do_clean")
247
+ if params.get("help"):
248
+ cargs.append("-help")
249
+ if params.get("version"):
250
+ cargs.append("-ver")
118
251
  return cargs
119
252
 
120
253
 
@@ -168,6 +301,21 @@ def v__chauffeur_afni(
168
301
  ulay: InputPathType,
169
302
  prefix: str,
170
303
  olay: InputPathType | None = None,
304
+ mode_4_d: bool = False,
305
+ func_range: float | None = None,
306
+ opacity: float | None = None,
307
+ set_subbricks: str | None = None,
308
+ montx: float | None = None,
309
+ monty: float | None = None,
310
+ montgap: float | None = None,
311
+ label_mode: float | None = None,
312
+ label_size: float | None = None,
313
+ label_color: str | None = None,
314
+ label_setback: float | None = None,
315
+ no_clean: bool = False,
316
+ do_clean: bool = False,
317
+ help_: bool = False,
318
+ version: bool = False,
171
319
  runner: Runner | None = None,
172
320
  ) -> VChauffeurAfniOutputs:
173
321
  """
@@ -181,6 +329,25 @@ def v__chauffeur_afni(
181
329
  ulay: Name of underlay dataset (required); can be 3D or 4D set.
182
330
  prefix: Prefix for output files (required).
183
331
  olay: Name of overlay dataset (optional).
332
+ mode_4_d: For each viewing plane, one slice is selected across all\
333
+ volumes in a 4D dataset.
334
+ func_range: Specify upper value of the overlay dataset to be matched to\
335
+ top of colorbar (default: 98%ile non-zero value of dataset).
336
+ opacity: Enter an opacity factor for the overlay (0-9, with 9 being\
337
+ opaque).
338
+ set_subbricks: Specify subbricks for 3D image viewing.
339
+ montx: Number of image panels in a row (default: 3).
340
+ monty: Number of image panels in a column (default: 3).
341
+ montgap: Number of pixels as gap between image panels (default: 0).
342
+ label_mode: Control labels, ON/OFF and location (default: 1).
343
+ label_size: Control labels, size (default: 3).
344
+ label_color: Control labels, color (default: white).
345
+ label_setback: Control labels, offset from edge (default: 0.01).
346
+ no_clean: Do not remove the temporary directory of copied/intermediate\
347
+ files.
348
+ do_clean: Remove the temporary directory of copied/intermediate files.
349
+ help_: Display help information.
350
+ version: Display version number.
184
351
  runner: Command runner.
185
352
  Returns:
186
353
  NamedTuple of outputs (described in `VChauffeurAfniOutputs`).
@@ -191,6 +358,21 @@ def v__chauffeur_afni(
191
358
  ulay=ulay,
192
359
  olay=olay,
193
360
  prefix=prefix,
361
+ mode_4_d=mode_4_d,
362
+ func_range=func_range,
363
+ opacity=opacity,
364
+ set_subbricks=set_subbricks,
365
+ montx=montx,
366
+ monty=monty,
367
+ montgap=montgap,
368
+ label_mode=label_mode,
369
+ label_size=label_size,
370
+ label_color=label_color,
371
+ label_setback=label_setback,
372
+ no_clean=no_clean,
373
+ do_clean=do_clean,
374
+ help_=help_,
375
+ version=version,
194
376
  )
195
377
  return v__chauffeur_afni_execute(params, execution)
196
378
 
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V__COMMAND_GLOBB_METADATA = Metadata(
9
- id="c2faf81a08e05a3e16060acc326e418fbdfeaad0.boutiques",
9
+ id="a76e1268b2d89b7de3b09ab6908aa83b788189ba.boutiques",
10
10
  name="@CommandGlobb",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -112,13 +112,19 @@ def v__command_globb_cargs(
112
112
  """
113
113
  cargs = []
114
114
  cargs.append("@CommandGlobb")
115
- cargs.append("-com")
116
- cargs.append(params.get("program_command"))
117
- cargs.append("-session")
118
- cargs.append(params.get("output_dir"))
119
- cargs.append("-newxt")
115
+ cargs.extend([
116
+ "-com",
117
+ params.get("program_command")
118
+ ])
119
+ cargs.extend([
120
+ "-session",
121
+ params.get("output_dir")
122
+ ])
120
123
  if params.get("extension") is not None:
121
- cargs.append(params.get("extension"))
124
+ cargs.extend([
125
+ "-newext",
126
+ params.get("extension")
127
+ ])
122
128
  cargs.extend([
123
129
  "-list",
124
130
  *params.get("brick_list")