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.
- niwrap_afni/afni/__init__.py +582 -0
- niwrap_afni/afni/abids_json_info_py.py +247 -0
- niwrap_afni/afni/abids_json_tool_py.py +212 -0
- niwrap_afni/afni/abids_tool.py +191 -0
- niwrap_afni/afni/adjunct_apqc_tsnr_general.py +447 -0
- niwrap_afni/afni/adjunct_aw_tableize_roi_info_py.py +224 -0
- niwrap_afni/afni/adjunct_calc_mont_dims_py.py +173 -0
- niwrap_afni/afni/adjunct_combine_str_py.py +198 -0
- niwrap_afni/afni/adjunct_is_label_py.py +180 -0
- niwrap_afni/afni/adjunct_make_script_and_rst_py.py +237 -0
- niwrap_afni/afni/adjunct_select_str_py.py +188 -0
- niwrap_afni/afni/adjunct_simplify_cost.py +172 -0
- niwrap_afni/afni/adjunct_suma_fs_mask_and_qc.py +249 -0
- niwrap_afni/afni/adjunct_suma_fs_roi_info.py +228 -0
- niwrap_afni/afni/adjunct_tort_plot_dp_align.py +248 -0
- niwrap_afni/afni/adwarp.py +296 -0
- niwrap_afni/afni/afni.py +428 -0
- niwrap_afni/afni/afni_batch_r.py +215 -0
- niwrap_afni/afni/afni_check_omp.py +174 -0
- niwrap_afni/afni/afni_history.py +413 -0
- niwrap_afni/afni/afni_open.py +304 -0
- niwrap_afni/afni/afni_proc_py.py +283 -0
- niwrap_afni/afni/afni_run_r.py +180 -0
- niwrap_afni/afni/afni_system_check_py.py +274 -0
- niwrap_afni/afni/aiv.py +231 -0
- niwrap_afni/afni/align_epi_anat.py +356 -0
- niwrap_afni/afni/analyze_trace.py +292 -0
- niwrap_afni/afni/ap_run_simple_rest.py +293 -0
- niwrap_afni/afni/apqc_make_html.py +175 -0
- niwrap_afni/afni/apqc_make_tcsh_py.py +245 -0
- niwrap_afni/afni/apsearch.py +195 -0
- niwrap_afni/afni/auto_warp_py.py +527 -0
- niwrap_afni/afni/balloon.py +210 -0
- niwrap_afni/afni/bayes_view.py +196 -0
- niwrap_afni/afni/bayesian_group_ana_py.py +342 -0
- niwrap_afni/afni/brain_skin.py +358 -0
- niwrap_afni/afni/build_afni_py.py +330 -0
- niwrap_afni/afni/cat_matvec.py +185 -0
- niwrap_afni/afni/ccalc.py +192 -0
- niwrap_afni/afni/cifti_tool.py +271 -0
- niwrap_afni/afni/cjpeg.py +233 -0
- niwrap_afni/afni/clust_exp_hist_table_py.py +218 -0
- niwrap_afni/afni/clust_exp_stat_parse_py.py +346 -0
- niwrap_afni/afni/column_cat.py +208 -0
- niwrap_afni/afni/compare_surfaces.py +344 -0
- niwrap_afni/afni/convert_cdiflist_to_grads.py +251 -0
- niwrap_afni/afni/convert_dset.py +421 -0
- niwrap_afni/afni/convert_surface.py +247 -0
- niwrap_afni/afni/convex_hull.py +386 -0
- niwrap_afni/afni/count.py +327 -0
- niwrap_afni/afni/create_icosahedron.py +282 -0
- niwrap_afni/afni/dcm2niix_afni.py +550 -0
- niwrap_afni/afni/dicom_hdr.py +263 -0
- niwrap_afni/afni/dicom_hinfo.py +220 -0
- niwrap_afni/afni/dicom_to_raw.py +176 -0
- niwrap_afni/afni/dimon.py +286 -0
- niwrap_afni/afni/djpeg.py +233 -0
- niwrap_afni/afni/drive_suma.py +520 -0
- niwrap_afni/afni/dsetstat2p.py +218 -0
- niwrap_afni/afni/dtistudio_fiberto_segments.py +198 -0
- niwrap_afni/afni/epi_b0_correct.py +485 -0
- niwrap_afni/afni/examine_xmat.py +280 -0
- niwrap_afni/afni/fat_mat2d_plot_py.py +428 -0
- niwrap_afni/afni/fat_mat_sel_py.py +469 -0
- niwrap_afni/afni/fat_mat_tableize.py +292 -0
- niwrap_afni/afni/fat_mvm_gridconv_py.py +207 -0
- niwrap_afni/afni/fat_mvm_prep.py +256 -0
- niwrap_afni/afni/fat_mvm_scripter_py.py +353 -0
- niwrap_afni/afni/fat_proc_align_anat_pair.py +307 -0
- niwrap_afni/afni/fat_proc_axialize_anat.py +415 -0
- niwrap_afni/afni/fat_proc_connec_vis.py +346 -0
- niwrap_afni/afni/fat_proc_convert_dcm_anat.py +283 -0
- niwrap_afni/afni/fat_proc_convert_dcm_dwis.py +374 -0
- niwrap_afni/afni/fat_proc_decmap.py +321 -0
- niwrap_afni/afni/fat_proc_dwi_to_dt.py +522 -0
- niwrap_afni/afni/fat_proc_filter_dwis.py +321 -0
- niwrap_afni/afni/fat_proc_imit2w_from_t1w.py +283 -0
- niwrap_afni/afni/fat_proc_map_to_dti.py +308 -0
- niwrap_afni/afni/fat_proc_select_vols.py +266 -0
- niwrap_afni/afni/fat_roi_row.py +233 -0
- niwrap_afni/afni/fatcat_matplot.py +181 -0
- niwrap_afni/afni/fdrval.py +241 -0
- niwrap_afni/afni/fftest.py +197 -0
- niwrap_afni/afni/file_tool.py +580 -0
- niwrap_afni/afni/fim2.py +465 -0
- niwrap_afni/afni/find_variance_lines.py +353 -0
- niwrap_afni/afni/firdesign.py +235 -0
- niwrap_afni/afni/float_scan.py +213 -0
- niwrap_afni/afni/from3d.py +292 -0
- niwrap_afni/afni/fsread_annot.py +322 -0
- niwrap_afni/afni/gen_epi_review_py.py +292 -0
- niwrap_afni/afni/gen_group_command.py +324 -0
- niwrap_afni/afni/gen_ss_review_scripts.py +421 -0
- niwrap_afni/afni/gen_ss_review_table_py.py +324 -0
- niwrap_afni/afni/get_afni_model_prf.py +196 -0
- niwrap_afni/afni/get_afni_model_prf_6.py +222 -0
- niwrap_afni/afni/get_afni_model_prf_6_bad.py +212 -0
- niwrap_afni/afni/gifti_tool.py +426 -0
- niwrap_afni/afni/gltsymtest.py +193 -0
- niwrap_afni/afni/help_format.py +176 -0
- niwrap_afni/afni/im2niml.py +178 -0
- niwrap_afni/afni/images_equal.py +195 -0
- niwrap_afni/afni/imand.py +203 -0
- niwrap_afni/afni/imaver.py +201 -0
- niwrap_afni/afni/imcalc.py +235 -0
- niwrap_afni/afni/imcat.py +498 -0
- niwrap_afni/afni/imcutup.py +241 -0
- niwrap_afni/afni/imdump.py +177 -0
- niwrap_afni/afni/immask.py +223 -0
- niwrap_afni/afni/imreg.py +389 -0
- niwrap_afni/afni/imrotate.py +217 -0
- niwrap_afni/afni/imstack.py +209 -0
- niwrap_afni/afni/imstat.py +217 -0
- niwrap_afni/afni/imupsam.py +205 -0
- niwrap_afni/afni/init_user_dotfiles_py.py +353 -0
- niwrap_afni/afni/inspec.py +255 -0
- niwrap_afni/afni/iso_surface.py +344 -0
- niwrap_afni/afni/make_color_map.py +417 -0
- niwrap_afni/afni/make_pq_script_py.py +200 -0
- niwrap_afni/afni/make_random_timing_py.py +471 -0
- niwrap_afni/afni/make_stim_times_py.py +304 -0
- niwrap_afni/afni/map_icosahedron.py +296 -0
- niwrap_afni/afni/map_track_id.py +254 -0
- niwrap_afni/afni/mba.py +360 -0
- niwrap_afni/afni/meica_py.py +259 -0
- niwrap_afni/afni/myget.py +186 -0
- niwrap_afni/afni/neuro_deconvolve_py.py +291 -0
- niwrap_afni/afni/nicat.py +207 -0
- niwrap_afni/afni/niccc.py +307 -0
- niwrap_afni/afni/nifti_tool.py +310 -0
- niwrap_afni/afni/niml_feedme.py +260 -0
- niwrap_afni/afni/nsize.py +184 -0
- niwrap_afni/afni/p2dsetstat.py +216 -0
- niwrap_afni/afni/parse_fs_lt_log_py.py +217 -0
- niwrap_afni/afni/plugout_drive.py +259 -0
- niwrap_afni/afni/plugout_ijk.py +297 -0
- niwrap_afni/afni/plugout_tt.py +326 -0
- niwrap_afni/afni/plugout_tta.py +290 -0
- niwrap_afni/afni/prompt_popup.py +205 -0
- niwrap_afni/afni/prompt_user.py +190 -0
- niwrap_afni/afni/pta.py +279 -0
- niwrap_afni/afni/qdelaunay.py +534 -0
- niwrap_afni/afni/qhull.py +376 -0
- niwrap_afni/afni/quick_alpha_vals_py.py +189 -0
- niwrap_afni/afni/quickspec.py +259 -0
- niwrap_afni/afni/quickspec_sl.py +282 -0
- niwrap_afni/afni/quotize.py +194 -0
- niwrap_afni/afni/r_pkgs_install.py +227 -0
- niwrap_afni/afni/rba.py +508 -0
- niwrap_afni/afni/rbox.py +245 -0
- niwrap_afni/afni/read_matlab_files_py.py +225 -0
- niwrap_afni/afni/realtime_receiver.py +310 -0
- niwrap_afni/afni/retro_ts_py.py +477 -0
- niwrap_afni/afni/rmz.py +203 -0
- niwrap_afni/afni/roi2dataset.py +310 -0
- niwrap_afni/afni/roigrow.py +276 -0
- niwrap_afni/afni/rotcom.py +190 -0
- niwrap_afni/afni/rsfgen.py +330 -0
- niwrap_afni/afni/rtfeedme.py +308 -0
- niwrap_afni/afni/samp_bias.py +245 -0
- niwrap_afni/afni/scale_to_map.py +481 -0
- niwrap_afni/afni/serial_helper.py +298 -0
- niwrap_afni/afni/sfim.py +229 -0
- niwrap_afni/afni/slow_surf_clustsim_py.py +285 -0
- niwrap_afni/afni/spharm_deco.py +284 -0
- niwrap_afni/afni/spharm_reco.py +274 -0
- niwrap_afni/afni/stimband.py +229 -0
- niwrap_afni/afni/strblast.py +239 -0
- niwrap_afni/afni/suma_change_spec.py +225 -0
- niwrap_afni/afni/suma_glxdino.py +175 -0
- niwrap_afni/afni/surf2_vol_coord.py +305 -0
- niwrap_afni/afni/surf_clust.py +611 -0
- niwrap_afni/afni/surf_dist.py +208 -0
- niwrap_afni/afni/surf_dset_info.py +355 -0
- niwrap_afni/afni/surf_extrema.py +279 -0
- niwrap_afni/afni/surf_fwhm.py +350 -0
- niwrap_afni/afni/surf_info.py +288 -0
- niwrap_afni/afni/surf_layers.py +300 -0
- niwrap_afni/afni/surf_localstat.py +242 -0
- niwrap_afni/afni/surf_measures.py +373 -0
- niwrap_afni/afni/surf_mesh.py +256 -0
- niwrap_afni/afni/surf_patch.py +412 -0
- niwrap_afni/afni/surf_qual.py +250 -0
- niwrap_afni/afni/surf_retino_map.py +225 -0
- niwrap_afni/afni/surf_smooth.py +388 -0
- niwrap_afni/afni/surf_to_surf.py +327 -0
- niwrap_afni/afni/surface_metrics.py +377 -0
- niwrap_afni/afni/tedana_wrapper_py.py +306 -0
- niwrap_afni/afni/tfim.py +267 -0
- niwrap_afni/afni/timing_tool_py.py +406 -0
- niwrap_afni/afni/to3d.py +643 -0
- niwrap_afni/afni/tokens.py +192 -0
- niwrap_afni/afni/trr.py +405 -0
- niwrap_afni/afni/uber_align_test_py.py +266 -0
- niwrap_afni/afni/uber_proc_py.py +176 -0
- niwrap_afni/afni/uber_skel.py +277 -0
- niwrap_afni/afni/uber_subject_py.py +707 -0
- niwrap_afni/afni/un_warp_epi_py.py +232 -0
- niwrap_afni/afni/uniq_images.py +180 -0
- niwrap_afni/afni/v_1d_apar2mat.py +262 -0
- niwrap_afni/afni/v_1d_astrip.py +176 -0
- niwrap_afni/afni/v_1d_bandpass.py +238 -0
- niwrap_afni/afni/v_1d_bport.py +277 -0
- niwrap_afni/afni/v_1d_correlate.py +218 -0
- niwrap_afni/afni/v_1d_dw_grad_o_mat__.py +429 -0
- niwrap_afni/afni/v_1d_flag_motion.py +212 -0
- niwrap_afni/afni/v_1d_marry.py +214 -0
- niwrap_afni/afni/v_1d_nlfit.py +254 -0
- niwrap_afni/afni/v_1d_rplot.py +180 -0
- niwrap_afni/afni/v_1d_sem.py +215 -0
- niwrap_afni/afni/v_1d_tool_py.py +319 -0
- niwrap_afni/afni/v_1d_tsort.py +216 -0
- niwrap_afni/afni/v_1d_upsample.py +195 -0
- niwrap_afni/afni/v_1dcat.py +266 -0
- niwrap_afni/afni/v_1ddot.py +249 -0
- niwrap_afni/afni/v_1deval.py +265 -0
- niwrap_afni/afni/v_1dfft.py +269 -0
- niwrap_afni/afni/v_1dgen_arma11.py +319 -0
- niwrap_afni/afni/v_1dgrayplot.py +238 -0
- niwrap_afni/afni/v_1dmatcalc.py +180 -0
- niwrap_afni/afni/v_1dnorm.py +224 -0
- niwrap_afni/afni/v_1dplot.py +831 -0
- niwrap_afni/afni/v_1dplot_py.py +578 -0
- niwrap_afni/afni/v_1dsound.py +292 -0
- niwrap_afni/afni/v_1dsum.py +235 -0
- niwrap_afni/afni/v_1dsvd.py +272 -0
- niwrap_afni/afni/v_1dtranspose.py +188 -0
- niwrap_afni/afni/v_24swap.py +194 -0
- niwrap_afni/afni/v_2d_im_reg.py +312 -0
- niwrap_afni/afni/v_2dcat.py +496 -0
- niwrap_afni/afni/v_2perm.py +233 -0
- niwrap_afni/afni/v_2swap.py +181 -0
- niwrap_afni/afni/v_3_droimaker.py +419 -0
- niwrap_afni/afni/v_3d_aboverlap.py +211 -0
- niwrap_afni/afni/v_3d_acost.py +210 -0
- niwrap_afni/afni/v_3d_afnito3_d.py +177 -0
- niwrap_afni/afni/v_3d_afnito_analyze.py +219 -0
- niwrap_afni/afni/v_3d_afnito_nifti.py +245 -0
- niwrap_afni/afni/v_3d_afnito_niml.py +175 -0
- niwrap_afni/afni/v_3d_afnito_raw.py +202 -0
- niwrap_afni/afni/v_3d_allineate.py +350 -0
- niwrap_afni/afni/v_3d_amp_to_rsfc.py +262 -0
- niwrap_afni/afni/v_3d_anhist.py +260 -0
- niwrap_afni/afni/v_3d_anova.py +359 -0
- niwrap_afni/afni/v_3d_anova2.py +515 -0
- niwrap_afni/afni/v_3d_anova3.py +302 -0
- niwrap_afni/afni/v_3d_attribute.py +248 -0
- niwrap_afni/afni/v_3d_auto_tcorrelate.py +314 -0
- niwrap_afni/afni/v_3d_autobox.py +335 -0
- niwrap_afni/afni/v_3d_automask.py +258 -0
- niwrap_afni/afni/v_3d_ball_match.py +229 -0
- niwrap_afni/afni/v_3d_bandpass.py +381 -0
- niwrap_afni/afni/v_3d_blur_in_mask.py +291 -0
- niwrap_afni/afni/v_3d_blur_to_fwhm.py +267 -0
- niwrap_afni/afni/v_3d_brain_sync.py +267 -0
- niwrap_afni/afni/v_3d_brain_voyagerto_afni.py +313 -0
- niwrap_afni/afni/v_3d_brick_stat.py +463 -0
- niwrap_afni/afni/v_3d_clip_level.py +175 -0
- niwrap_afni/afni/v_3d_clust_count.py +229 -0
- niwrap_afni/afni/v_3d_clust_sim.py +196 -0
- niwrap_afni/afni/v_3d_clusterize.py +448 -0
- niwrap_afni/afni/v_3d_cm.py +177 -0
- niwrap_afni/afni/v_3d_compare_affine.py +215 -0
- niwrap_afni/afni/v_3d_conformist.py +176 -0
- niwrap_afni/afni/v_3d_convolve.py +197 -0
- niwrap_afni/afni/v_3d_cruiseto_afni.py +264 -0
- niwrap_afni/afni/v_3d_deconvolve.py +371 -0
- niwrap_afni/afni/v_3d_degree_centrality.py +270 -0
- niwrap_afni/afni/v_3d_depth_map.py +317 -0
- niwrap_afni/afni/v_3d_despike.py +191 -0
- niwrap_afni/afni/v_3d_detrend.py +191 -0
- niwrap_afni/afni/v_3d_dft.py +245 -0
- niwrap_afni/afni/v_3d_diff.py +254 -0
- niwrap_afni/afni/v_3d_dteig.py +236 -0
- niwrap_afni/afni/v_3d_dtto_dwi.py +199 -0
- niwrap_afni/afni/v_3d_dtto_noisy_dwi.py +275 -0
- niwrap_afni/afni/v_3d_dwito_dt.py +191 -0
- niwrap_afni/afni/v_3d_dwuncert.py +283 -0
- niwrap_afni/afni/v_3d_ecm.py +363 -0
- niwrap_afni/afni/v_3d_edu_01_scale.py +216 -0
- niwrap_afni/afni/v_3d_eigs_to_dt.py +271 -0
- niwrap_afni/afni/v_3d_empty.py +224 -0
- niwrap_afni/afni/v_3d_entropy.py +181 -0
- niwrap_afni/afni/v_3d_errts_cormat.py +243 -0
- niwrap_afni/afni/v_3d_exchange.py +226 -0
- niwrap_afni/afni/v_3d_extract_group_in_corr.py +195 -0
- niwrap_afni/afni/v_3d_extrema.py +384 -0
- niwrap_afni/afni/v_3d_fdr.py +325 -0
- niwrap_afni/afni/v_3d_fft.py +307 -0
- niwrap_afni/afni/v_3d_friedman.py +226 -0
- niwrap_afni/afni/v_3d_fwhmx.py +321 -0
- niwrap_afni/afni/v_3d_gen_feature_dist.py +262 -0
- niwrap_afni/afni/v_3d_gen_priors.py +487 -0
- niwrap_afni/afni/v_3d_getrow.py +243 -0
- niwrap_afni/afni/v_3d_grayplot.py +343 -0
- niwrap_afni/afni/v_3d_group_in_corr.py +484 -0
- niwrap_afni/afni/v_3d_hist.py +406 -0
- niwrap_afni/afni/v_3d_icc.py +228 -0
- niwrap_afni/afni/v_3d_intracranial.py +275 -0
- niwrap_afni/afni/v_3d_inv_fmri.py +317 -0
- niwrap_afni/afni/v_3d_isc.py +298 -0
- niwrap_afni/afni/v_3d_kruskal_wallis.py +231 -0
- niwrap_afni/afni/v_3d_lfcd.py +249 -0
- niwrap_afni/afni/v_3d_lme.py +524 -0
- niwrap_afni/afni/v_3d_lmer.py +425 -0
- niwrap_afni/afni/v_3d_local_acf.py +224 -0
- niwrap_afni/afni/v_3d_local_bistat.py +325 -0
- niwrap_afni/afni/v_3d_local_histog.py +268 -0
- niwrap_afni/afni/v_3d_local_pv.py +318 -0
- niwrap_afni/afni/v_3d_local_svd.py +258 -0
- niwrap_afni/afni/v_3d_local_unifize.py +286 -0
- niwrap_afni/afni/v_3d_localstat.py +427 -0
- niwrap_afni/afni/v_3d_lomb_scargle.py +307 -0
- niwrap_afni/afni/v_3d_lrflip.py +202 -0
- niwrap_afni/afni/v_3d_lss.py +175 -0
- niwrap_afni/afni/v_3d_mann_whitney.py +234 -0
- niwrap_afni/afni/v_3d_mask_to_ascii.py +189 -0
- niwrap_afni/afni/v_3d_match.py +300 -0
- niwrap_afni/afni/v_3d_mean.py +364 -0
- niwrap_afni/afni/v_3d_median_filter.py +238 -0
- niwrap_afni/afni/v_3d_mema.py +171 -0
- niwrap_afni/afni/v_3d_mepfm.py +256 -0
- niwrap_afni/afni/v_3d_mse.py +283 -0
- niwrap_afni/afni/v_3d_mss.py +397 -0
- niwrap_afni/afni/v_3d_multi_thresh.py +306 -0
- niwrap_afni/afni/v_3d_mvm.py +359 -0
- niwrap_afni/afni/v_3d_mvm_validator.py +191 -0
- niwrap_afni/afni/v_3d_net_corr.py +398 -0
- niwrap_afni/afni/v_3d_nlfim.py +241 -0
- niwrap_afni/afni/v_3d_normality_test.py +209 -0
- niwrap_afni/afni/v_3d_notes.py +246 -0
- niwrap_afni/afni/v_3d_nwarp_adjust.py +218 -0
- niwrap_afni/afni/v_3d_nwarp_apply.py +349 -0
- niwrap_afni/afni/v_3d_nwarp_cat.py +277 -0
- niwrap_afni/afni/v_3d_nwarp_funcs.py +232 -0
- niwrap_afni/afni/v_3d_nwarp_xyz.py +193 -0
- niwrap_afni/afni/v_3d_overlap.py +188 -0
- niwrap_afni/afni/v_3d_par2_afni.py +244 -0
- niwrap_afni/afni/v_3d_periodogram.py +220 -0
- niwrap_afni/afni/v_3d_pfm.py +248 -0
- niwrap_afni/afni/v_3d_polyfit.py +357 -0
- niwrap_afni/afni/v_3d_pval.py +232 -0
- niwrap_afni/afni/v_3d_pvmap.py +221 -0
- niwrap_afni/afni/v_3d_qwarp.py +359 -0
- niwrap_afni/afni/v_3d_rank.py +222 -0
- niwrap_afni/afni/v_3d_rankizer.py +241 -0
- niwrap_afni/afni/v_3d_re_ho.py +376 -0
- niwrap_afni/afni/v_3d_reg_ana.py +377 -0
- niwrap_afni/afni/v_3d_remlfit.py +322 -0
- niwrap_afni/afni/v_3d_retino_phase.py +379 -0
- niwrap_afni/afni/v_3d_roistats.py +379 -0
- niwrap_afni/afni/v_3d_row_fillin.py +231 -0
- niwrap_afni/afni/v_3d_rprog_demo.py +282 -0
- niwrap_afni/afni/v_3d_rsfc.py +198 -0
- niwrap_afni/afni/v_3d_seg.py +437 -0
- niwrap_afni/afni/v_3d_setup_group_in_corr.py +273 -0
- niwrap_afni/afni/v_3d_sharpen.py +206 -0
- niwrap_afni/afni/v_3d_signatures.py +230 -0
- niwrap_afni/afni/v_3d_skull_strip.py +204 -0
- niwrap_afni/afni/v_3d_slice_ndice.py +235 -0
- niwrap_afni/afni/v_3d_space_time_corr.py +265 -0
- niwrap_afni/afni/v_3d_spat_norm.py +265 -0
- niwrap_afni/afni/v_3d_stat_clust.py +257 -0
- niwrap_afni/afni/v_3d_surf2_vol.py +469 -0
- niwrap_afni/afni/v_3d_surf_mask.py +262 -0
- niwrap_afni/afni/v_3d_synthesize.py +251 -0
- niwrap_afni/afni/v_3d_tagalign.py +342 -0
- niwrap_afni/afni/v_3d_tcat.py +223 -0
- niwrap_afni/afni/v_3d_tcorr1_d.py +243 -0
- niwrap_afni/afni/v_3d_tcorr_map.py +396 -0
- niwrap_afni/afni/v_3d_tcorrelate.py +368 -0
- niwrap_afni/afni/v_3d_tfilter.py +203 -0
- niwrap_afni/afni/v_3d_tfitter.py +430 -0
- niwrap_afni/afni/v_3d_threeto_rgb.py +265 -0
- niwrap_afni/afni/v_3d_tnorm.py +247 -0
- niwrap_afni/afni/v_3d_tortoiseto_here.py +239 -0
- niwrap_afni/afni/v_3d_toutcount.py +285 -0
- niwrap_afni/afni/v_3d_toy_prog.py +216 -0
- niwrap_afni/afni/v_3d_tproject.py +475 -0
- niwrap_afni/afni/v_3d_tqual.py +261 -0
- niwrap_afni/afni/v_3d_track_id.py +628 -0
- niwrap_afni/afni/v_3d_trfix.py +234 -0
- niwrap_afni/afni/v_3d_tsgen.py +319 -0
- niwrap_afni/afni/v_3d_tshift.py +342 -0
- niwrap_afni/afni/v_3d_tsmooth.py +331 -0
- niwrap_afni/afni/v_3d_tsort.py +267 -0
- niwrap_afni/afni/v_3d_tsplit4_d.py +209 -0
- niwrap_afni/afni/v_3d_tstat.py +771 -0
- niwrap_afni/afni/v_3d_tto1_d.py +246 -0
- niwrap_afni/afni/v_3d_twoto_complex.py +241 -0
- niwrap_afni/afni/v_3d_undump.py +366 -0
- niwrap_afni/afni/v_3d_unifize.py +403 -0
- niwrap_afni/afni/v_3d_upsample.py +245 -0
- niwrap_afni/afni/v_3d_vec_rgb_to_hsl.py +226 -0
- niwrap_afni/afni/v_3d_vol2_surf.py +653 -0
- niwrap_afni/afni/v_3d_warp.py +173 -0
- niwrap_afni/afni/v_3d_warp_drive.py +596 -0
- niwrap_afni/afni/v_3d_wilcoxon.py +231 -0
- niwrap_afni/afni/v_3d_winsor.py +287 -0
- niwrap_afni/afni/v_3d_xclust_sim.py +370 -0
- niwrap_afni/afni/v_3d_xyzcat.py +216 -0
- niwrap_afni/afni/v_3d_zcat.py +259 -0
- niwrap_afni/afni/v_3d_zcutup.py +209 -0
- niwrap_afni/afni/v_3d_zeropad.py +371 -0
- niwrap_afni/afni/v_3d_zipper_zapper.py +388 -0
- niwrap_afni/afni/v_3d_zregrid.py +242 -0
- niwrap_afni/afni/v_3danisosmooth.py +436 -0
- niwrap_afni/afni/v_3daxialize.py +253 -0
- niwrap_afni/afni/v_3dbucket.py +266 -0
- niwrap_afni/afni/v_3dcalc.py +278 -0
- niwrap_afni/afni/v_3dclust.py +380 -0
- niwrap_afni/afni/v_3dcopy.py +184 -0
- niwrap_afni/afni/v_3ddelay.py +443 -0
- niwrap_afni/afni/v_3ddot.py +322 -0
- niwrap_afni/afni/v_3ddot_beta.py +214 -0
- niwrap_afni/afni/v_3dedge3.py +269 -0
- niwrap_afni/afni/v_3dedgedog.py +344 -0
- niwrap_afni/afni/v_3dfim_.py +350 -0
- niwrap_afni/afni/v_3dfractionize.py +261 -0
- niwrap_afni/afni/v_3dhistog.py +365 -0
- niwrap_afni/afni/v_3dinfill.py +302 -0
- niwrap_afni/afni/v_3dinfo.py +1271 -0
- niwrap_afni/afni/v_3dkmeans.py +449 -0
- niwrap_afni/afni/v_3dmask_svd.py +179 -0
- niwrap_afni/afni/v_3dmask_tool.py +334 -0
- niwrap_afni/afni/v_3dmaskave.py +223 -0
- niwrap_afni/afni/v_3dmaskdump.py +425 -0
- niwrap_afni/afni/v_3dmatcalc.py +221 -0
- niwrap_afni/afni/v_3dmatmult.py +227 -0
- niwrap_afni/afni/v_3dmaxdisp.py +205 -0
- niwrap_afni/afni/v_3dmaxima.py +373 -0
- niwrap_afni/afni/v_3dmerge.py +305 -0
- niwrap_afni/afni/v_3dnewid.py +239 -0
- niwrap_afni/afni/v_3dnvals.py +190 -0
- niwrap_afni/afni/v_3dpc.py +340 -0
- niwrap_afni/afni/v_3drefit.py +406 -0
- niwrap_afni/afni/v_3drename.py +180 -0
- niwrap_afni/afni/v_3dresample.py +256 -0
- niwrap_afni/afni/v_3dretroicor.py +296 -0
- niwrap_afni/afni/v_3drotate.py +477 -0
- niwrap_afni/afni/v_3dsvm.py +518 -0
- niwrap_afni/afni/v_3dsvm_linpredict.py +203 -0
- niwrap_afni/afni/v_3dto_xdataset.py +195 -0
- niwrap_afni/afni/v_3dttest__.py +444 -0
- niwrap_afni/afni/v_3dvolreg.py +360 -0
- niwrap_afni/afni/v_4swap.py +181 -0
- niwrap_afni/afni/v__1d_diff_mag.py +178 -0
- niwrap_afni/afni/v__2dwarper.py +176 -0
- niwrap_afni/afni/v__2dwarper_allin.py +207 -0
- niwrap_afni/afni/v__4_daverage.py +173 -0
- niwrap_afni/afni/v__add_edge.py +344 -0
- niwrap_afni/afni/v__afni_env.py +254 -0
- niwrap_afni/afni/v__afni_orient2_raimap.py +172 -0
- niwrap_afni/afni/v__afni_orient_sign.py +179 -0
- niwrap_afni/afni/v__afni_r_package_install.py +241 -0
- niwrap_afni/afni/v__afni_refacer_make_master.py +180 -0
- niwrap_afni/afni/v__afni_refacer_make_onebig_a12.py +178 -0
- niwrap_afni/afni/v__afni_refacer_run.py +304 -0
- niwrap_afni/afni/v__afni_run_me.py +191 -0
- niwrap_afni/afni/v__align_centers.py +324 -0
- niwrap_afni/afni/v__align_partial_oblique.py +285 -0
- niwrap_afni/afni/v__anaticor.py +326 -0
- niwrap_afni/afni/v__animal_warper.py +602 -0
- niwrap_afni/afni/v__atlasize.py +402 -0
- niwrap_afni/afni/v__auto_tlrc.py +642 -0
- niwrap_afni/afni/v__build_afni_xlib.py +201 -0
- niwrap_afni/afni/v__center_distance.py +187 -0
- niwrap_afni/afni/v__chauffeur_afni.py +204 -0
- niwrap_afni/afni/v__check_for_afni_dset.py +178 -0
- niwrap_afni/afni/v__clip_volume.py +388 -0
- niwrap_afni/afni/v__clust_exp_cat_lab.py +201 -0
- niwrap_afni/afni/v__clust_exp_run_shiny.py +181 -0
- niwrap_afni/afni/v__command_globb.py +220 -0
- niwrap_afni/afni/v__compute_gcor.py +246 -0
- niwrap_afni/afni/v__compute_oc_weights.py +287 -0
- niwrap_afni/afni/v__deblank_file_names.py +210 -0
- niwrap_afni/afni/v__demo_prompt.py +176 -0
- niwrap_afni/afni/v__dice_metric.py +315 -0
- niwrap_afni/afni/v__diff_files.py +273 -0
- niwrap_afni/afni/v__diff_tree.py +358 -0
- niwrap_afni/afni/v__djunct_4d_imager.py +225 -0
- niwrap_afni/afni/v__djunct_4d_slices_to_3d_vol.py +177 -0
- niwrap_afni/afni/v__djunct_anonymize.py +207 -0
- niwrap_afni/afni/v__djunct_dwi_selector.py +192 -0
- niwrap_afni/afni/v__djunct_edgy_align_check.py +339 -0
- niwrap_afni/afni/v__djunct_modal_smoothing_with_rep.py +249 -0
- niwrap_afni/afni/v__djunct_montage_coordinator.py +234 -0
- niwrap_afni/afni/v__djunct_overlap_check.py +430 -0
- niwrap_afni/afni/v__djunct_ssw_intermed_edge_imgs.py +311 -0
- niwrap_afni/afni/v__do_examples.py +181 -0
- niwrap_afni/afni/v__electro_grid.py +244 -0
- niwrap_afni/afni/v__examine_gen_feat_dists.py +277 -0
- niwrap_afni/afni/v__extract_meica_ortvec.py +248 -0
- niwrap_afni/afni/v__fast_roi.py +290 -0
- niwrap_afni/afni/v__fat_tract_colorize.py +267 -0
- niwrap_afni/afni/v__find_afni_dset_path.py +199 -0
- niwrap_afni/afni/v__fix_fssphere.py +236 -0
- niwrap_afni/afni/v__float_fix.py +176 -0
- niwrap_afni/afni/v__from_rai.py +186 -0
- niwrap_afni/afni/v__fs_roi_label.py +290 -0
- niwrap_afni/afni/v__fslabel2dset.py +217 -0
- niwrap_afni/afni/v__get_afni_dims.py +176 -0
- niwrap_afni/afni/v__get_afni_id.py +176 -0
- niwrap_afni/afni/v__get_afni_orient.py +185 -0
- niwrap_afni/afni/v__get_afni_prefix.py +182 -0
- niwrap_afni/afni/v__get_afni_res.py +183 -0
- niwrap_afni/afni/v__get_afni_version.py +177 -0
- niwrap_afni/afni/v__get_afni_view.py +178 -0
- niwrap_afni/afni/v__grad_flip_test.py +359 -0
- niwrap_afni/afni/v__grayplot.py +189 -0
- niwrap_afni/afni/v__help_afni.py +165 -0
- niwrap_afni/afni/v__is_oblique.py +176 -0
- niwrap_afni/afni/v__iso_masks.py +185 -0
- niwrap_afni/afni/v__make_label_table.py +587 -0
- niwrap_afni/afni/v__make_plug_diff.py +237 -0
- niwrap_afni/afni/v__measure_bb_thick.py +352 -0
- niwrap_afni/afni/v__measure_erosion_thick.py +328 -0
- niwrap_afni/afni/v__measure_in2out.py +355 -0
- niwrap_afni/afni/v__move_to_series_dirs.py +255 -0
- niwrap_afni/afni/v__no_ext.py +179 -0
- niwrap_afni/afni/v__no_pound.py +174 -0
- niwrap_afni/afni/v__noisy_skull_strip.py +212 -0
- niwrap_afni/afni/v__np.py +180 -0
- niwrap_afni/afni/v__parse_afni_name.py +187 -0
- niwrap_afni/afni/v__purify_1_d.py +202 -0
- niwrap_afni/afni/v__quiet_talkers.py +256 -0
- niwrap_afni/afni/v__radial_correlate.py +407 -0
- niwrap_afni/afni/v__rename_panga.py +279 -0
- niwrap_afni/afni/v__reorder.py +225 -0
- niwrap_afni/afni/v__retino_proc.py +670 -0
- niwrap_afni/afni/v__roi_corr_mat.py +277 -0
- niwrap_afni/afni/v__roi_decluster.py +252 -0
- niwrap_afni/afni/v__roi_modal_grow.py +256 -0
- niwrap_afni/afni/v__scale_volume.py +252 -0
- niwrap_afni/afni/v__script_check.py +201 -0
- niwrap_afni/afni/v__shift_volume.py +240 -0
- niwrap_afni/afni/v__show_dynamic_range.py +183 -0
- niwrap_afni/afni/v__simulate_motion.py +350 -0
- niwrap_afni/afni/v__skull_strip_touch_up.py +224 -0
- niwrap_afni/afni/v__snapshot_volreg.py +207 -0
- niwrap_afni/afni/v__spharm_examples.py +226 -0
- niwrap_afni/afni/v__sswarper.py +465 -0
- niwrap_afni/afni/v__statauxcode.py +178 -0
- niwrap_afni/afni/v__suma_acknowledge.py +259 -0
- niwrap_afni/afni/v__suma_align_to_experiment.py +421 -0
- niwrap_afni/afni/v__suma_fsvol_to_brik.py +189 -0
- niwrap_afni/afni/v__suma_make_spec_caret.py +183 -0
- niwrap_afni/afni/v__suma_make_spec_fs.py +180 -0
- niwrap_afni/afni/v__suma_make_spec_sf.py +207 -0
- niwrap_afni/afni/v__suma_renumber_fs.py +209 -0
- niwrap_afni/afni/v__suma_reprefixize_spec.py +221 -0
- niwrap_afni/afni/v__surf_smooth_heat_07_examples.py +172 -0
- niwrap_afni/afni/v__surf_to_vol_spackle.py +322 -0
- niwrap_afni/afni/v__t1scale.py +328 -0
- niwrap_afni/afni/v__thickness_master.py +213 -0
- niwrap_afni/afni/v__time_diff.py +180 -0
- niwrap_afni/afni/v__to_mni_awarp.py +188 -0
- niwrap_afni/afni/v__to_mni_qwarpar.py +170 -0
- niwrap_afni/afni/v__to_rai.py +170 -0
- niwrap_afni/afni/v__update_afni_binaries.py +410 -0
- niwrap_afni/afni/v__vol_center.py +188 -0
- niwrap_afni/afni/v__xyz_to_ijk.py +221 -0
- niwrap_afni/afni/vecwarp.py +265 -0
- niwrap_afni/afni/waver.py +458 -0
- niwrap_afni/afni/whirlgif.py +254 -0
- niwrap_afni/afni/xmat_tool_py.py +381 -0
- niwrap_afni-0.5.0.dist-info/METADATA +8 -0
- niwrap_afni-0.5.0.dist-info/RECORD +569 -0
- niwrap_afni-0.5.0.dist-info/WHEEL +4 -0
niwrap_afni/afni/afni.py
ADDED
|
@@ -0,0 +1,428 @@
|
|
|
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
|
+
AFNI_METADATA = Metadata(
|
|
9
|
+
id="40dab3442f2e18227072a94a9827898d65dc4372.boutiques",
|
|
10
|
+
name="afni",
|
|
11
|
+
package="afni",
|
|
12
|
+
container_image_tag="afni/afni_make_build:AFNI_24.2.06",
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
AfniParameters = typing.TypedDict('AfniParameters', {
|
|
17
|
+
"__STYX_TYPE__": typing.Literal["afni"],
|
|
18
|
+
"session_directories": typing.NotRequired[str | None],
|
|
19
|
+
"bysub": typing.NotRequired[list[str] | None],
|
|
20
|
+
"all_dsets": bool,
|
|
21
|
+
"purge": bool,
|
|
22
|
+
"posfunc": bool,
|
|
23
|
+
"recursive": bool,
|
|
24
|
+
"no1D": bool,
|
|
25
|
+
"nocsv": bool,
|
|
26
|
+
"notsv": bool,
|
|
27
|
+
"unique": bool,
|
|
28
|
+
"orient": typing.NotRequired[str | None],
|
|
29
|
+
"noplugins": bool,
|
|
30
|
+
"seehidden": bool,
|
|
31
|
+
"allow_all_plugins": bool,
|
|
32
|
+
"yesplugouts": bool,
|
|
33
|
+
"debug_plugouts": bool,
|
|
34
|
+
"noplugouts": bool,
|
|
35
|
+
"skip_afnirc": bool,
|
|
36
|
+
"layout": typing.NotRequired[InputPathType | None],
|
|
37
|
+
"niml": bool,
|
|
38
|
+
"np": typing.NotRequired[int | None],
|
|
39
|
+
"npq": typing.NotRequired[int | None],
|
|
40
|
+
"npb": typing.NotRequired[int | None],
|
|
41
|
+
"com": typing.NotRequired[str | None],
|
|
42
|
+
"comsep": typing.NotRequired[str | None],
|
|
43
|
+
})
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
def dyn_cargs(
|
|
47
|
+
t: str,
|
|
48
|
+
) -> typing.Any:
|
|
49
|
+
"""
|
|
50
|
+
Get build cargs function by command type.
|
|
51
|
+
|
|
52
|
+
Args:
|
|
53
|
+
t: Command type.
|
|
54
|
+
Returns:
|
|
55
|
+
Build cargs function.
|
|
56
|
+
"""
|
|
57
|
+
return {
|
|
58
|
+
"afni": afni_cargs,
|
|
59
|
+
}.get(t)
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
def dyn_outputs(
|
|
63
|
+
t: str,
|
|
64
|
+
) -> typing.Any:
|
|
65
|
+
"""
|
|
66
|
+
Get build outputs function by command type.
|
|
67
|
+
|
|
68
|
+
Args:
|
|
69
|
+
t: Command type.
|
|
70
|
+
Returns:
|
|
71
|
+
Build outputs function.
|
|
72
|
+
"""
|
|
73
|
+
return {
|
|
74
|
+
"afni": afni_outputs,
|
|
75
|
+
}.get(t)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
class AfniOutputs(typing.NamedTuple):
|
|
79
|
+
"""
|
|
80
|
+
Output object returned when calling `afni_(...)`.
|
|
81
|
+
"""
|
|
82
|
+
root: OutputPathType
|
|
83
|
+
"""Output root folder. This is the root folder for all outputs."""
|
|
84
|
+
session_output: OutputPathType
|
|
85
|
+
"""Output file for the session data"""
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
def afni_params(
|
|
89
|
+
session_directories: str | None = None,
|
|
90
|
+
bysub: list[str] | None = None,
|
|
91
|
+
all_dsets: bool = False,
|
|
92
|
+
purge: bool = False,
|
|
93
|
+
posfunc: bool = False,
|
|
94
|
+
recursive: bool = False,
|
|
95
|
+
no1_d: bool = False,
|
|
96
|
+
nocsv: bool = False,
|
|
97
|
+
notsv: bool = False,
|
|
98
|
+
unique: bool = False,
|
|
99
|
+
orient: str | None = None,
|
|
100
|
+
noplugins: bool = False,
|
|
101
|
+
seehidden: bool = False,
|
|
102
|
+
allow_all_plugins: bool = False,
|
|
103
|
+
yesplugouts: bool = False,
|
|
104
|
+
debug_plugouts: bool = False,
|
|
105
|
+
noplugouts: bool = False,
|
|
106
|
+
skip_afnirc: bool = False,
|
|
107
|
+
layout: InputPathType | None = None,
|
|
108
|
+
niml: bool = False,
|
|
109
|
+
np: int | None = None,
|
|
110
|
+
npq: int | None = None,
|
|
111
|
+
npb: int | None = None,
|
|
112
|
+
com: str | None = None,
|
|
113
|
+
comsep: str | None = None,
|
|
114
|
+
) -> AfniParameters:
|
|
115
|
+
"""
|
|
116
|
+
Build parameters.
|
|
117
|
+
|
|
118
|
+
Args:
|
|
119
|
+
session_directories: Input session directories containing the datasets.
|
|
120
|
+
bysub: Gather all datasets corresponding to a single subject identifier.
|
|
121
|
+
all_dsets: Read in all datasets from all listed folders together.
|
|
122
|
+
purge: Conserve memory by purging unused datasets.
|
|
123
|
+
posfunc: Start up the color 'pbar' to use only positive function values.
|
|
124
|
+
recursive: Recursively search each session_directory for more session\
|
|
125
|
+
subdirectories.
|
|
126
|
+
no1_d: Tells AFNI not to read *.1D timeseries files.
|
|
127
|
+
nocsv: Tells AFNI not to read *.csv files.
|
|
128
|
+
notsv: Tells AFNI not to read *.tsv files.
|
|
129
|
+
unique: Create a unique set of colors for each AFNI controller window.
|
|
130
|
+
orient: Orientation code for displaying x-y-z coordinates.
|
|
131
|
+
noplugins: Do not load plugins.
|
|
132
|
+
seehidden: Show hidden plugins.
|
|
133
|
+
allow_all_plugins: Do not hide plugins.
|
|
134
|
+
yesplugouts: Listen for plugouts.
|
|
135
|
+
debug_plugouts: Plugout code prints lots of messages (for debugging).
|
|
136
|
+
noplugouts: Do not listen for plugouts.
|
|
137
|
+
skip_afnirc: Do not read .afnirc file.
|
|
138
|
+
layout: Read initial windows layout from a file.
|
|
139
|
+
niml: Turn on listening for NIML-formatted data from SUMA.
|
|
140
|
+
np: Provide a port offset for multiple instances.
|
|
141
|
+
npq: Like -np but quieter in case of errors.
|
|
142
|
+
npb: Provide a block of port numbers.
|
|
143
|
+
com: Specify command strings to drive AFNI on startup.
|
|
144
|
+
comsep: Character to use as a separator for commands.
|
|
145
|
+
Returns:
|
|
146
|
+
Parameter dictionary
|
|
147
|
+
"""
|
|
148
|
+
params = {
|
|
149
|
+
"__STYXTYPE__": "afni",
|
|
150
|
+
"all_dsets": all_dsets,
|
|
151
|
+
"purge": purge,
|
|
152
|
+
"posfunc": posfunc,
|
|
153
|
+
"recursive": recursive,
|
|
154
|
+
"no1D": no1_d,
|
|
155
|
+
"nocsv": nocsv,
|
|
156
|
+
"notsv": notsv,
|
|
157
|
+
"unique": unique,
|
|
158
|
+
"noplugins": noplugins,
|
|
159
|
+
"seehidden": seehidden,
|
|
160
|
+
"allow_all_plugins": allow_all_plugins,
|
|
161
|
+
"yesplugouts": yesplugouts,
|
|
162
|
+
"debug_plugouts": debug_plugouts,
|
|
163
|
+
"noplugouts": noplugouts,
|
|
164
|
+
"skip_afnirc": skip_afnirc,
|
|
165
|
+
"niml": niml,
|
|
166
|
+
}
|
|
167
|
+
if session_directories is not None:
|
|
168
|
+
params["session_directories"] = session_directories
|
|
169
|
+
if bysub is not None:
|
|
170
|
+
params["bysub"] = bysub
|
|
171
|
+
if orient is not None:
|
|
172
|
+
params["orient"] = orient
|
|
173
|
+
if layout is not None:
|
|
174
|
+
params["layout"] = layout
|
|
175
|
+
if np is not None:
|
|
176
|
+
params["np"] = np
|
|
177
|
+
if npq is not None:
|
|
178
|
+
params["npq"] = npq
|
|
179
|
+
if npb is not None:
|
|
180
|
+
params["npb"] = npb
|
|
181
|
+
if com is not None:
|
|
182
|
+
params["com"] = com
|
|
183
|
+
if comsep is not None:
|
|
184
|
+
params["comsep"] = comsep
|
|
185
|
+
return params
|
|
186
|
+
|
|
187
|
+
|
|
188
|
+
def afni_cargs(
|
|
189
|
+
params: AfniParameters,
|
|
190
|
+
execution: Execution,
|
|
191
|
+
) -> list[str]:
|
|
192
|
+
"""
|
|
193
|
+
Build command-line arguments from parameters.
|
|
194
|
+
|
|
195
|
+
Args:
|
|
196
|
+
params: The parameters.
|
|
197
|
+
execution: The execution object for resolving input paths.
|
|
198
|
+
Returns:
|
|
199
|
+
Command-line arguments.
|
|
200
|
+
"""
|
|
201
|
+
cargs = []
|
|
202
|
+
cargs.append("afni")
|
|
203
|
+
if params.get("session_directories") is not None:
|
|
204
|
+
cargs.append(params.get("session_directories"))
|
|
205
|
+
if params.get("bysub") is not None:
|
|
206
|
+
cargs.extend([
|
|
207
|
+
"-bysub",
|
|
208
|
+
*params.get("bysub")
|
|
209
|
+
])
|
|
210
|
+
if params.get("all_dsets"):
|
|
211
|
+
cargs.append("-all_dsets")
|
|
212
|
+
if params.get("purge"):
|
|
213
|
+
cargs.append("-purge")
|
|
214
|
+
if params.get("posfunc"):
|
|
215
|
+
cargs.append("-posfunc")
|
|
216
|
+
if params.get("recursive"):
|
|
217
|
+
cargs.append("-R")
|
|
218
|
+
if params.get("no1D"):
|
|
219
|
+
cargs.append("-no1D")
|
|
220
|
+
if params.get("nocsv"):
|
|
221
|
+
cargs.append("-nocsv")
|
|
222
|
+
if params.get("notsv"):
|
|
223
|
+
cargs.append("-notsv")
|
|
224
|
+
if params.get("unique"):
|
|
225
|
+
cargs.append("-unique")
|
|
226
|
+
if params.get("orient") is not None:
|
|
227
|
+
cargs.extend([
|
|
228
|
+
"-orient",
|
|
229
|
+
params.get("orient")
|
|
230
|
+
])
|
|
231
|
+
if params.get("noplugins"):
|
|
232
|
+
cargs.append("-noplugins")
|
|
233
|
+
if params.get("seehidden"):
|
|
234
|
+
cargs.append("-seehidden")
|
|
235
|
+
if params.get("allow_all_plugins"):
|
|
236
|
+
cargs.append("-DAFNI_ALLOW_ALL_PLUGINS=YES")
|
|
237
|
+
if params.get("yesplugouts"):
|
|
238
|
+
cargs.append("-yesplugouts")
|
|
239
|
+
if params.get("debug_plugouts"):
|
|
240
|
+
cargs.append("-YESplugouts")
|
|
241
|
+
if params.get("noplugouts"):
|
|
242
|
+
cargs.append("-noplugouts")
|
|
243
|
+
if params.get("skip_afnirc"):
|
|
244
|
+
cargs.append("-skip_afnirc")
|
|
245
|
+
if params.get("layout") is not None:
|
|
246
|
+
cargs.extend([
|
|
247
|
+
"-layout",
|
|
248
|
+
execution.input_file(params.get("layout"))
|
|
249
|
+
])
|
|
250
|
+
if params.get("niml"):
|
|
251
|
+
cargs.append("-niml")
|
|
252
|
+
if params.get("np") is not None:
|
|
253
|
+
cargs.extend([
|
|
254
|
+
"-np",
|
|
255
|
+
str(params.get("np"))
|
|
256
|
+
])
|
|
257
|
+
if params.get("npq") is not None:
|
|
258
|
+
cargs.extend([
|
|
259
|
+
"-npq",
|
|
260
|
+
str(params.get("npq"))
|
|
261
|
+
])
|
|
262
|
+
if params.get("npb") is not None:
|
|
263
|
+
cargs.extend([
|
|
264
|
+
"-npb",
|
|
265
|
+
str(params.get("npb"))
|
|
266
|
+
])
|
|
267
|
+
if params.get("com") is not None:
|
|
268
|
+
cargs.extend([
|
|
269
|
+
"-com",
|
|
270
|
+
params.get("com")
|
|
271
|
+
])
|
|
272
|
+
if params.get("comsep") is not None:
|
|
273
|
+
cargs.extend([
|
|
274
|
+
"-comsep",
|
|
275
|
+
params.get("comsep")
|
|
276
|
+
])
|
|
277
|
+
return cargs
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
def afni_outputs(
|
|
281
|
+
params: AfniParameters,
|
|
282
|
+
execution: Execution,
|
|
283
|
+
) -> AfniOutputs:
|
|
284
|
+
"""
|
|
285
|
+
Build outputs object containing output file paths and possibly stdout/stderr.
|
|
286
|
+
|
|
287
|
+
Args:
|
|
288
|
+
params: The parameters.
|
|
289
|
+
execution: The execution object for resolving input paths.
|
|
290
|
+
Returns:
|
|
291
|
+
Outputs object.
|
|
292
|
+
"""
|
|
293
|
+
ret = AfniOutputs(
|
|
294
|
+
root=execution.output_file("."),
|
|
295
|
+
session_output=execution.output_file("output_session.nii.gz"),
|
|
296
|
+
)
|
|
297
|
+
return ret
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
def afni_execute(
|
|
301
|
+
params: AfniParameters,
|
|
302
|
+
execution: Execution,
|
|
303
|
+
) -> AfniOutputs:
|
|
304
|
+
"""
|
|
305
|
+
Tool for reading in sessions of 3D datasets and visualizing them.
|
|
306
|
+
|
|
307
|
+
Author: AFNI Developers
|
|
308
|
+
|
|
309
|
+
URL: https://afni.nimh.nih.gov/
|
|
310
|
+
|
|
311
|
+
Args:
|
|
312
|
+
params: The parameters.
|
|
313
|
+
execution: The execution object.
|
|
314
|
+
Returns:
|
|
315
|
+
NamedTuple of outputs (described in `AfniOutputs`).
|
|
316
|
+
"""
|
|
317
|
+
params = execution.params(params)
|
|
318
|
+
cargs = afni_cargs(params, execution)
|
|
319
|
+
ret = afni_outputs(params, execution)
|
|
320
|
+
execution.run(cargs)
|
|
321
|
+
return ret
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
def afni_(
|
|
325
|
+
session_directories: str | None = None,
|
|
326
|
+
bysub: list[str] | None = None,
|
|
327
|
+
all_dsets: bool = False,
|
|
328
|
+
purge: bool = False,
|
|
329
|
+
posfunc: bool = False,
|
|
330
|
+
recursive: bool = False,
|
|
331
|
+
no1_d: bool = False,
|
|
332
|
+
nocsv: bool = False,
|
|
333
|
+
notsv: bool = False,
|
|
334
|
+
unique: bool = False,
|
|
335
|
+
orient: str | None = None,
|
|
336
|
+
noplugins: bool = False,
|
|
337
|
+
seehidden: bool = False,
|
|
338
|
+
allow_all_plugins: bool = False,
|
|
339
|
+
yesplugouts: bool = False,
|
|
340
|
+
debug_plugouts: bool = False,
|
|
341
|
+
noplugouts: bool = False,
|
|
342
|
+
skip_afnirc: bool = False,
|
|
343
|
+
layout: InputPathType | None = None,
|
|
344
|
+
niml: bool = False,
|
|
345
|
+
np: int | None = None,
|
|
346
|
+
npq: int | None = None,
|
|
347
|
+
npb: int | None = None,
|
|
348
|
+
com: str | None = None,
|
|
349
|
+
comsep: str | None = None,
|
|
350
|
+
runner: Runner | None = None,
|
|
351
|
+
) -> AfniOutputs:
|
|
352
|
+
"""
|
|
353
|
+
Tool for reading in sessions of 3D datasets and visualizing them.
|
|
354
|
+
|
|
355
|
+
Author: AFNI Developers
|
|
356
|
+
|
|
357
|
+
URL: https://afni.nimh.nih.gov/
|
|
358
|
+
|
|
359
|
+
Args:
|
|
360
|
+
session_directories: Input session directories containing the datasets.
|
|
361
|
+
bysub: Gather all datasets corresponding to a single subject identifier.
|
|
362
|
+
all_dsets: Read in all datasets from all listed folders together.
|
|
363
|
+
purge: Conserve memory by purging unused datasets.
|
|
364
|
+
posfunc: Start up the color 'pbar' to use only positive function values.
|
|
365
|
+
recursive: Recursively search each session_directory for more session\
|
|
366
|
+
subdirectories.
|
|
367
|
+
no1_d: Tells AFNI not to read *.1D timeseries files.
|
|
368
|
+
nocsv: Tells AFNI not to read *.csv files.
|
|
369
|
+
notsv: Tells AFNI not to read *.tsv files.
|
|
370
|
+
unique: Create a unique set of colors for each AFNI controller window.
|
|
371
|
+
orient: Orientation code for displaying x-y-z coordinates.
|
|
372
|
+
noplugins: Do not load plugins.
|
|
373
|
+
seehidden: Show hidden plugins.
|
|
374
|
+
allow_all_plugins: Do not hide plugins.
|
|
375
|
+
yesplugouts: Listen for plugouts.
|
|
376
|
+
debug_plugouts: Plugout code prints lots of messages (for debugging).
|
|
377
|
+
noplugouts: Do not listen for plugouts.
|
|
378
|
+
skip_afnirc: Do not read .afnirc file.
|
|
379
|
+
layout: Read initial windows layout from a file.
|
|
380
|
+
niml: Turn on listening for NIML-formatted data from SUMA.
|
|
381
|
+
np: Provide a port offset for multiple instances.
|
|
382
|
+
npq: Like -np but quieter in case of errors.
|
|
383
|
+
npb: Provide a block of port numbers.
|
|
384
|
+
com: Specify command strings to drive AFNI on startup.
|
|
385
|
+
comsep: Character to use as a separator for commands.
|
|
386
|
+
runner: Command runner.
|
|
387
|
+
Returns:
|
|
388
|
+
NamedTuple of outputs (described in `AfniOutputs`).
|
|
389
|
+
"""
|
|
390
|
+
runner = runner or get_global_runner()
|
|
391
|
+
execution = runner.start_execution(AFNI_METADATA)
|
|
392
|
+
params = afni_params(
|
|
393
|
+
session_directories=session_directories,
|
|
394
|
+
bysub=bysub,
|
|
395
|
+
all_dsets=all_dsets,
|
|
396
|
+
purge=purge,
|
|
397
|
+
posfunc=posfunc,
|
|
398
|
+
recursive=recursive,
|
|
399
|
+
no1_d=no1_d,
|
|
400
|
+
nocsv=nocsv,
|
|
401
|
+
notsv=notsv,
|
|
402
|
+
unique=unique,
|
|
403
|
+
orient=orient,
|
|
404
|
+
noplugins=noplugins,
|
|
405
|
+
seehidden=seehidden,
|
|
406
|
+
allow_all_plugins=allow_all_plugins,
|
|
407
|
+
yesplugouts=yesplugouts,
|
|
408
|
+
debug_plugouts=debug_plugouts,
|
|
409
|
+
noplugouts=noplugouts,
|
|
410
|
+
skip_afnirc=skip_afnirc,
|
|
411
|
+
layout=layout,
|
|
412
|
+
niml=niml,
|
|
413
|
+
np=np,
|
|
414
|
+
npq=npq,
|
|
415
|
+
npb=npb,
|
|
416
|
+
com=com,
|
|
417
|
+
comsep=comsep,
|
|
418
|
+
)
|
|
419
|
+
return afni_execute(params, execution)
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
__all__ = [
|
|
423
|
+
"AFNI_METADATA",
|
|
424
|
+
"AfniOutputs",
|
|
425
|
+
"AfniParameters",
|
|
426
|
+
"afni_",
|
|
427
|
+
"afni_params",
|
|
428
|
+
]
|
|
@@ -0,0 +1,215 @@
|
|
|
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
|
+
AFNI_BATCH_R_METADATA = Metadata(
|
|
9
|
+
id="78789aab686dc723a7f6543875033396e8a4b97c.boutiques",
|
|
10
|
+
name="AFNI_Batch_R",
|
|
11
|
+
package="afni",
|
|
12
|
+
container_image_tag="afni/afni_make_build:AFNI_24.2.06",
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
AfniBatchRParameters = typing.TypedDict('AfniBatchRParameters', {
|
|
17
|
+
"__STYX_TYPE__": typing.Literal["AFNI_Batch_R"],
|
|
18
|
+
"no_restore": bool,
|
|
19
|
+
"save_workspace": bool,
|
|
20
|
+
"no_readline": bool,
|
|
21
|
+
"vanilla_mode": bool,
|
|
22
|
+
"help": bool,
|
|
23
|
+
})
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
def dyn_cargs(
|
|
27
|
+
t: str,
|
|
28
|
+
) -> typing.Any:
|
|
29
|
+
"""
|
|
30
|
+
Get build cargs function by command type.
|
|
31
|
+
|
|
32
|
+
Args:
|
|
33
|
+
t: Command type.
|
|
34
|
+
Returns:
|
|
35
|
+
Build cargs function.
|
|
36
|
+
"""
|
|
37
|
+
return {
|
|
38
|
+
"AFNI_Batch_R": afni_batch_r_cargs,
|
|
39
|
+
}.get(t)
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
def dyn_outputs(
|
|
43
|
+
t: str,
|
|
44
|
+
) -> typing.Any:
|
|
45
|
+
"""
|
|
46
|
+
Get build outputs function by command type.
|
|
47
|
+
|
|
48
|
+
Args:
|
|
49
|
+
t: Command type.
|
|
50
|
+
Returns:
|
|
51
|
+
Build outputs function.
|
|
52
|
+
"""
|
|
53
|
+
return {
|
|
54
|
+
}.get(t)
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
class AfniBatchROutputs(typing.NamedTuple):
|
|
58
|
+
"""
|
|
59
|
+
Output object returned when calling `afni_batch_r(...)`.
|
|
60
|
+
"""
|
|
61
|
+
root: OutputPathType
|
|
62
|
+
"""Output root folder. This is the root folder for all outputs."""
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
def afni_batch_r_params(
|
|
66
|
+
no_restore: bool = False,
|
|
67
|
+
save_workspace: bool = False,
|
|
68
|
+
no_readline: bool = False,
|
|
69
|
+
vanilla_mode: bool = False,
|
|
70
|
+
help_: bool = False,
|
|
71
|
+
) -> AfniBatchRParameters:
|
|
72
|
+
"""
|
|
73
|
+
Build parameters.
|
|
74
|
+
|
|
75
|
+
Args:
|
|
76
|
+
no_restore: Do not restore anything in the R workspace at startup.
|
|
77
|
+
save_workspace: Save the workspace at the end of the script execution.
|
|
78
|
+
no_readline: Disable reading input from the command line.
|
|
79
|
+
vanilla_mode: Run R without saving the workspace at the end, restoring\
|
|
80
|
+
anything, reading the site file, or acting on startup files.
|
|
81
|
+
help_: Display this help message and exit.
|
|
82
|
+
Returns:
|
|
83
|
+
Parameter dictionary
|
|
84
|
+
"""
|
|
85
|
+
params = {
|
|
86
|
+
"__STYXTYPE__": "AFNI_Batch_R",
|
|
87
|
+
"no_restore": no_restore,
|
|
88
|
+
"save_workspace": save_workspace,
|
|
89
|
+
"no_readline": no_readline,
|
|
90
|
+
"vanilla_mode": vanilla_mode,
|
|
91
|
+
"help": help_,
|
|
92
|
+
}
|
|
93
|
+
return params
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
def afni_batch_r_cargs(
|
|
97
|
+
params: AfniBatchRParameters,
|
|
98
|
+
execution: Execution,
|
|
99
|
+
) -> list[str]:
|
|
100
|
+
"""
|
|
101
|
+
Build command-line arguments from parameters.
|
|
102
|
+
|
|
103
|
+
Args:
|
|
104
|
+
params: The parameters.
|
|
105
|
+
execution: The execution object for resolving input paths.
|
|
106
|
+
Returns:
|
|
107
|
+
Command-line arguments.
|
|
108
|
+
"""
|
|
109
|
+
cargs = []
|
|
110
|
+
cargs.append("AFNI_Batch_R")
|
|
111
|
+
cargs.append("R")
|
|
112
|
+
cargs.append("CMD")
|
|
113
|
+
cargs.append("BATCH")
|
|
114
|
+
if params.get("no_restore"):
|
|
115
|
+
cargs.append("--no-restore")
|
|
116
|
+
if params.get("save_workspace"):
|
|
117
|
+
cargs.append("--save")
|
|
118
|
+
if params.get("no_readline"):
|
|
119
|
+
cargs.append("--no-readline")
|
|
120
|
+
if params.get("vanilla_mode"):
|
|
121
|
+
cargs.append("--vanilla")
|
|
122
|
+
cargs.append("--args")
|
|
123
|
+
if params.get("help"):
|
|
124
|
+
cargs.append("-help")
|
|
125
|
+
return cargs
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
def afni_batch_r_outputs(
|
|
129
|
+
params: AfniBatchRParameters,
|
|
130
|
+
execution: Execution,
|
|
131
|
+
) -> AfniBatchROutputs:
|
|
132
|
+
"""
|
|
133
|
+
Build outputs object containing output file paths and possibly stdout/stderr.
|
|
134
|
+
|
|
135
|
+
Args:
|
|
136
|
+
params: The parameters.
|
|
137
|
+
execution: The execution object for resolving input paths.
|
|
138
|
+
Returns:
|
|
139
|
+
Outputs object.
|
|
140
|
+
"""
|
|
141
|
+
ret = AfniBatchROutputs(
|
|
142
|
+
root=execution.output_file("."),
|
|
143
|
+
)
|
|
144
|
+
return ret
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
def afni_batch_r_execute(
|
|
148
|
+
params: AfniBatchRParameters,
|
|
149
|
+
execution: Execution,
|
|
150
|
+
) -> AfniBatchROutputs:
|
|
151
|
+
"""
|
|
152
|
+
Batch mode for executing R scripts in the AFNI environment.
|
|
153
|
+
|
|
154
|
+
Author: AFNI Developers
|
|
155
|
+
|
|
156
|
+
URL: https://afni.nimh.nih.gov/
|
|
157
|
+
|
|
158
|
+
Args:
|
|
159
|
+
params: The parameters.
|
|
160
|
+
execution: The execution object.
|
|
161
|
+
Returns:
|
|
162
|
+
NamedTuple of outputs (described in `AfniBatchROutputs`).
|
|
163
|
+
"""
|
|
164
|
+
params = execution.params(params)
|
|
165
|
+
cargs = afni_batch_r_cargs(params, execution)
|
|
166
|
+
ret = afni_batch_r_outputs(params, execution)
|
|
167
|
+
execution.run(cargs)
|
|
168
|
+
return ret
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
def afni_batch_r(
|
|
172
|
+
no_restore: bool = False,
|
|
173
|
+
save_workspace: bool = False,
|
|
174
|
+
no_readline: bool = False,
|
|
175
|
+
vanilla_mode: bool = False,
|
|
176
|
+
help_: bool = False,
|
|
177
|
+
runner: Runner | None = None,
|
|
178
|
+
) -> AfniBatchROutputs:
|
|
179
|
+
"""
|
|
180
|
+
Batch mode for executing R scripts in the AFNI environment.
|
|
181
|
+
|
|
182
|
+
Author: AFNI Developers
|
|
183
|
+
|
|
184
|
+
URL: https://afni.nimh.nih.gov/
|
|
185
|
+
|
|
186
|
+
Args:
|
|
187
|
+
no_restore: Do not restore anything in the R workspace at startup.
|
|
188
|
+
save_workspace: Save the workspace at the end of the script execution.
|
|
189
|
+
no_readline: Disable reading input from the command line.
|
|
190
|
+
vanilla_mode: Run R without saving the workspace at the end, restoring\
|
|
191
|
+
anything, reading the site file, or acting on startup files.
|
|
192
|
+
help_: Display this help message and exit.
|
|
193
|
+
runner: Command runner.
|
|
194
|
+
Returns:
|
|
195
|
+
NamedTuple of outputs (described in `AfniBatchROutputs`).
|
|
196
|
+
"""
|
|
197
|
+
runner = runner or get_global_runner()
|
|
198
|
+
execution = runner.start_execution(AFNI_BATCH_R_METADATA)
|
|
199
|
+
params = afni_batch_r_params(
|
|
200
|
+
no_restore=no_restore,
|
|
201
|
+
save_workspace=save_workspace,
|
|
202
|
+
no_readline=no_readline,
|
|
203
|
+
vanilla_mode=vanilla_mode,
|
|
204
|
+
help_=help_,
|
|
205
|
+
)
|
|
206
|
+
return afni_batch_r_execute(params, execution)
|
|
207
|
+
|
|
208
|
+
|
|
209
|
+
__all__ = [
|
|
210
|
+
"AFNI_BATCH_R_METADATA",
|
|
211
|
+
"AfniBatchROutputs",
|
|
212
|
+
"AfniBatchRParameters",
|
|
213
|
+
"afni_batch_r",
|
|
214
|
+
"afni_batch_r_params",
|
|
215
|
+
]
|