niwrap-afni 0.5.0__py3-none-any.whl → 0.5.2__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.0.dist-info → niwrap_afni-0.5.2.dist-info}/METADATA +1 -1
  110. {niwrap_afni-0.5.0.dist-info → niwrap_afni-0.5.2.dist-info}/RECORD +111 -111
  111. {niwrap_afni-0.5.0.dist-info → niwrap_afni-0.5.2.dist-info}/WHEEL +0 -0
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V_3D_GEN_FEATURE_DIST_METADATA = Metadata(
9
- id="306602359a0090c4e74a2cc38f89a25555f89cc6.boutiques",
9
+ id="4e2a6d02fd6017cbe5c9c54a1a9c65bd9ea7921c.boutiques",
10
10
  name="3dGenFeatureDist",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -22,6 +22,10 @@ V3dGenFeatureDistParameters = typing.TypedDict('V3dGenFeatureDistParameters', {
22
22
  "debug_level": typing.NotRequired[float | None],
23
23
  "other": bool,
24
24
  "no_other": bool,
25
+ "samp": typing.NotRequired[list[str] | None],
26
+ "sig": typing.NotRequired[list[str] | None],
27
+ "hspec": typing.NotRequired[list[str] | None],
28
+ "labeltable": typing.NotRequired[InputPathType | None],
25
29
  "show_histograms": typing.NotRequired[str | None],
26
30
  })
27
31
 
@@ -76,6 +80,10 @@ def v_3d_gen_feature_dist_params(
76
80
  debug_level: float | None = None,
77
81
  other: bool = False,
78
82
  no_other: bool = False,
83
+ samp: list[str] | None = None,
84
+ sig: list[str] | None = None,
85
+ hspec: list[str] | None = None,
86
+ labeltable: InputPathType | None = None,
79
87
  show_histograms: str | None = None,
80
88
  ) -> V3dGenFeatureDistParameters:
81
89
  """
@@ -92,6 +100,10 @@ def v_3d_gen_feature_dist_params(
92
100
  debug_level: Debugging level.
93
101
  other: Add histograms for an 'OTHER' class that has a uniform pdf.
94
102
  no_other: Opposite of -OTHER.
103
+ samp: Specify which voxels belong to each class of interest.
104
+ sig: Specify volumes that define the features.
105
+ hspec: Set histogram parameters for a specific feature.
106
+ labeltable: Specify the label table.
95
107
  show_histograms: Show specified histograms and quit.
96
108
  Returns:
97
109
  Parameter dictionary
@@ -108,6 +120,14 @@ def v_3d_gen_feature_dist_params(
108
120
  params["prefix"] = prefix
109
121
  if debug_level is not None:
110
122
  params["debug_level"] = debug_level
123
+ if samp is not None:
124
+ params["samp"] = samp
125
+ if sig is not None:
126
+ params["sig"] = sig
127
+ if hspec is not None:
128
+ params["hspec"] = hspec
129
+ if labeltable is not None:
130
+ params["labeltable"] = labeltable
111
131
  if show_histograms is not None:
112
132
  params["show_histograms"] = show_histograms
113
133
  return params
@@ -152,6 +172,26 @@ def v_3d_gen_feature_dist_cargs(
152
172
  cargs.append("-OTHER")
153
173
  if params.get("no_other"):
154
174
  cargs.append("-no_OTHER")
175
+ if params.get("samp") is not None:
176
+ cargs.extend([
177
+ "-samp",
178
+ *params.get("samp")
179
+ ])
180
+ if params.get("sig") is not None:
181
+ cargs.extend([
182
+ "-sig",
183
+ *params.get("sig")
184
+ ])
185
+ if params.get("hspec") is not None:
186
+ cargs.extend([
187
+ "-hspec",
188
+ *params.get("hspec")
189
+ ])
190
+ if params.get("labeltable") is not None:
191
+ cargs.extend([
192
+ "-labeltable",
193
+ execution.input_file(params.get("labeltable"))
194
+ ])
155
195
  if params.get("show_histograms") is not None:
156
196
  cargs.extend([
157
197
  "-ShowTheseHists",
@@ -212,6 +252,10 @@ def v_3d_gen_feature_dist(
212
252
  debug_level: float | None = None,
213
253
  other: bool = False,
214
254
  no_other: bool = False,
255
+ samp: list[str] | None = None,
256
+ sig: list[str] | None = None,
257
+ hspec: list[str] | None = None,
258
+ labeltable: InputPathType | None = None,
215
259
  show_histograms: str | None = None,
216
260
  runner: Runner | None = None,
217
261
  ) -> V3dGenFeatureDistOutputs:
@@ -233,6 +277,10 @@ def v_3d_gen_feature_dist(
233
277
  debug_level: Debugging level.
234
278
  other: Add histograms for an 'OTHER' class that has a uniform pdf.
235
279
  no_other: Opposite of -OTHER.
280
+ samp: Specify which voxels belong to each class of interest.
281
+ sig: Specify volumes that define the features.
282
+ hspec: Set histogram parameters for a specific feature.
283
+ labeltable: Specify the label table.
236
284
  show_histograms: Show specified histograms and quit.
237
285
  runner: Command runner.
238
286
  Returns:
@@ -248,6 +296,10 @@ def v_3d_gen_feature_dist(
248
296
  debug_level=debug_level,
249
297
  other=other,
250
298
  no_other=no_other,
299
+ samp=samp,
300
+ sig=sig,
301
+ hspec=hspec,
302
+ labeltable=labeltable,
251
303
  show_histograms=show_histograms,
252
304
  )
253
305
  return v_3d_gen_feature_dist_execute(params, execution)
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V_3D_HIST_METADATA = Metadata(
9
- id="5dff8f7ac913ce4a3781c6d59d7827316323eded.boutiques",
9
+ id="848d311049e93b6281b7a88875dd047ad4a77407.boutiques",
10
10
  name="3dHist",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -16,6 +16,7 @@ V_3D_HIST_METADATA = Metadata(
16
16
  V3dHistParameters = typing.TypedDict('V3dHistParameters', {
17
17
  "__STYX_TYPE__": typing.Literal["3dHist"],
18
18
  "input": InputPathType,
19
+ "dind_subbrick": typing.NotRequired[float | None],
19
20
  "mask_dset": typing.NotRequired[InputPathType | None],
20
21
  "mask_range": typing.NotRequired[list[float] | None],
21
22
  "cmask": typing.NotRequired[str | None],
@@ -78,6 +79,7 @@ class V3dHistOutputs(typing.NamedTuple):
78
79
 
79
80
  def v_3d_hist_params(
80
81
  input_: InputPathType,
82
+ dind_subbrick: float | None = None,
81
83
  mask_dset: InputPathType | None = None,
82
84
  mask_range: list[float] | None = None,
83
85
  cmask: str | None = None,
@@ -102,6 +104,7 @@ def v_3d_hist_params(
102
104
 
103
105
  Args:
104
106
  input_: Dataset providing values for histogram.
107
+ dind_subbrick: Use sub-brick SB from the input rather than 0.
105
108
  mask_dset: Provide mask dataset to select subset of input.
106
109
  mask_range: Specify the range of values to consider from MSET. Default\
107
110
  is anything non-zero.
@@ -136,6 +139,8 @@ def v_3d_hist_params(
136
139
  "showhist": showhist,
137
140
  "quiet": quiet,
138
141
  }
142
+ if dind_subbrick is not None:
143
+ params["dind_subbrick"] = dind_subbrick
139
144
  if mask_dset is not None:
140
145
  params["mask_dset"] = mask_dset
141
146
  if mask_range is not None:
@@ -185,6 +190,11 @@ def v_3d_hist_cargs(
185
190
  cargs = []
186
191
  cargs.append("3dHist")
187
192
  cargs.append(execution.input_file(params.get("input")))
193
+ if params.get("dind_subbrick") is not None:
194
+ cargs.extend([
195
+ "-dind",
196
+ str(params.get("dind_subbrick"))
197
+ ])
188
198
  if params.get("mask_dset") is not None:
189
199
  cargs.extend([
190
200
  "-mask",
@@ -314,6 +324,7 @@ def v_3d_hist_execute(
314
324
 
315
325
  def v_3d_hist(
316
326
  input_: InputPathType,
327
+ dind_subbrick: float | None = None,
317
328
  mask_dset: InputPathType | None = None,
318
329
  mask_range: list[float] | None = None,
319
330
  cmask: str | None = None,
@@ -343,6 +354,7 @@ def v_3d_hist(
343
354
 
344
355
  Args:
345
356
  input_: Dataset providing values for histogram.
357
+ dind_subbrick: Use sub-brick SB from the input rather than 0.
346
358
  mask_dset: Provide mask dataset to select subset of input.
347
359
  mask_range: Specify the range of values to consider from MSET. Default\
348
360
  is anything non-zero.
@@ -375,6 +387,7 @@ def v_3d_hist(
375
387
  execution = runner.start_execution(V_3D_HIST_METADATA)
376
388
  params = v_3d_hist_params(
377
389
  input_=input_,
390
+ dind_subbrick=dind_subbrick,
378
391
  mask_dset=mask_dset,
379
392
  mask_range=mask_range,
380
393
  cmask=cmask,
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V_3D_ICC_METADATA = Metadata(
9
- id="6b7ec5c6de013c42d47420ebf12a564c200ff8a3.boutiques",
9
+ id="1652fdd3c8a77717220b28f06430ccf258c293f3.boutiques",
10
10
  name="3dICC",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -19,6 +19,16 @@ V3dIccParameters = typing.TypedDict('V3dIccParameters', {
19
19
  "prefix": str,
20
20
  "mask": typing.NotRequired[InputPathType | None],
21
21
  "data_table": str,
22
+ "bounds": typing.NotRequired[list[float] | None],
23
+ "jobs": typing.NotRequired[float | None],
24
+ "qVars": typing.NotRequired[str | None],
25
+ "qVarCenters": typing.NotRequired[str | None],
26
+ "subj": typing.NotRequired[str | None],
27
+ "input_file_column": typing.NotRequired[str | None],
28
+ "tStat": typing.NotRequired[str | None],
29
+ "dbgArgs": bool,
30
+ "cio": bool,
31
+ "rio": bool,
22
32
  })
23
33
 
24
34
 
@@ -69,6 +79,16 @@ def v_3d_icc_params(
69
79
  prefix: str,
70
80
  data_table: str,
71
81
  mask: InputPathType | None = None,
82
+ bounds: list[float] | None = None,
83
+ jobs: float | None = None,
84
+ q_vars: str | None = None,
85
+ q_var_centers: str | None = None,
86
+ subj: str | None = None,
87
+ input_file_column: str | None = None,
88
+ t_stat: str | None = None,
89
+ dbg_args: bool = False,
90
+ cio: bool = False,
91
+ rio: bool = False,
72
92
  ) -> V3dIccParameters:
73
93
  """
74
94
  Build parameters.
@@ -86,6 +106,25 @@ def v_3d_icc_params(
86
106
  The first column is reserved with label 'Subj', and the last is\
87
107
  reserved for 'InputFile'.
88
108
  mask: Path to mask file. Only process voxels inside this mask.
109
+ bounds: Bounds for outlier removal. Provide two numbers: the lower\
110
+ bound (lb) and the upper bound (ub). Input data will be confined within\
111
+ [lb, ub]. Any values beyond the bounds will be treated as missing.
112
+ jobs: Number of jobs for parallel computing. Choose 1 for a\
113
+ single-processor computer.
114
+ q_vars: Identify quantitative variables with this option. List should\
115
+ be separated with comma and surrounded within quotes.
116
+ q_var_centers: Specify centering values for quantitative variables\
117
+ identified under -qVars. Multiple centers are separated by commas and\
118
+ should be surrounded within quotes.
119
+ subj: Specify the column name that is designated as the measuring\
120
+ entity variable (usually subject).
121
+ input_file_column: Specify the last column name that is designated for\
122
+ input files of effect estimate.
123
+ t_stat: Specify the column name that is designated as the t-statistic.
124
+ dbg_args: Enable R to save the parameters in a file called\
125
+ .3dICC.dbg.AFNI.args in the current directory for debugging.
126
+ cio: Use AFNI's C io functions. Default is -cio.
127
+ rio: Use R's io functions.
89
128
  Returns:
90
129
  Parameter dictionary
91
130
  """
@@ -94,9 +133,26 @@ def v_3d_icc_params(
94
133
  "model": model,
95
134
  "prefix": prefix,
96
135
  "data_table": data_table,
136
+ "dbgArgs": dbg_args,
137
+ "cio": cio,
138
+ "rio": rio,
97
139
  }
98
140
  if mask is not None:
99
141
  params["mask"] = mask
142
+ if bounds is not None:
143
+ params["bounds"] = bounds
144
+ if jobs is not None:
145
+ params["jobs"] = jobs
146
+ if q_vars is not None:
147
+ params["qVars"] = q_vars
148
+ if q_var_centers is not None:
149
+ params["qVarCenters"] = q_var_centers
150
+ if subj is not None:
151
+ params["subj"] = subj
152
+ if input_file_column is not None:
153
+ params["input_file_column"] = input_file_column
154
+ if t_stat is not None:
155
+ params["tStat"] = t_stat
100
156
  return params
101
157
 
102
158
 
@@ -129,7 +185,47 @@ def v_3d_icc_cargs(
129
185
  "-dataTable",
130
186
  params.get("data_table")
131
187
  ])
132
- cargs.append("[OPTIONS]")
188
+ if params.get("bounds") is not None:
189
+ cargs.extend([
190
+ "-bounds",
191
+ *map(str, params.get("bounds"))
192
+ ])
193
+ if params.get("jobs") is not None:
194
+ cargs.extend([
195
+ "-jobs",
196
+ str(params.get("jobs"))
197
+ ])
198
+ if params.get("qVars") is not None:
199
+ cargs.extend([
200
+ "-qVars",
201
+ params.get("qVars")
202
+ ])
203
+ if params.get("qVarCenters") is not None:
204
+ cargs.extend([
205
+ "-qVarCenters",
206
+ params.get("qVarCenters")
207
+ ])
208
+ if params.get("subj") is not None:
209
+ cargs.extend([
210
+ "-Subj",
211
+ params.get("subj")
212
+ ])
213
+ if params.get("input_file_column") is not None:
214
+ cargs.extend([
215
+ "-IF",
216
+ params.get("input_file_column")
217
+ ])
218
+ if params.get("tStat") is not None:
219
+ cargs.extend([
220
+ "-tStat",
221
+ params.get("tStat")
222
+ ])
223
+ if params.get("dbgArgs"):
224
+ cargs.append("-dbgArgs")
225
+ if params.get("cio"):
226
+ cargs.append("-cio")
227
+ if params.get("rio"):
228
+ cargs.append("-Rio")
133
229
  return cargs
134
230
 
135
231
 
@@ -182,6 +278,16 @@ def v_3d_icc(
182
278
  prefix: str,
183
279
  data_table: str,
184
280
  mask: InputPathType | None = None,
281
+ bounds: list[float] | None = None,
282
+ jobs: float | None = None,
283
+ q_vars: str | None = None,
284
+ q_var_centers: str | None = None,
285
+ subj: str | None = None,
286
+ input_file_column: str | None = None,
287
+ t_stat: str | None = None,
288
+ dbg_args: bool = False,
289
+ cio: bool = False,
290
+ rio: bool = False,
185
291
  runner: Runner | None = None,
186
292
  ) -> V3dIccOutputs:
187
293
  """
@@ -204,6 +310,25 @@ def v_3d_icc(
204
310
  The first column is reserved with label 'Subj', and the last is\
205
311
  reserved for 'InputFile'.
206
312
  mask: Path to mask file. Only process voxels inside this mask.
313
+ bounds: Bounds for outlier removal. Provide two numbers: the lower\
314
+ bound (lb) and the upper bound (ub). Input data will be confined within\
315
+ [lb, ub]. Any values beyond the bounds will be treated as missing.
316
+ jobs: Number of jobs for parallel computing. Choose 1 for a\
317
+ single-processor computer.
318
+ q_vars: Identify quantitative variables with this option. List should\
319
+ be separated with comma and surrounded within quotes.
320
+ q_var_centers: Specify centering values for quantitative variables\
321
+ identified under -qVars. Multiple centers are separated by commas and\
322
+ should be surrounded within quotes.
323
+ subj: Specify the column name that is designated as the measuring\
324
+ entity variable (usually subject).
325
+ input_file_column: Specify the last column name that is designated for\
326
+ input files of effect estimate.
327
+ t_stat: Specify the column name that is designated as the t-statistic.
328
+ dbg_args: Enable R to save the parameters in a file called\
329
+ .3dICC.dbg.AFNI.args in the current directory for debugging.
330
+ cio: Use AFNI's C io functions. Default is -cio.
331
+ rio: Use R's io functions.
207
332
  runner: Command runner.
208
333
  Returns:
209
334
  NamedTuple of outputs (described in `V3dIccOutputs`).
@@ -215,6 +340,16 @@ def v_3d_icc(
215
340
  prefix=prefix,
216
341
  mask=mask,
217
342
  data_table=data_table,
343
+ bounds=bounds,
344
+ jobs=jobs,
345
+ q_vars=q_vars,
346
+ q_var_centers=q_var_centers,
347
+ subj=subj,
348
+ input_file_column=input_file_column,
349
+ t_stat=t_stat,
350
+ dbg_args=dbg_args,
351
+ cio=cio,
352
+ rio=rio,
218
353
  )
219
354
  return v_3d_icc_execute(params, execution)
220
355
 
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V_3D_LFCD_METADATA = Metadata(
9
- id="bf72e901409ebf787635076f27fc633055ebec14.boutiques",
9
+ id="7698c7de46741d205ab4763adc29dccd492e943b.boutiques",
10
10
  name="3dLFCD",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -19,6 +19,8 @@ V3dLfcdParameters = typing.TypedDict('V3dLfcdParameters', {
19
19
  "autoclip": bool,
20
20
  "automask": bool,
21
21
  "mask": typing.NotRequired[InputPathType | None],
22
+ "num_threads": typing.NotRequired[int | None],
23
+ "out_file": typing.NotRequired[str | None],
22
24
  "outputtype": typing.NotRequired[typing.Literal["NIFTI", "AFNI", "NIFTI_GZ"] | None],
23
25
  "polort": typing.NotRequired[int | None],
24
26
  "thresh": typing.NotRequired[float | None],
@@ -65,8 +67,6 @@ class V3dLfcdOutputs(typing.NamedTuple):
65
67
  """Output root folder. This is the root folder for all outputs."""
66
68
  out_file: OutputPathType
67
69
  """Output image file name."""
68
- out_file_: OutputPathType
69
- """Output file."""
70
70
 
71
71
 
72
72
  def v_3d_lfcd_params(
@@ -74,6 +74,8 @@ def v_3d_lfcd_params(
74
74
  autoclip: bool = False,
75
75
  automask: bool = False,
76
76
  mask: InputPathType | None = None,
77
+ num_threads: int | None = None,
78
+ out_file: str | None = None,
77
79
  outputtype: typing.Literal["NIFTI", "AFNI", "NIFTI_GZ"] | None = None,
78
80
  polort: int | None = None,
79
81
  thresh: float | None = None,
@@ -86,6 +88,8 @@ def v_3d_lfcd_params(
86
88
  autoclip: Clip off low-intensity regions in the dataset.
87
89
  automask: Mask the dataset to target brain-only voxels.
88
90
  mask: Mask file to mask input data.
91
+ num_threads: Set number of threads.
92
+ out_file: Output image file name.
89
93
  outputtype: 'nifti' or 'afni' or 'nifti_gz'. Afni output filetype.
90
94
  polort: No description provided.
91
95
  thresh: Threshold to exclude connections where corr <= thresh.
@@ -100,6 +104,10 @@ def v_3d_lfcd_params(
100
104
  }
101
105
  if mask is not None:
102
106
  params["mask"] = mask
107
+ if num_threads is not None:
108
+ params["num_threads"] = num_threads
109
+ if out_file is not None:
110
+ params["out_file"] = out_file
103
111
  if outputtype is not None:
104
112
  params["outputtype"] = outputtype
105
113
  if polort is not None:
@@ -134,7 +142,13 @@ def v_3d_lfcd_cargs(
134
142
  "-mask",
135
143
  execution.input_file(params.get("mask"))
136
144
  ])
137
- cargs.append("[OUT_FILE]")
145
+ if params.get("num_threads") is not None:
146
+ cargs.append(str(params.get("num_threads")))
147
+ if params.get("out_file") is not None:
148
+ cargs.extend([
149
+ "-prefix",
150
+ params.get("out_file")
151
+ ])
138
152
  if params.get("outputtype") is not None:
139
153
  cargs.append(params.get("outputtype"))
140
154
  if params.get("polort") is not None:
@@ -166,7 +180,6 @@ def v_3d_lfcd_outputs(
166
180
  ret = V3dLfcdOutputs(
167
181
  root=execution.output_file("."),
168
182
  out_file=execution.output_file(pathlib.Path(params.get("in_file")).name + "_afni"),
169
- out_file_=execution.output_file("out_file"),
170
183
  )
171
184
  return ret
172
185
 
@@ -201,6 +214,8 @@ def v_3d_lfcd(
201
214
  autoclip: bool = False,
202
215
  automask: bool = False,
203
216
  mask: InputPathType | None = None,
217
+ num_threads: int | None = None,
218
+ out_file: str | None = None,
204
219
  outputtype: typing.Literal["NIFTI", "AFNI", "NIFTI_GZ"] | None = None,
205
220
  polort: int | None = None,
206
221
  thresh: float | None = None,
@@ -219,6 +234,8 @@ def v_3d_lfcd(
219
234
  autoclip: Clip off low-intensity regions in the dataset.
220
235
  automask: Mask the dataset to target brain-only voxels.
221
236
  mask: Mask file to mask input data.
237
+ num_threads: Set number of threads.
238
+ out_file: Output image file name.
222
239
  outputtype: 'nifti' or 'afni' or 'nifti_gz'. Afni output filetype.
223
240
  polort: No description provided.
224
241
  thresh: Threshold to exclude connections where corr <= thresh.
@@ -233,6 +250,8 @@ def v_3d_lfcd(
233
250
  autoclip=autoclip,
234
251
  automask=automask,
235
252
  mask=mask,
253
+ num_threads=num_threads,
254
+ out_file=out_file,
236
255
  outputtype=outputtype,
237
256
  polort=polort,
238
257
  thresh=thresh,
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V_3D_LME_METADATA = Metadata(
9
- id="e9a80d6729c55d33424066db0a326673e6b70516.boutiques",
9
+ id="793d77145ed7716db55eb8665482b6bfad2c1e45.boutiques",
10
10
  name="3dLME",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -295,7 +295,6 @@ def v_3d_lme_cargs(
295
295
  cargs.append("-logLik")
296
296
  if params.get("LOGIT_FLAG"):
297
297
  cargs.append("-LOGIT")
298
- cargs.append("-ml")
299
298
  if params.get("ML_FLAG"):
300
299
  cargs.append("-ML")
301
300
  if params.get("QVARS_CENTERS") is not None:
@@ -343,7 +342,6 @@ def v_3d_lme_cargs(
343
342
  "-REprefix",
344
343
  params.get("REPREFIX")
345
344
  ])
346
- cargs.append("-RIO")
347
345
  if params.get("RIO_FLAG"):
348
346
  cargs.append("-Rio")
349
347
  if params.get("SHOW_OPTIONS_FLAG"):
@@ -6,7 +6,7 @@ import pathlib
6
6
  from styxdefs import *
7
7
 
8
8
  V_3D_LOCAL_HISTOG_METADATA = Metadata(
9
- id="de01f1dbbd5bfe5031e2c7c493ec364d82e32012.boutiques",
9
+ id="b6fca81642196b74e87aaa904d948945eae79fdd.boutiques",
10
10
  name="3dLocalHistog",
11
11
  package="afni",
12
12
  container_image_tag="afni/afni_make_build:AFNI_24.2.06",
@@ -20,7 +20,10 @@ V3dLocalHistogParameters = typing.TypedDict('V3dLocalHistogParameters', {
20
20
  "hsave": typing.NotRequired[str | None],
21
21
  "lab_file": typing.NotRequired[InputPathType | None],
22
22
  "exclude": typing.NotRequired[list[str] | None],
23
+ "exc_nonlab": bool,
23
24
  "mincount": typing.NotRequired[float | None],
25
+ "probability": bool,
26
+ "quiet": bool,
24
27
  "input_datasets": list[InputPathType],
25
28
  })
26
29
 
@@ -78,7 +81,10 @@ def v_3d_local_histog_params(
78
81
  hsave: str | None = None,
79
82
  lab_file: InputPathType | None = None,
80
83
  exclude: list[str] | None = None,
84
+ exc_nonlab: bool = False,
81
85
  mincount: float | None = None,
86
+ probability: bool = False,
87
+ quiet: bool = False,
82
88
  ) -> V3dLocalHistogParameters:
83
89
  """
84
90
  Build parameters.
@@ -94,14 +100,22 @@ def v_3d_local_histog_params(
94
100
  lab_file: Use file 'LL' as a label file.
95
101
  exclude: Exclude values from 'a' to 'b' from the counting. This option\
96
102
  can be used more than once.
103
+ exc_nonlab: If '-lab_file' is used, then exclude all values that are\
104
+ NOT in the label file (except for 0).
97
105
  mincount: Exclude values which appear in the overall histogram fewer\
98
106
  than 'mm' times.
107
+ probability: Convert each count to a probability by dividing by the\
108
+ total number of counts at each voxel.
109
+ quiet: Stop the highly informative progress reports.
99
110
  Returns:
100
111
  Parameter dictionary
101
112
  """
102
113
  params = {
103
114
  "__STYXTYPE__": "3dLocalHistog",
104
115
  "prefix": prefix,
116
+ "exc_nonlab": exc_nonlab,
117
+ "probability": probability,
118
+ "quiet": quiet,
105
119
  "input_datasets": input_datasets,
106
120
  }
107
121
  if nbhd_option is not None:
@@ -156,11 +170,17 @@ def v_3d_local_histog_cargs(
156
170
  "-exclude",
157
171
  *params.get("exclude")
158
172
  ])
173
+ if params.get("exc_nonlab"):
174
+ cargs.append("-excNONLAB")
159
175
  if params.get("mincount") is not None:
160
176
  cargs.extend([
161
177
  "-mincount",
162
178
  str(params.get("mincount"))
163
179
  ])
180
+ if params.get("probability"):
181
+ cargs.append("-prob")
182
+ if params.get("quiet"):
183
+ cargs.append("-quiet")
164
184
  cargs.extend([execution.input_file(f) for f in params.get("input_datasets")])
165
185
  return cargs
166
186
 
@@ -218,7 +238,10 @@ def v_3d_local_histog(
218
238
  hsave: str | None = None,
219
239
  lab_file: InputPathType | None = None,
220
240
  exclude: list[str] | None = None,
241
+ exc_nonlab: bool = False,
221
242
  mincount: float | None = None,
243
+ probability: bool = False,
244
+ quiet: bool = False,
222
245
  runner: Runner | None = None,
223
246
  ) -> V3dLocalHistogOutputs:
224
247
  """
@@ -239,8 +262,13 @@ def v_3d_local_histog(
239
262
  lab_file: Use file 'LL' as a label file.
240
263
  exclude: Exclude values from 'a' to 'b' from the counting. This option\
241
264
  can be used more than once.
265
+ exc_nonlab: If '-lab_file' is used, then exclude all values that are\
266
+ NOT in the label file (except for 0).
242
267
  mincount: Exclude values which appear in the overall histogram fewer\
243
268
  than 'mm' times.
269
+ probability: Convert each count to a probability by dividing by the\
270
+ total number of counts at each voxel.
271
+ quiet: Stop the highly informative progress reports.
244
272
  runner: Command runner.
245
273
  Returns:
246
274
  NamedTuple of outputs (described in `V3dLocalHistogOutputs`).
@@ -253,7 +281,10 @@ def v_3d_local_histog(
253
281
  hsave=hsave,
254
282
  lab_file=lab_file,
255
283
  exclude=exclude,
284
+ exc_nonlab=exc_nonlab,
256
285
  mincount=mincount,
286
+ probability=probability,
287
+ quiet=quiet,
257
288
  input_datasets=input_datasets,
258
289
  )
259
290
  return v_3d_local_histog_execute(params, execution)