niwrap-afni 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-afni might be problematic. Click here for more details.

Files changed (569) hide show
  1. niwrap_afni/afni/__init__.py +582 -0
  2. niwrap_afni/afni/abids_json_info_py.py +247 -0
  3. niwrap_afni/afni/abids_json_tool_py.py +212 -0
  4. niwrap_afni/afni/abids_tool.py +191 -0
  5. niwrap_afni/afni/adjunct_apqc_tsnr_general.py +447 -0
  6. niwrap_afni/afni/adjunct_aw_tableize_roi_info_py.py +224 -0
  7. niwrap_afni/afni/adjunct_calc_mont_dims_py.py +173 -0
  8. niwrap_afni/afni/adjunct_combine_str_py.py +198 -0
  9. niwrap_afni/afni/adjunct_is_label_py.py +180 -0
  10. niwrap_afni/afni/adjunct_make_script_and_rst_py.py +237 -0
  11. niwrap_afni/afni/adjunct_select_str_py.py +188 -0
  12. niwrap_afni/afni/adjunct_simplify_cost.py +172 -0
  13. niwrap_afni/afni/adjunct_suma_fs_mask_and_qc.py +249 -0
  14. niwrap_afni/afni/adjunct_suma_fs_roi_info.py +228 -0
  15. niwrap_afni/afni/adjunct_tort_plot_dp_align.py +248 -0
  16. niwrap_afni/afni/adwarp.py +296 -0
  17. niwrap_afni/afni/afni.py +428 -0
  18. niwrap_afni/afni/afni_batch_r.py +215 -0
  19. niwrap_afni/afni/afni_check_omp.py +174 -0
  20. niwrap_afni/afni/afni_history.py +413 -0
  21. niwrap_afni/afni/afni_open.py +304 -0
  22. niwrap_afni/afni/afni_proc_py.py +283 -0
  23. niwrap_afni/afni/afni_run_r.py +180 -0
  24. niwrap_afni/afni/afni_system_check_py.py +274 -0
  25. niwrap_afni/afni/aiv.py +231 -0
  26. niwrap_afni/afni/align_epi_anat.py +356 -0
  27. niwrap_afni/afni/analyze_trace.py +292 -0
  28. niwrap_afni/afni/ap_run_simple_rest.py +293 -0
  29. niwrap_afni/afni/apqc_make_html.py +175 -0
  30. niwrap_afni/afni/apqc_make_tcsh_py.py +245 -0
  31. niwrap_afni/afni/apsearch.py +195 -0
  32. niwrap_afni/afni/auto_warp_py.py +527 -0
  33. niwrap_afni/afni/balloon.py +210 -0
  34. niwrap_afni/afni/bayes_view.py +196 -0
  35. niwrap_afni/afni/bayesian_group_ana_py.py +342 -0
  36. niwrap_afni/afni/brain_skin.py +358 -0
  37. niwrap_afni/afni/build_afni_py.py +330 -0
  38. niwrap_afni/afni/cat_matvec.py +185 -0
  39. niwrap_afni/afni/ccalc.py +192 -0
  40. niwrap_afni/afni/cifti_tool.py +271 -0
  41. niwrap_afni/afni/cjpeg.py +233 -0
  42. niwrap_afni/afni/clust_exp_hist_table_py.py +218 -0
  43. niwrap_afni/afni/clust_exp_stat_parse_py.py +346 -0
  44. niwrap_afni/afni/column_cat.py +208 -0
  45. niwrap_afni/afni/compare_surfaces.py +344 -0
  46. niwrap_afni/afni/convert_cdiflist_to_grads.py +251 -0
  47. niwrap_afni/afni/convert_dset.py +421 -0
  48. niwrap_afni/afni/convert_surface.py +247 -0
  49. niwrap_afni/afni/convex_hull.py +386 -0
  50. niwrap_afni/afni/count.py +327 -0
  51. niwrap_afni/afni/create_icosahedron.py +282 -0
  52. niwrap_afni/afni/dcm2niix_afni.py +550 -0
  53. niwrap_afni/afni/dicom_hdr.py +263 -0
  54. niwrap_afni/afni/dicom_hinfo.py +220 -0
  55. niwrap_afni/afni/dicom_to_raw.py +176 -0
  56. niwrap_afni/afni/dimon.py +286 -0
  57. niwrap_afni/afni/djpeg.py +233 -0
  58. niwrap_afni/afni/drive_suma.py +520 -0
  59. niwrap_afni/afni/dsetstat2p.py +218 -0
  60. niwrap_afni/afni/dtistudio_fiberto_segments.py +198 -0
  61. niwrap_afni/afni/epi_b0_correct.py +485 -0
  62. niwrap_afni/afni/examine_xmat.py +280 -0
  63. niwrap_afni/afni/fat_mat2d_plot_py.py +428 -0
  64. niwrap_afni/afni/fat_mat_sel_py.py +469 -0
  65. niwrap_afni/afni/fat_mat_tableize.py +292 -0
  66. niwrap_afni/afni/fat_mvm_gridconv_py.py +207 -0
  67. niwrap_afni/afni/fat_mvm_prep.py +256 -0
  68. niwrap_afni/afni/fat_mvm_scripter_py.py +353 -0
  69. niwrap_afni/afni/fat_proc_align_anat_pair.py +307 -0
  70. niwrap_afni/afni/fat_proc_axialize_anat.py +415 -0
  71. niwrap_afni/afni/fat_proc_connec_vis.py +346 -0
  72. niwrap_afni/afni/fat_proc_convert_dcm_anat.py +283 -0
  73. niwrap_afni/afni/fat_proc_convert_dcm_dwis.py +374 -0
  74. niwrap_afni/afni/fat_proc_decmap.py +321 -0
  75. niwrap_afni/afni/fat_proc_dwi_to_dt.py +522 -0
  76. niwrap_afni/afni/fat_proc_filter_dwis.py +321 -0
  77. niwrap_afni/afni/fat_proc_imit2w_from_t1w.py +283 -0
  78. niwrap_afni/afni/fat_proc_map_to_dti.py +308 -0
  79. niwrap_afni/afni/fat_proc_select_vols.py +266 -0
  80. niwrap_afni/afni/fat_roi_row.py +233 -0
  81. niwrap_afni/afni/fatcat_matplot.py +181 -0
  82. niwrap_afni/afni/fdrval.py +241 -0
  83. niwrap_afni/afni/fftest.py +197 -0
  84. niwrap_afni/afni/file_tool.py +580 -0
  85. niwrap_afni/afni/fim2.py +465 -0
  86. niwrap_afni/afni/find_variance_lines.py +353 -0
  87. niwrap_afni/afni/firdesign.py +235 -0
  88. niwrap_afni/afni/float_scan.py +213 -0
  89. niwrap_afni/afni/from3d.py +292 -0
  90. niwrap_afni/afni/fsread_annot.py +322 -0
  91. niwrap_afni/afni/gen_epi_review_py.py +292 -0
  92. niwrap_afni/afni/gen_group_command.py +324 -0
  93. niwrap_afni/afni/gen_ss_review_scripts.py +421 -0
  94. niwrap_afni/afni/gen_ss_review_table_py.py +324 -0
  95. niwrap_afni/afni/get_afni_model_prf.py +196 -0
  96. niwrap_afni/afni/get_afni_model_prf_6.py +222 -0
  97. niwrap_afni/afni/get_afni_model_prf_6_bad.py +212 -0
  98. niwrap_afni/afni/gifti_tool.py +426 -0
  99. niwrap_afni/afni/gltsymtest.py +193 -0
  100. niwrap_afni/afni/help_format.py +176 -0
  101. niwrap_afni/afni/im2niml.py +178 -0
  102. niwrap_afni/afni/images_equal.py +195 -0
  103. niwrap_afni/afni/imand.py +203 -0
  104. niwrap_afni/afni/imaver.py +201 -0
  105. niwrap_afni/afni/imcalc.py +235 -0
  106. niwrap_afni/afni/imcat.py +498 -0
  107. niwrap_afni/afni/imcutup.py +241 -0
  108. niwrap_afni/afni/imdump.py +177 -0
  109. niwrap_afni/afni/immask.py +223 -0
  110. niwrap_afni/afni/imreg.py +389 -0
  111. niwrap_afni/afni/imrotate.py +217 -0
  112. niwrap_afni/afni/imstack.py +209 -0
  113. niwrap_afni/afni/imstat.py +217 -0
  114. niwrap_afni/afni/imupsam.py +205 -0
  115. niwrap_afni/afni/init_user_dotfiles_py.py +353 -0
  116. niwrap_afni/afni/inspec.py +255 -0
  117. niwrap_afni/afni/iso_surface.py +344 -0
  118. niwrap_afni/afni/make_color_map.py +417 -0
  119. niwrap_afni/afni/make_pq_script_py.py +200 -0
  120. niwrap_afni/afni/make_random_timing_py.py +471 -0
  121. niwrap_afni/afni/make_stim_times_py.py +304 -0
  122. niwrap_afni/afni/map_icosahedron.py +296 -0
  123. niwrap_afni/afni/map_track_id.py +254 -0
  124. niwrap_afni/afni/mba.py +360 -0
  125. niwrap_afni/afni/meica_py.py +259 -0
  126. niwrap_afni/afni/myget.py +186 -0
  127. niwrap_afni/afni/neuro_deconvolve_py.py +291 -0
  128. niwrap_afni/afni/nicat.py +207 -0
  129. niwrap_afni/afni/niccc.py +307 -0
  130. niwrap_afni/afni/nifti_tool.py +310 -0
  131. niwrap_afni/afni/niml_feedme.py +260 -0
  132. niwrap_afni/afni/nsize.py +184 -0
  133. niwrap_afni/afni/p2dsetstat.py +216 -0
  134. niwrap_afni/afni/parse_fs_lt_log_py.py +217 -0
  135. niwrap_afni/afni/plugout_drive.py +259 -0
  136. niwrap_afni/afni/plugout_ijk.py +297 -0
  137. niwrap_afni/afni/plugout_tt.py +326 -0
  138. niwrap_afni/afni/plugout_tta.py +290 -0
  139. niwrap_afni/afni/prompt_popup.py +205 -0
  140. niwrap_afni/afni/prompt_user.py +190 -0
  141. niwrap_afni/afni/pta.py +279 -0
  142. niwrap_afni/afni/qdelaunay.py +534 -0
  143. niwrap_afni/afni/qhull.py +376 -0
  144. niwrap_afni/afni/quick_alpha_vals_py.py +189 -0
  145. niwrap_afni/afni/quickspec.py +259 -0
  146. niwrap_afni/afni/quickspec_sl.py +282 -0
  147. niwrap_afni/afni/quotize.py +194 -0
  148. niwrap_afni/afni/r_pkgs_install.py +227 -0
  149. niwrap_afni/afni/rba.py +508 -0
  150. niwrap_afni/afni/rbox.py +245 -0
  151. niwrap_afni/afni/read_matlab_files_py.py +225 -0
  152. niwrap_afni/afni/realtime_receiver.py +310 -0
  153. niwrap_afni/afni/retro_ts_py.py +477 -0
  154. niwrap_afni/afni/rmz.py +203 -0
  155. niwrap_afni/afni/roi2dataset.py +310 -0
  156. niwrap_afni/afni/roigrow.py +276 -0
  157. niwrap_afni/afni/rotcom.py +190 -0
  158. niwrap_afni/afni/rsfgen.py +330 -0
  159. niwrap_afni/afni/rtfeedme.py +308 -0
  160. niwrap_afni/afni/samp_bias.py +245 -0
  161. niwrap_afni/afni/scale_to_map.py +481 -0
  162. niwrap_afni/afni/serial_helper.py +298 -0
  163. niwrap_afni/afni/sfim.py +229 -0
  164. niwrap_afni/afni/slow_surf_clustsim_py.py +285 -0
  165. niwrap_afni/afni/spharm_deco.py +284 -0
  166. niwrap_afni/afni/spharm_reco.py +274 -0
  167. niwrap_afni/afni/stimband.py +229 -0
  168. niwrap_afni/afni/strblast.py +239 -0
  169. niwrap_afni/afni/suma_change_spec.py +225 -0
  170. niwrap_afni/afni/suma_glxdino.py +175 -0
  171. niwrap_afni/afni/surf2_vol_coord.py +305 -0
  172. niwrap_afni/afni/surf_clust.py +611 -0
  173. niwrap_afni/afni/surf_dist.py +208 -0
  174. niwrap_afni/afni/surf_dset_info.py +355 -0
  175. niwrap_afni/afni/surf_extrema.py +279 -0
  176. niwrap_afni/afni/surf_fwhm.py +350 -0
  177. niwrap_afni/afni/surf_info.py +288 -0
  178. niwrap_afni/afni/surf_layers.py +300 -0
  179. niwrap_afni/afni/surf_localstat.py +242 -0
  180. niwrap_afni/afni/surf_measures.py +373 -0
  181. niwrap_afni/afni/surf_mesh.py +256 -0
  182. niwrap_afni/afni/surf_patch.py +412 -0
  183. niwrap_afni/afni/surf_qual.py +250 -0
  184. niwrap_afni/afni/surf_retino_map.py +225 -0
  185. niwrap_afni/afni/surf_smooth.py +388 -0
  186. niwrap_afni/afni/surf_to_surf.py +327 -0
  187. niwrap_afni/afni/surface_metrics.py +377 -0
  188. niwrap_afni/afni/tedana_wrapper_py.py +306 -0
  189. niwrap_afni/afni/tfim.py +267 -0
  190. niwrap_afni/afni/timing_tool_py.py +406 -0
  191. niwrap_afni/afni/to3d.py +643 -0
  192. niwrap_afni/afni/tokens.py +192 -0
  193. niwrap_afni/afni/trr.py +405 -0
  194. niwrap_afni/afni/uber_align_test_py.py +266 -0
  195. niwrap_afni/afni/uber_proc_py.py +176 -0
  196. niwrap_afni/afni/uber_skel.py +277 -0
  197. niwrap_afni/afni/uber_subject_py.py +707 -0
  198. niwrap_afni/afni/un_warp_epi_py.py +232 -0
  199. niwrap_afni/afni/uniq_images.py +180 -0
  200. niwrap_afni/afni/v_1d_apar2mat.py +262 -0
  201. niwrap_afni/afni/v_1d_astrip.py +176 -0
  202. niwrap_afni/afni/v_1d_bandpass.py +238 -0
  203. niwrap_afni/afni/v_1d_bport.py +277 -0
  204. niwrap_afni/afni/v_1d_correlate.py +218 -0
  205. niwrap_afni/afni/v_1d_dw_grad_o_mat__.py +429 -0
  206. niwrap_afni/afni/v_1d_flag_motion.py +212 -0
  207. niwrap_afni/afni/v_1d_marry.py +214 -0
  208. niwrap_afni/afni/v_1d_nlfit.py +254 -0
  209. niwrap_afni/afni/v_1d_rplot.py +180 -0
  210. niwrap_afni/afni/v_1d_sem.py +215 -0
  211. niwrap_afni/afni/v_1d_tool_py.py +319 -0
  212. niwrap_afni/afni/v_1d_tsort.py +216 -0
  213. niwrap_afni/afni/v_1d_upsample.py +195 -0
  214. niwrap_afni/afni/v_1dcat.py +266 -0
  215. niwrap_afni/afni/v_1ddot.py +249 -0
  216. niwrap_afni/afni/v_1deval.py +265 -0
  217. niwrap_afni/afni/v_1dfft.py +269 -0
  218. niwrap_afni/afni/v_1dgen_arma11.py +319 -0
  219. niwrap_afni/afni/v_1dgrayplot.py +238 -0
  220. niwrap_afni/afni/v_1dmatcalc.py +180 -0
  221. niwrap_afni/afni/v_1dnorm.py +224 -0
  222. niwrap_afni/afni/v_1dplot.py +831 -0
  223. niwrap_afni/afni/v_1dplot_py.py +578 -0
  224. niwrap_afni/afni/v_1dsound.py +292 -0
  225. niwrap_afni/afni/v_1dsum.py +235 -0
  226. niwrap_afni/afni/v_1dsvd.py +272 -0
  227. niwrap_afni/afni/v_1dtranspose.py +188 -0
  228. niwrap_afni/afni/v_24swap.py +194 -0
  229. niwrap_afni/afni/v_2d_im_reg.py +312 -0
  230. niwrap_afni/afni/v_2dcat.py +496 -0
  231. niwrap_afni/afni/v_2perm.py +233 -0
  232. niwrap_afni/afni/v_2swap.py +181 -0
  233. niwrap_afni/afni/v_3_droimaker.py +419 -0
  234. niwrap_afni/afni/v_3d_aboverlap.py +211 -0
  235. niwrap_afni/afni/v_3d_acost.py +210 -0
  236. niwrap_afni/afni/v_3d_afnito3_d.py +177 -0
  237. niwrap_afni/afni/v_3d_afnito_analyze.py +219 -0
  238. niwrap_afni/afni/v_3d_afnito_nifti.py +245 -0
  239. niwrap_afni/afni/v_3d_afnito_niml.py +175 -0
  240. niwrap_afni/afni/v_3d_afnito_raw.py +202 -0
  241. niwrap_afni/afni/v_3d_allineate.py +350 -0
  242. niwrap_afni/afni/v_3d_amp_to_rsfc.py +262 -0
  243. niwrap_afni/afni/v_3d_anhist.py +260 -0
  244. niwrap_afni/afni/v_3d_anova.py +359 -0
  245. niwrap_afni/afni/v_3d_anova2.py +515 -0
  246. niwrap_afni/afni/v_3d_anova3.py +302 -0
  247. niwrap_afni/afni/v_3d_attribute.py +248 -0
  248. niwrap_afni/afni/v_3d_auto_tcorrelate.py +314 -0
  249. niwrap_afni/afni/v_3d_autobox.py +335 -0
  250. niwrap_afni/afni/v_3d_automask.py +258 -0
  251. niwrap_afni/afni/v_3d_ball_match.py +229 -0
  252. niwrap_afni/afni/v_3d_bandpass.py +381 -0
  253. niwrap_afni/afni/v_3d_blur_in_mask.py +291 -0
  254. niwrap_afni/afni/v_3d_blur_to_fwhm.py +267 -0
  255. niwrap_afni/afni/v_3d_brain_sync.py +267 -0
  256. niwrap_afni/afni/v_3d_brain_voyagerto_afni.py +313 -0
  257. niwrap_afni/afni/v_3d_brick_stat.py +463 -0
  258. niwrap_afni/afni/v_3d_clip_level.py +175 -0
  259. niwrap_afni/afni/v_3d_clust_count.py +229 -0
  260. niwrap_afni/afni/v_3d_clust_sim.py +196 -0
  261. niwrap_afni/afni/v_3d_clusterize.py +448 -0
  262. niwrap_afni/afni/v_3d_cm.py +177 -0
  263. niwrap_afni/afni/v_3d_compare_affine.py +215 -0
  264. niwrap_afni/afni/v_3d_conformist.py +176 -0
  265. niwrap_afni/afni/v_3d_convolve.py +197 -0
  266. niwrap_afni/afni/v_3d_cruiseto_afni.py +264 -0
  267. niwrap_afni/afni/v_3d_deconvolve.py +371 -0
  268. niwrap_afni/afni/v_3d_degree_centrality.py +270 -0
  269. niwrap_afni/afni/v_3d_depth_map.py +317 -0
  270. niwrap_afni/afni/v_3d_despike.py +191 -0
  271. niwrap_afni/afni/v_3d_detrend.py +191 -0
  272. niwrap_afni/afni/v_3d_dft.py +245 -0
  273. niwrap_afni/afni/v_3d_diff.py +254 -0
  274. niwrap_afni/afni/v_3d_dteig.py +236 -0
  275. niwrap_afni/afni/v_3d_dtto_dwi.py +199 -0
  276. niwrap_afni/afni/v_3d_dtto_noisy_dwi.py +275 -0
  277. niwrap_afni/afni/v_3d_dwito_dt.py +191 -0
  278. niwrap_afni/afni/v_3d_dwuncert.py +283 -0
  279. niwrap_afni/afni/v_3d_ecm.py +363 -0
  280. niwrap_afni/afni/v_3d_edu_01_scale.py +216 -0
  281. niwrap_afni/afni/v_3d_eigs_to_dt.py +271 -0
  282. niwrap_afni/afni/v_3d_empty.py +224 -0
  283. niwrap_afni/afni/v_3d_entropy.py +181 -0
  284. niwrap_afni/afni/v_3d_errts_cormat.py +243 -0
  285. niwrap_afni/afni/v_3d_exchange.py +226 -0
  286. niwrap_afni/afni/v_3d_extract_group_in_corr.py +195 -0
  287. niwrap_afni/afni/v_3d_extrema.py +384 -0
  288. niwrap_afni/afni/v_3d_fdr.py +325 -0
  289. niwrap_afni/afni/v_3d_fft.py +307 -0
  290. niwrap_afni/afni/v_3d_friedman.py +226 -0
  291. niwrap_afni/afni/v_3d_fwhmx.py +321 -0
  292. niwrap_afni/afni/v_3d_gen_feature_dist.py +262 -0
  293. niwrap_afni/afni/v_3d_gen_priors.py +487 -0
  294. niwrap_afni/afni/v_3d_getrow.py +243 -0
  295. niwrap_afni/afni/v_3d_grayplot.py +343 -0
  296. niwrap_afni/afni/v_3d_group_in_corr.py +484 -0
  297. niwrap_afni/afni/v_3d_hist.py +406 -0
  298. niwrap_afni/afni/v_3d_icc.py +228 -0
  299. niwrap_afni/afni/v_3d_intracranial.py +275 -0
  300. niwrap_afni/afni/v_3d_inv_fmri.py +317 -0
  301. niwrap_afni/afni/v_3d_isc.py +298 -0
  302. niwrap_afni/afni/v_3d_kruskal_wallis.py +231 -0
  303. niwrap_afni/afni/v_3d_lfcd.py +249 -0
  304. niwrap_afni/afni/v_3d_lme.py +524 -0
  305. niwrap_afni/afni/v_3d_lmer.py +425 -0
  306. niwrap_afni/afni/v_3d_local_acf.py +224 -0
  307. niwrap_afni/afni/v_3d_local_bistat.py +325 -0
  308. niwrap_afni/afni/v_3d_local_histog.py +268 -0
  309. niwrap_afni/afni/v_3d_local_pv.py +318 -0
  310. niwrap_afni/afni/v_3d_local_svd.py +258 -0
  311. niwrap_afni/afni/v_3d_local_unifize.py +286 -0
  312. niwrap_afni/afni/v_3d_localstat.py +427 -0
  313. niwrap_afni/afni/v_3d_lomb_scargle.py +307 -0
  314. niwrap_afni/afni/v_3d_lrflip.py +202 -0
  315. niwrap_afni/afni/v_3d_lss.py +175 -0
  316. niwrap_afni/afni/v_3d_mann_whitney.py +234 -0
  317. niwrap_afni/afni/v_3d_mask_to_ascii.py +189 -0
  318. niwrap_afni/afni/v_3d_match.py +300 -0
  319. niwrap_afni/afni/v_3d_mean.py +364 -0
  320. niwrap_afni/afni/v_3d_median_filter.py +238 -0
  321. niwrap_afni/afni/v_3d_mema.py +171 -0
  322. niwrap_afni/afni/v_3d_mepfm.py +256 -0
  323. niwrap_afni/afni/v_3d_mse.py +283 -0
  324. niwrap_afni/afni/v_3d_mss.py +397 -0
  325. niwrap_afni/afni/v_3d_multi_thresh.py +306 -0
  326. niwrap_afni/afni/v_3d_mvm.py +359 -0
  327. niwrap_afni/afni/v_3d_mvm_validator.py +191 -0
  328. niwrap_afni/afni/v_3d_net_corr.py +398 -0
  329. niwrap_afni/afni/v_3d_nlfim.py +241 -0
  330. niwrap_afni/afni/v_3d_normality_test.py +209 -0
  331. niwrap_afni/afni/v_3d_notes.py +246 -0
  332. niwrap_afni/afni/v_3d_nwarp_adjust.py +218 -0
  333. niwrap_afni/afni/v_3d_nwarp_apply.py +349 -0
  334. niwrap_afni/afni/v_3d_nwarp_cat.py +277 -0
  335. niwrap_afni/afni/v_3d_nwarp_funcs.py +232 -0
  336. niwrap_afni/afni/v_3d_nwarp_xyz.py +193 -0
  337. niwrap_afni/afni/v_3d_overlap.py +188 -0
  338. niwrap_afni/afni/v_3d_par2_afni.py +244 -0
  339. niwrap_afni/afni/v_3d_periodogram.py +220 -0
  340. niwrap_afni/afni/v_3d_pfm.py +248 -0
  341. niwrap_afni/afni/v_3d_polyfit.py +357 -0
  342. niwrap_afni/afni/v_3d_pval.py +232 -0
  343. niwrap_afni/afni/v_3d_pvmap.py +221 -0
  344. niwrap_afni/afni/v_3d_qwarp.py +359 -0
  345. niwrap_afni/afni/v_3d_rank.py +222 -0
  346. niwrap_afni/afni/v_3d_rankizer.py +241 -0
  347. niwrap_afni/afni/v_3d_re_ho.py +376 -0
  348. niwrap_afni/afni/v_3d_reg_ana.py +377 -0
  349. niwrap_afni/afni/v_3d_remlfit.py +322 -0
  350. niwrap_afni/afni/v_3d_retino_phase.py +379 -0
  351. niwrap_afni/afni/v_3d_roistats.py +379 -0
  352. niwrap_afni/afni/v_3d_row_fillin.py +231 -0
  353. niwrap_afni/afni/v_3d_rprog_demo.py +282 -0
  354. niwrap_afni/afni/v_3d_rsfc.py +198 -0
  355. niwrap_afni/afni/v_3d_seg.py +437 -0
  356. niwrap_afni/afni/v_3d_setup_group_in_corr.py +273 -0
  357. niwrap_afni/afni/v_3d_sharpen.py +206 -0
  358. niwrap_afni/afni/v_3d_signatures.py +230 -0
  359. niwrap_afni/afni/v_3d_skull_strip.py +204 -0
  360. niwrap_afni/afni/v_3d_slice_ndice.py +235 -0
  361. niwrap_afni/afni/v_3d_space_time_corr.py +265 -0
  362. niwrap_afni/afni/v_3d_spat_norm.py +265 -0
  363. niwrap_afni/afni/v_3d_stat_clust.py +257 -0
  364. niwrap_afni/afni/v_3d_surf2_vol.py +469 -0
  365. niwrap_afni/afni/v_3d_surf_mask.py +262 -0
  366. niwrap_afni/afni/v_3d_synthesize.py +251 -0
  367. niwrap_afni/afni/v_3d_tagalign.py +342 -0
  368. niwrap_afni/afni/v_3d_tcat.py +223 -0
  369. niwrap_afni/afni/v_3d_tcorr1_d.py +243 -0
  370. niwrap_afni/afni/v_3d_tcorr_map.py +396 -0
  371. niwrap_afni/afni/v_3d_tcorrelate.py +368 -0
  372. niwrap_afni/afni/v_3d_tfilter.py +203 -0
  373. niwrap_afni/afni/v_3d_tfitter.py +430 -0
  374. niwrap_afni/afni/v_3d_threeto_rgb.py +265 -0
  375. niwrap_afni/afni/v_3d_tnorm.py +247 -0
  376. niwrap_afni/afni/v_3d_tortoiseto_here.py +239 -0
  377. niwrap_afni/afni/v_3d_toutcount.py +285 -0
  378. niwrap_afni/afni/v_3d_toy_prog.py +216 -0
  379. niwrap_afni/afni/v_3d_tproject.py +475 -0
  380. niwrap_afni/afni/v_3d_tqual.py +261 -0
  381. niwrap_afni/afni/v_3d_track_id.py +628 -0
  382. niwrap_afni/afni/v_3d_trfix.py +234 -0
  383. niwrap_afni/afni/v_3d_tsgen.py +319 -0
  384. niwrap_afni/afni/v_3d_tshift.py +342 -0
  385. niwrap_afni/afni/v_3d_tsmooth.py +331 -0
  386. niwrap_afni/afni/v_3d_tsort.py +267 -0
  387. niwrap_afni/afni/v_3d_tsplit4_d.py +209 -0
  388. niwrap_afni/afni/v_3d_tstat.py +771 -0
  389. niwrap_afni/afni/v_3d_tto1_d.py +246 -0
  390. niwrap_afni/afni/v_3d_twoto_complex.py +241 -0
  391. niwrap_afni/afni/v_3d_undump.py +366 -0
  392. niwrap_afni/afni/v_3d_unifize.py +403 -0
  393. niwrap_afni/afni/v_3d_upsample.py +245 -0
  394. niwrap_afni/afni/v_3d_vec_rgb_to_hsl.py +226 -0
  395. niwrap_afni/afni/v_3d_vol2_surf.py +653 -0
  396. niwrap_afni/afni/v_3d_warp.py +173 -0
  397. niwrap_afni/afni/v_3d_warp_drive.py +596 -0
  398. niwrap_afni/afni/v_3d_wilcoxon.py +231 -0
  399. niwrap_afni/afni/v_3d_winsor.py +287 -0
  400. niwrap_afni/afni/v_3d_xclust_sim.py +370 -0
  401. niwrap_afni/afni/v_3d_xyzcat.py +216 -0
  402. niwrap_afni/afni/v_3d_zcat.py +259 -0
  403. niwrap_afni/afni/v_3d_zcutup.py +209 -0
  404. niwrap_afni/afni/v_3d_zeropad.py +371 -0
  405. niwrap_afni/afni/v_3d_zipper_zapper.py +388 -0
  406. niwrap_afni/afni/v_3d_zregrid.py +242 -0
  407. niwrap_afni/afni/v_3danisosmooth.py +436 -0
  408. niwrap_afni/afni/v_3daxialize.py +253 -0
  409. niwrap_afni/afni/v_3dbucket.py +266 -0
  410. niwrap_afni/afni/v_3dcalc.py +278 -0
  411. niwrap_afni/afni/v_3dclust.py +380 -0
  412. niwrap_afni/afni/v_3dcopy.py +184 -0
  413. niwrap_afni/afni/v_3ddelay.py +443 -0
  414. niwrap_afni/afni/v_3ddot.py +322 -0
  415. niwrap_afni/afni/v_3ddot_beta.py +214 -0
  416. niwrap_afni/afni/v_3dedge3.py +269 -0
  417. niwrap_afni/afni/v_3dedgedog.py +344 -0
  418. niwrap_afni/afni/v_3dfim_.py +350 -0
  419. niwrap_afni/afni/v_3dfractionize.py +261 -0
  420. niwrap_afni/afni/v_3dhistog.py +365 -0
  421. niwrap_afni/afni/v_3dinfill.py +302 -0
  422. niwrap_afni/afni/v_3dinfo.py +1271 -0
  423. niwrap_afni/afni/v_3dkmeans.py +449 -0
  424. niwrap_afni/afni/v_3dmask_svd.py +179 -0
  425. niwrap_afni/afni/v_3dmask_tool.py +334 -0
  426. niwrap_afni/afni/v_3dmaskave.py +223 -0
  427. niwrap_afni/afni/v_3dmaskdump.py +425 -0
  428. niwrap_afni/afni/v_3dmatcalc.py +221 -0
  429. niwrap_afni/afni/v_3dmatmult.py +227 -0
  430. niwrap_afni/afni/v_3dmaxdisp.py +205 -0
  431. niwrap_afni/afni/v_3dmaxima.py +373 -0
  432. niwrap_afni/afni/v_3dmerge.py +305 -0
  433. niwrap_afni/afni/v_3dnewid.py +239 -0
  434. niwrap_afni/afni/v_3dnvals.py +190 -0
  435. niwrap_afni/afni/v_3dpc.py +340 -0
  436. niwrap_afni/afni/v_3drefit.py +406 -0
  437. niwrap_afni/afni/v_3drename.py +180 -0
  438. niwrap_afni/afni/v_3dresample.py +256 -0
  439. niwrap_afni/afni/v_3dretroicor.py +296 -0
  440. niwrap_afni/afni/v_3drotate.py +477 -0
  441. niwrap_afni/afni/v_3dsvm.py +518 -0
  442. niwrap_afni/afni/v_3dsvm_linpredict.py +203 -0
  443. niwrap_afni/afni/v_3dto_xdataset.py +195 -0
  444. niwrap_afni/afni/v_3dttest__.py +444 -0
  445. niwrap_afni/afni/v_3dvolreg.py +360 -0
  446. niwrap_afni/afni/v_4swap.py +181 -0
  447. niwrap_afni/afni/v__1d_diff_mag.py +178 -0
  448. niwrap_afni/afni/v__2dwarper.py +176 -0
  449. niwrap_afni/afni/v__2dwarper_allin.py +207 -0
  450. niwrap_afni/afni/v__4_daverage.py +173 -0
  451. niwrap_afni/afni/v__add_edge.py +344 -0
  452. niwrap_afni/afni/v__afni_env.py +254 -0
  453. niwrap_afni/afni/v__afni_orient2_raimap.py +172 -0
  454. niwrap_afni/afni/v__afni_orient_sign.py +179 -0
  455. niwrap_afni/afni/v__afni_r_package_install.py +241 -0
  456. niwrap_afni/afni/v__afni_refacer_make_master.py +180 -0
  457. niwrap_afni/afni/v__afni_refacer_make_onebig_a12.py +178 -0
  458. niwrap_afni/afni/v__afni_refacer_run.py +304 -0
  459. niwrap_afni/afni/v__afni_run_me.py +191 -0
  460. niwrap_afni/afni/v__align_centers.py +324 -0
  461. niwrap_afni/afni/v__align_partial_oblique.py +285 -0
  462. niwrap_afni/afni/v__anaticor.py +326 -0
  463. niwrap_afni/afni/v__animal_warper.py +602 -0
  464. niwrap_afni/afni/v__atlasize.py +402 -0
  465. niwrap_afni/afni/v__auto_tlrc.py +642 -0
  466. niwrap_afni/afni/v__build_afni_xlib.py +201 -0
  467. niwrap_afni/afni/v__center_distance.py +187 -0
  468. niwrap_afni/afni/v__chauffeur_afni.py +204 -0
  469. niwrap_afni/afni/v__check_for_afni_dset.py +178 -0
  470. niwrap_afni/afni/v__clip_volume.py +388 -0
  471. niwrap_afni/afni/v__clust_exp_cat_lab.py +201 -0
  472. niwrap_afni/afni/v__clust_exp_run_shiny.py +181 -0
  473. niwrap_afni/afni/v__command_globb.py +220 -0
  474. niwrap_afni/afni/v__compute_gcor.py +246 -0
  475. niwrap_afni/afni/v__compute_oc_weights.py +287 -0
  476. niwrap_afni/afni/v__deblank_file_names.py +210 -0
  477. niwrap_afni/afni/v__demo_prompt.py +176 -0
  478. niwrap_afni/afni/v__dice_metric.py +315 -0
  479. niwrap_afni/afni/v__diff_files.py +273 -0
  480. niwrap_afni/afni/v__diff_tree.py +358 -0
  481. niwrap_afni/afni/v__djunct_4d_imager.py +225 -0
  482. niwrap_afni/afni/v__djunct_4d_slices_to_3d_vol.py +177 -0
  483. niwrap_afni/afni/v__djunct_anonymize.py +207 -0
  484. niwrap_afni/afni/v__djunct_dwi_selector.py +192 -0
  485. niwrap_afni/afni/v__djunct_edgy_align_check.py +339 -0
  486. niwrap_afni/afni/v__djunct_modal_smoothing_with_rep.py +249 -0
  487. niwrap_afni/afni/v__djunct_montage_coordinator.py +234 -0
  488. niwrap_afni/afni/v__djunct_overlap_check.py +430 -0
  489. niwrap_afni/afni/v__djunct_ssw_intermed_edge_imgs.py +311 -0
  490. niwrap_afni/afni/v__do_examples.py +181 -0
  491. niwrap_afni/afni/v__electro_grid.py +244 -0
  492. niwrap_afni/afni/v__examine_gen_feat_dists.py +277 -0
  493. niwrap_afni/afni/v__extract_meica_ortvec.py +248 -0
  494. niwrap_afni/afni/v__fast_roi.py +290 -0
  495. niwrap_afni/afni/v__fat_tract_colorize.py +267 -0
  496. niwrap_afni/afni/v__find_afni_dset_path.py +199 -0
  497. niwrap_afni/afni/v__fix_fssphere.py +236 -0
  498. niwrap_afni/afni/v__float_fix.py +176 -0
  499. niwrap_afni/afni/v__from_rai.py +186 -0
  500. niwrap_afni/afni/v__fs_roi_label.py +290 -0
  501. niwrap_afni/afni/v__fslabel2dset.py +217 -0
  502. niwrap_afni/afni/v__get_afni_dims.py +176 -0
  503. niwrap_afni/afni/v__get_afni_id.py +176 -0
  504. niwrap_afni/afni/v__get_afni_orient.py +185 -0
  505. niwrap_afni/afni/v__get_afni_prefix.py +182 -0
  506. niwrap_afni/afni/v__get_afni_res.py +183 -0
  507. niwrap_afni/afni/v__get_afni_version.py +177 -0
  508. niwrap_afni/afni/v__get_afni_view.py +178 -0
  509. niwrap_afni/afni/v__grad_flip_test.py +359 -0
  510. niwrap_afni/afni/v__grayplot.py +189 -0
  511. niwrap_afni/afni/v__help_afni.py +165 -0
  512. niwrap_afni/afni/v__is_oblique.py +176 -0
  513. niwrap_afni/afni/v__iso_masks.py +185 -0
  514. niwrap_afni/afni/v__make_label_table.py +587 -0
  515. niwrap_afni/afni/v__make_plug_diff.py +237 -0
  516. niwrap_afni/afni/v__measure_bb_thick.py +352 -0
  517. niwrap_afni/afni/v__measure_erosion_thick.py +328 -0
  518. niwrap_afni/afni/v__measure_in2out.py +355 -0
  519. niwrap_afni/afni/v__move_to_series_dirs.py +255 -0
  520. niwrap_afni/afni/v__no_ext.py +179 -0
  521. niwrap_afni/afni/v__no_pound.py +174 -0
  522. niwrap_afni/afni/v__noisy_skull_strip.py +212 -0
  523. niwrap_afni/afni/v__np.py +180 -0
  524. niwrap_afni/afni/v__parse_afni_name.py +187 -0
  525. niwrap_afni/afni/v__purify_1_d.py +202 -0
  526. niwrap_afni/afni/v__quiet_talkers.py +256 -0
  527. niwrap_afni/afni/v__radial_correlate.py +407 -0
  528. niwrap_afni/afni/v__rename_panga.py +279 -0
  529. niwrap_afni/afni/v__reorder.py +225 -0
  530. niwrap_afni/afni/v__retino_proc.py +670 -0
  531. niwrap_afni/afni/v__roi_corr_mat.py +277 -0
  532. niwrap_afni/afni/v__roi_decluster.py +252 -0
  533. niwrap_afni/afni/v__roi_modal_grow.py +256 -0
  534. niwrap_afni/afni/v__scale_volume.py +252 -0
  535. niwrap_afni/afni/v__script_check.py +201 -0
  536. niwrap_afni/afni/v__shift_volume.py +240 -0
  537. niwrap_afni/afni/v__show_dynamic_range.py +183 -0
  538. niwrap_afni/afni/v__simulate_motion.py +350 -0
  539. niwrap_afni/afni/v__skull_strip_touch_up.py +224 -0
  540. niwrap_afni/afni/v__snapshot_volreg.py +207 -0
  541. niwrap_afni/afni/v__spharm_examples.py +226 -0
  542. niwrap_afni/afni/v__sswarper.py +465 -0
  543. niwrap_afni/afni/v__statauxcode.py +178 -0
  544. niwrap_afni/afni/v__suma_acknowledge.py +259 -0
  545. niwrap_afni/afni/v__suma_align_to_experiment.py +421 -0
  546. niwrap_afni/afni/v__suma_fsvol_to_brik.py +189 -0
  547. niwrap_afni/afni/v__suma_make_spec_caret.py +183 -0
  548. niwrap_afni/afni/v__suma_make_spec_fs.py +180 -0
  549. niwrap_afni/afni/v__suma_make_spec_sf.py +207 -0
  550. niwrap_afni/afni/v__suma_renumber_fs.py +209 -0
  551. niwrap_afni/afni/v__suma_reprefixize_spec.py +221 -0
  552. niwrap_afni/afni/v__surf_smooth_heat_07_examples.py +172 -0
  553. niwrap_afni/afni/v__surf_to_vol_spackle.py +322 -0
  554. niwrap_afni/afni/v__t1scale.py +328 -0
  555. niwrap_afni/afni/v__thickness_master.py +213 -0
  556. niwrap_afni/afni/v__time_diff.py +180 -0
  557. niwrap_afni/afni/v__to_mni_awarp.py +188 -0
  558. niwrap_afni/afni/v__to_mni_qwarpar.py +170 -0
  559. niwrap_afni/afni/v__to_rai.py +170 -0
  560. niwrap_afni/afni/v__update_afni_binaries.py +410 -0
  561. niwrap_afni/afni/v__vol_center.py +188 -0
  562. niwrap_afni/afni/v__xyz_to_ijk.py +221 -0
  563. niwrap_afni/afni/vecwarp.py +265 -0
  564. niwrap_afni/afni/waver.py +458 -0
  565. niwrap_afni/afni/whirlgif.py +254 -0
  566. niwrap_afni/afni/xmat_tool_py.py +381 -0
  567. niwrap_afni-0.5.0.dist-info/METADATA +8 -0
  568. niwrap_afni-0.5.0.dist-info/RECORD +569 -0
  569. niwrap_afni-0.5.0.dist-info/WHEEL +4 -0
@@ -0,0 +1,403 @@
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
+ V_3D_UNIFIZE_METADATA = Metadata(
9
+ id="f384aca7310e07ceca93f58ec17ea0b68b11373d.boutiques",
10
+ name="3dUnifize",
11
+ package="afni",
12
+ container_image_tag="afni/afni_make_build:AFNI_24.2.06",
13
+ )
14
+
15
+
16
+ V3dUnifizeParameters = typing.TypedDict('V3dUnifizeParameters', {
17
+ "__STYX_TYPE__": typing.Literal["3dUnifize"],
18
+ "cl_frac": typing.NotRequired[float | None],
19
+ "epi": bool,
20
+ "gm": bool,
21
+ "no_duplo": bool,
22
+ "num_threads": typing.NotRequired[int | None],
23
+ "outputtype": typing.NotRequired[typing.Literal["NIFTI", "AFNI", "NIFTI_GZ"] | None],
24
+ "quiet": bool,
25
+ "rbt": typing.NotRequired[list[float] | None],
26
+ "prefix": typing.NotRequired[str | None],
27
+ "scale_file": typing.NotRequired[InputPathType | None],
28
+ "t2": bool,
29
+ "t2_up": typing.NotRequired[float | None],
30
+ "urad": typing.NotRequired[float | None],
31
+ "in_file": InputPathType,
32
+ })
33
+
34
+
35
+ def dyn_cargs(
36
+ t: str,
37
+ ) -> typing.Any:
38
+ """
39
+ Get build cargs function by command type.
40
+
41
+ Args:
42
+ t: Command type.
43
+ Returns:
44
+ Build cargs function.
45
+ """
46
+ return {
47
+ "3dUnifize": v_3d_unifize_cargs,
48
+ }.get(t)
49
+
50
+
51
+ def dyn_outputs(
52
+ t: str,
53
+ ) -> typing.Any:
54
+ """
55
+ Get build outputs function by command type.
56
+
57
+ Args:
58
+ t: Command type.
59
+ Returns:
60
+ Build outputs function.
61
+ """
62
+ return {
63
+ "3dUnifize": v_3d_unifize_outputs,
64
+ }.get(t)
65
+
66
+
67
+ class V3dUnifizeOutputs(typing.NamedTuple):
68
+ """
69
+ Output object returned when calling `v_3d_unifize(...)`.
70
+ """
71
+ root: OutputPathType
72
+ """Output root folder. This is the root folder for all outputs."""
73
+ out_file: OutputPathType | None
74
+ """Output image file name."""
75
+ scale_file_outfile: OutputPathType | None
76
+ """Scale factor file."""
77
+
78
+
79
+ def v_3d_unifize_params(
80
+ in_file: InputPathType,
81
+ cl_frac: float | None = None,
82
+ epi: bool = False,
83
+ gm: bool = False,
84
+ no_duplo: bool = False,
85
+ num_threads: int | None = None,
86
+ outputtype: typing.Literal["NIFTI", "AFNI", "NIFTI_GZ"] | None = None,
87
+ quiet: bool = False,
88
+ rbt: list[float] | None = None,
89
+ prefix: str | None = None,
90
+ scale_file: InputPathType | None = None,
91
+ t2: bool = False,
92
+ t2_up: float | None = None,
93
+ urad: float | None = None,
94
+ ) -> V3dUnifizeParameters:
95
+ """
96
+ Build parameters.
97
+
98
+ Args:
99
+ in_file: Input file to 3dunifize.
100
+ cl_frac: Option for afni experts only.set the automask 'clip level\
101
+ fraction'. must be between 0.1 and 0.9. a small fraction means to make\
102
+ the initial threshold for clipping (a la 3dcliplevel) smaller, which\
103
+ will tend to make the mask larger. [default=0.1].
104
+ epi: Assume the input dataset is a t2 (or t2\\*) weighted epi time\
105
+ series. after computing the scaling, apply it to all volumes (trs) in\
106
+ the input dataset. that is, a given voxel will be scaled by the same\
107
+ factor at each tr. this option also implies '-noduplo' and '-t2'.this\
108
+ option turns off '-gm' if you turned it on.
109
+ gm: Also scale to unifize 'gray matter' = lower intensity voxels (to\
110
+ aid in registering images from different scanners).
111
+ no_duplo: Do not use the 'duplo down' step; this can be useful for\
112
+ lower resolution datasets.
113
+ num_threads: Set number of threads.
114
+ outputtype: 'nifti' or 'afni' or 'nifti_gz'. Afni output filetype.
115
+ quiet: Don't print the progress messages.
116
+ rbt: (a float, a float, a float). Option for afni experts only.specify\
117
+ the 3 parameters for the algorithm:r = radius; same as given by option\
118
+ '-urad', [default=18.3]b = bottom percentile of normalizing data range,\
119
+ [default=70.0]r = top percentile of normalizing data range,\
120
+ [default=80.0].
121
+ prefix: Output image file name.
122
+ scale_file: Output file name to save the scale factor used at each\
123
+ voxel .
124
+ t2: Treat the input as if it were t2-weighted, rather than t1-weighted.\
125
+ this processing is done simply by inverting the image contrast,\
126
+ processing it as if that result were t1-weighted, and then re-inverting\
127
+ the results counts of voxel overlap, i.e., each voxel will contain the\
128
+ number of masks that it is set in.
129
+ t2_up: Option for afni experts only.set the upper percentile point used\
130
+ for t2-t1 inversion. allowed to be anything between 90 and 100\
131
+ (inclusive), with default to 98.5 (for no good reason).
132
+ urad: Sets the radius (in voxels) of the ball used for the sneaky\
133
+ trick. default value is 18.3, and should be changed proportionally if\
134
+ the dataset voxel size differs significantly from 1 mm.
135
+ Returns:
136
+ Parameter dictionary
137
+ """
138
+ params = {
139
+ "__STYXTYPE__": "3dUnifize",
140
+ "epi": epi,
141
+ "gm": gm,
142
+ "no_duplo": no_duplo,
143
+ "quiet": quiet,
144
+ "t2": t2,
145
+ "in_file": in_file,
146
+ }
147
+ if cl_frac is not None:
148
+ params["cl_frac"] = cl_frac
149
+ if num_threads is not None:
150
+ params["num_threads"] = num_threads
151
+ if outputtype is not None:
152
+ params["outputtype"] = outputtype
153
+ if rbt is not None:
154
+ params["rbt"] = rbt
155
+ if prefix is not None:
156
+ params["prefix"] = prefix
157
+ if scale_file is not None:
158
+ params["scale_file"] = scale_file
159
+ if t2_up is not None:
160
+ params["t2_up"] = t2_up
161
+ if urad is not None:
162
+ params["urad"] = urad
163
+ return params
164
+
165
+
166
+ def v_3d_unifize_cargs(
167
+ params: V3dUnifizeParameters,
168
+ execution: Execution,
169
+ ) -> list[str]:
170
+ """
171
+ Build command-line arguments from parameters.
172
+
173
+ Args:
174
+ params: The parameters.
175
+ execution: The execution object for resolving input paths.
176
+ Returns:
177
+ Command-line arguments.
178
+ """
179
+ cargs = []
180
+ cargs.append("3dUnifize")
181
+ if params.get("cl_frac") is not None:
182
+ cargs.extend([
183
+ "-clfrac",
184
+ str(params.get("cl_frac"))
185
+ ])
186
+ if params.get("epi"):
187
+ cargs.append("-EPI")
188
+ if params.get("gm"):
189
+ cargs.append("-GM")
190
+ if params.get("no_duplo"):
191
+ cargs.append("-noduplo")
192
+ if params.get("num_threads") is not None:
193
+ cargs.append(str(params.get("num_threads")))
194
+ if params.get("outputtype") is not None:
195
+ cargs.append(params.get("outputtype"))
196
+ if params.get("quiet"):
197
+ cargs.append("-quiet")
198
+ if params.get("rbt") is not None:
199
+ cargs.extend([
200
+ "-rbt",
201
+ *map(str, params.get("rbt"))
202
+ ])
203
+ if params.get("prefix") is not None:
204
+ cargs.extend([
205
+ "-prefix",
206
+ params.get("prefix")
207
+ ])
208
+ if params.get("scale_file") is not None:
209
+ cargs.extend([
210
+ "-ssave",
211
+ execution.input_file(params.get("scale_file"))
212
+ ])
213
+ if params.get("t2"):
214
+ cargs.append("-T2")
215
+ if params.get("t2_up") is not None:
216
+ cargs.extend([
217
+ "-T2up",
218
+ str(params.get("t2_up"))
219
+ ])
220
+ if params.get("urad") is not None:
221
+ cargs.extend([
222
+ "-Urad",
223
+ str(params.get("urad"))
224
+ ])
225
+ cargs.extend([
226
+ "-input",
227
+ execution.input_file(params.get("in_file"))
228
+ ])
229
+ return cargs
230
+
231
+
232
+ def v_3d_unifize_outputs(
233
+ params: V3dUnifizeParameters,
234
+ execution: Execution,
235
+ ) -> V3dUnifizeOutputs:
236
+ """
237
+ Build outputs object containing output file paths and possibly stdout/stderr.
238
+
239
+ Args:
240
+ params: The parameters.
241
+ execution: The execution object for resolving input paths.
242
+ Returns:
243
+ Outputs object.
244
+ """
245
+ ret = V3dUnifizeOutputs(
246
+ root=execution.output_file("."),
247
+ out_file=execution.output_file(params.get("prefix")) if (params.get("prefix") is not None) else None,
248
+ scale_file_outfile=execution.output_file(pathlib.Path(params.get("scale_file")).name) if (params.get("scale_file") is not None) else None,
249
+ )
250
+ return ret
251
+
252
+
253
+ def v_3d_unifize_execute(
254
+ params: V3dUnifizeParameters,
255
+ execution: Execution,
256
+ ) -> V3dUnifizeOutputs:
257
+ """
258
+ 3dUnifize - for uniformizing image intensity
259
+ * The input dataset is supposed to be a T1-weighted volume, possibly already
260
+ skull-stripped (e.g., via 3dSkullStrip). However, this program can be a
261
+ useful step to take BEFORE 3dSkullStrip, since the latter program can fail
262
+ if the input volume is strongly shaded -- 3dUnifize will (mostly) remove
263
+ such shading artifacts.
264
+ * The output dataset has the white matter (WM) intensity approximately
265
+ uniformized across space, and scaled to peak at about 1000.
266
+ * The output dataset is always stored in float format!
267
+ * If the input dataset has more than 1 sub-brick, only sub-brick #0 will be
268
+ processed!
269
+ * Want to correct EPI datasets for nonuniformity? You can try the new and
270
+ experimental [Mar 2017] '-EPI' option.
271
+ * The principal motive for this program is for use in an image registration
272
+ script, and it may or may not be useful otherwise.
273
+ * This program replaces the older (and very different) 3dUniformize, which
274
+ is no longer maintained and may sublimate at any moment. (In other words, we
275
+ do not recommend the use of 3dUniformize.).
276
+
277
+ Author: AFNI Developers
278
+
279
+ URL: https://afni.nimh.nih.gov/
280
+
281
+ Args:
282
+ params: The parameters.
283
+ execution: The execution object.
284
+ Returns:
285
+ NamedTuple of outputs (described in `V3dUnifizeOutputs`).
286
+ """
287
+ params = execution.params(params)
288
+ cargs = v_3d_unifize_cargs(params, execution)
289
+ ret = v_3d_unifize_outputs(params, execution)
290
+ execution.run(cargs)
291
+ return ret
292
+
293
+
294
+ def v_3d_unifize(
295
+ in_file: InputPathType,
296
+ cl_frac: float | None = None,
297
+ epi: bool = False,
298
+ gm: bool = False,
299
+ no_duplo: bool = False,
300
+ num_threads: int | None = None,
301
+ outputtype: typing.Literal["NIFTI", "AFNI", "NIFTI_GZ"] | None = None,
302
+ quiet: bool = False,
303
+ rbt: list[float] | None = None,
304
+ prefix: str | None = None,
305
+ scale_file: InputPathType | None = None,
306
+ t2: bool = False,
307
+ t2_up: float | None = None,
308
+ urad: float | None = None,
309
+ runner: Runner | None = None,
310
+ ) -> V3dUnifizeOutputs:
311
+ """
312
+ 3dUnifize - for uniformizing image intensity
313
+ * The input dataset is supposed to be a T1-weighted volume, possibly already
314
+ skull-stripped (e.g., via 3dSkullStrip). However, this program can be a
315
+ useful step to take BEFORE 3dSkullStrip, since the latter program can fail
316
+ if the input volume is strongly shaded -- 3dUnifize will (mostly) remove
317
+ such shading artifacts.
318
+ * The output dataset has the white matter (WM) intensity approximately
319
+ uniformized across space, and scaled to peak at about 1000.
320
+ * The output dataset is always stored in float format!
321
+ * If the input dataset has more than 1 sub-brick, only sub-brick #0 will be
322
+ processed!
323
+ * Want to correct EPI datasets for nonuniformity? You can try the new and
324
+ experimental [Mar 2017] '-EPI' option.
325
+ * The principal motive for this program is for use in an image registration
326
+ script, and it may or may not be useful otherwise.
327
+ * This program replaces the older (and very different) 3dUniformize, which
328
+ is no longer maintained and may sublimate at any moment. (In other words, we
329
+ do not recommend the use of 3dUniformize.).
330
+
331
+ Author: AFNI Developers
332
+
333
+ URL: https://afni.nimh.nih.gov/
334
+
335
+ Args:
336
+ in_file: Input file to 3dunifize.
337
+ cl_frac: Option for afni experts only.set the automask 'clip level\
338
+ fraction'. must be between 0.1 and 0.9. a small fraction means to make\
339
+ the initial threshold for clipping (a la 3dcliplevel) smaller, which\
340
+ will tend to make the mask larger. [default=0.1].
341
+ epi: Assume the input dataset is a t2 (or t2\\*) weighted epi time\
342
+ series. after computing the scaling, apply it to all volumes (trs) in\
343
+ the input dataset. that is, a given voxel will be scaled by the same\
344
+ factor at each tr. this option also implies '-noduplo' and '-t2'.this\
345
+ option turns off '-gm' if you turned it on.
346
+ gm: Also scale to unifize 'gray matter' = lower intensity voxels (to\
347
+ aid in registering images from different scanners).
348
+ no_duplo: Do not use the 'duplo down' step; this can be useful for\
349
+ lower resolution datasets.
350
+ num_threads: Set number of threads.
351
+ outputtype: 'nifti' or 'afni' or 'nifti_gz'. Afni output filetype.
352
+ quiet: Don't print the progress messages.
353
+ rbt: (a float, a float, a float). Option for afni experts only.specify\
354
+ the 3 parameters for the algorithm:r = radius; same as given by option\
355
+ '-urad', [default=18.3]b = bottom percentile of normalizing data range,\
356
+ [default=70.0]r = top percentile of normalizing data range,\
357
+ [default=80.0].
358
+ prefix: Output image file name.
359
+ scale_file: Output file name to save the scale factor used at each\
360
+ voxel .
361
+ t2: Treat the input as if it were t2-weighted, rather than t1-weighted.\
362
+ this processing is done simply by inverting the image contrast,\
363
+ processing it as if that result were t1-weighted, and then re-inverting\
364
+ the results counts of voxel overlap, i.e., each voxel will contain the\
365
+ number of masks that it is set in.
366
+ t2_up: Option for afni experts only.set the upper percentile point used\
367
+ for t2-t1 inversion. allowed to be anything between 90 and 100\
368
+ (inclusive), with default to 98.5 (for no good reason).
369
+ urad: Sets the radius (in voxels) of the ball used for the sneaky\
370
+ trick. default value is 18.3, and should be changed proportionally if\
371
+ the dataset voxel size differs significantly from 1 mm.
372
+ runner: Command runner.
373
+ Returns:
374
+ NamedTuple of outputs (described in `V3dUnifizeOutputs`).
375
+ """
376
+ runner = runner or get_global_runner()
377
+ execution = runner.start_execution(V_3D_UNIFIZE_METADATA)
378
+ params = v_3d_unifize_params(
379
+ cl_frac=cl_frac,
380
+ epi=epi,
381
+ gm=gm,
382
+ no_duplo=no_duplo,
383
+ num_threads=num_threads,
384
+ outputtype=outputtype,
385
+ quiet=quiet,
386
+ rbt=rbt,
387
+ prefix=prefix,
388
+ scale_file=scale_file,
389
+ t2=t2,
390
+ t2_up=t2_up,
391
+ urad=urad,
392
+ in_file=in_file,
393
+ )
394
+ return v_3d_unifize_execute(params, execution)
395
+
396
+
397
+ __all__ = [
398
+ "V3dUnifizeOutputs",
399
+ "V3dUnifizeParameters",
400
+ "V_3D_UNIFIZE_METADATA",
401
+ "v_3d_unifize",
402
+ "v_3d_unifize_params",
403
+ ]
@@ -0,0 +1,245 @@
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
+ V_3D_UPSAMPLE_METADATA = Metadata(
9
+ id="e4750d1cff9a9b319ed4f1652bde0087af37e6dc.boutiques",
10
+ name="3dUpsample",
11
+ package="afni",
12
+ container_image_tag="afni/afni_make_build:AFNI_24.2.06",
13
+ )
14
+
15
+
16
+ V3dUpsampleParameters = typing.TypedDict('V3dUpsampleParameters', {
17
+ "__STYX_TYPE__": typing.Literal["3dUpsample"],
18
+ "upsample_factor": int,
19
+ "input_dataset": str,
20
+ "linear_interpolation": bool,
21
+ "output_prefix": typing.NotRequired[str | None],
22
+ "verbose_flag": bool,
23
+ "datatype": typing.NotRequired[str | None],
24
+ })
25
+
26
+
27
+ def dyn_cargs(
28
+ t: str,
29
+ ) -> typing.Any:
30
+ """
31
+ Get build cargs function by command type.
32
+
33
+ Args:
34
+ t: Command type.
35
+ Returns:
36
+ Build cargs function.
37
+ """
38
+ return {
39
+ "3dUpsample": v_3d_upsample_cargs,
40
+ }.get(t)
41
+
42
+
43
+ def dyn_outputs(
44
+ t: str,
45
+ ) -> typing.Any:
46
+ """
47
+ Get build outputs function by command type.
48
+
49
+ Args:
50
+ t: Command type.
51
+ Returns:
52
+ Build outputs function.
53
+ """
54
+ return {
55
+ "3dUpsample": v_3d_upsample_outputs,
56
+ }.get(t)
57
+
58
+
59
+ class V3dUpsampleOutputs(typing.NamedTuple):
60
+ """
61
+ Output object returned when calling `v_3d_upsample(...)`.
62
+ """
63
+ root: OutputPathType
64
+ """Output root folder. This is the root folder for all outputs."""
65
+ output_brik: OutputPathType | None
66
+ """Upsampled dataset in BRIK format."""
67
+ output_head: OutputPathType | None
68
+ """Header information for the upsampled dataset."""
69
+
70
+
71
+ def v_3d_upsample_params(
72
+ upsample_factor: int,
73
+ input_dataset: str,
74
+ linear_interpolation: bool = False,
75
+ output_prefix: str | None = None,
76
+ verbose_flag: bool = False,
77
+ datatype: str | None = None,
78
+ ) -> V3dUpsampleParameters:
79
+ """
80
+ Build parameters.
81
+
82
+ Args:
83
+ upsample_factor: Upsampling factor; must be between 2 and 320\
84
+ (inclusive).
85
+ input_dataset: Input dataset.
86
+ linear_interpolation: Use linear interpolation instead of 7th order\
87
+ polynomial interpolation.
88
+ output_prefix: Define the prefix name of the output dataset; default is\
89
+ 'Upsam'.
90
+ verbose_flag: Print verbose output.
91
+ datatype: Specify the datatype for the output dataset (float, short,\
92
+ byte); default is float.
93
+ Returns:
94
+ Parameter dictionary
95
+ """
96
+ params = {
97
+ "__STYXTYPE__": "3dUpsample",
98
+ "upsample_factor": upsample_factor,
99
+ "input_dataset": input_dataset,
100
+ "linear_interpolation": linear_interpolation,
101
+ "verbose_flag": verbose_flag,
102
+ }
103
+ if output_prefix is not None:
104
+ params["output_prefix"] = output_prefix
105
+ if datatype is not None:
106
+ params["datatype"] = datatype
107
+ return params
108
+
109
+
110
+ def v_3d_upsample_cargs(
111
+ params: V3dUpsampleParameters,
112
+ execution: Execution,
113
+ ) -> list[str]:
114
+ """
115
+ Build command-line arguments from parameters.
116
+
117
+ Args:
118
+ params: The parameters.
119
+ execution: The execution object for resolving input paths.
120
+ Returns:
121
+ Command-line arguments.
122
+ """
123
+ cargs = []
124
+ cargs.append("3dUpsample")
125
+ cargs.extend([
126
+ "-n",
127
+ str(params.get("upsample_factor"))
128
+ ])
129
+ cargs.extend([
130
+ "-input",
131
+ params.get("input_dataset")
132
+ ])
133
+ if params.get("linear_interpolation"):
134
+ cargs.append("-1")
135
+ if params.get("output_prefix") is not None:
136
+ cargs.extend([
137
+ "-prefix",
138
+ params.get("output_prefix")
139
+ ])
140
+ if params.get("verbose_flag"):
141
+ cargs.append("-verb")
142
+ if params.get("datatype") is not None:
143
+ cargs.extend([
144
+ "-datum",
145
+ params.get("datatype")
146
+ ])
147
+ return cargs
148
+
149
+
150
+ def v_3d_upsample_outputs(
151
+ params: V3dUpsampleParameters,
152
+ execution: Execution,
153
+ ) -> V3dUpsampleOutputs:
154
+ """
155
+ Build outputs object containing output file paths and possibly stdout/stderr.
156
+
157
+ Args:
158
+ params: The parameters.
159
+ execution: The execution object for resolving input paths.
160
+ Returns:
161
+ Outputs object.
162
+ """
163
+ ret = V3dUpsampleOutputs(
164
+ root=execution.output_file("."),
165
+ output_brik=execution.output_file(params.get("output_prefix") + "+orig.BRIK") if (params.get("output_prefix") is not None) else None,
166
+ output_head=execution.output_file(params.get("output_prefix") + "+orig.HEAD") if (params.get("output_prefix") is not None) else None,
167
+ )
168
+ return ret
169
+
170
+
171
+ def v_3d_upsample_execute(
172
+ params: V3dUpsampleParameters,
173
+ execution: Execution,
174
+ ) -> V3dUpsampleOutputs:
175
+ """
176
+ Upsamples a 3D+time dataset in the time direction by a specified factor.
177
+
178
+ Author: AFNI Developers
179
+
180
+ URL: https://afni.nimh.nih.gov/
181
+
182
+ Args:
183
+ params: The parameters.
184
+ execution: The execution object.
185
+ Returns:
186
+ NamedTuple of outputs (described in `V3dUpsampleOutputs`).
187
+ """
188
+ params = execution.params(params)
189
+ cargs = v_3d_upsample_cargs(params, execution)
190
+ ret = v_3d_upsample_outputs(params, execution)
191
+ execution.run(cargs)
192
+ return ret
193
+
194
+
195
+ def v_3d_upsample(
196
+ upsample_factor: int,
197
+ input_dataset: str,
198
+ linear_interpolation: bool = False,
199
+ output_prefix: str | None = None,
200
+ verbose_flag: bool = False,
201
+ datatype: str | None = None,
202
+ runner: Runner | None = None,
203
+ ) -> V3dUpsampleOutputs:
204
+ """
205
+ Upsamples a 3D+time dataset in the time direction by a specified factor.
206
+
207
+ Author: AFNI Developers
208
+
209
+ URL: https://afni.nimh.nih.gov/
210
+
211
+ Args:
212
+ upsample_factor: Upsampling factor; must be between 2 and 320\
213
+ (inclusive).
214
+ input_dataset: Input dataset.
215
+ linear_interpolation: Use linear interpolation instead of 7th order\
216
+ polynomial interpolation.
217
+ output_prefix: Define the prefix name of the output dataset; default is\
218
+ 'Upsam'.
219
+ verbose_flag: Print verbose output.
220
+ datatype: Specify the datatype for the output dataset (float, short,\
221
+ byte); default is float.
222
+ runner: Command runner.
223
+ Returns:
224
+ NamedTuple of outputs (described in `V3dUpsampleOutputs`).
225
+ """
226
+ runner = runner or get_global_runner()
227
+ execution = runner.start_execution(V_3D_UPSAMPLE_METADATA)
228
+ params = v_3d_upsample_params(
229
+ upsample_factor=upsample_factor,
230
+ input_dataset=input_dataset,
231
+ linear_interpolation=linear_interpolation,
232
+ output_prefix=output_prefix,
233
+ verbose_flag=verbose_flag,
234
+ datatype=datatype,
235
+ )
236
+ return v_3d_upsample_execute(params, execution)
237
+
238
+
239
+ __all__ = [
240
+ "V3dUpsampleOutputs",
241
+ "V3dUpsampleParameters",
242
+ "V_3D_UPSAMPLE_METADATA",
243
+ "v_3d_upsample",
244
+ "v_3d_upsample_params",
245
+ ]