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
|
@@ -0,0 +1,475 @@
|
|
|
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_TPROJECT_METADATA = Metadata(
|
|
9
|
+
id="bada625089497e8017360d215ed8865341d4154e.boutiques",
|
|
10
|
+
name="3dTproject",
|
|
11
|
+
package="afni",
|
|
12
|
+
container_image_tag="afni/afni_make_build:AFNI_24.2.06",
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
V3dTprojectParameters = typing.TypedDict('V3dTprojectParameters', {
|
|
17
|
+
"__STYX_TYPE__": typing.Literal["3dTproject"],
|
|
18
|
+
"TR": typing.NotRequired[float | None],
|
|
19
|
+
"automask": bool,
|
|
20
|
+
"bandpass": typing.NotRequired[list[float] | None],
|
|
21
|
+
"blur": typing.NotRequired[float | None],
|
|
22
|
+
"cenmode": typing.NotRequired[typing.Literal["kill", "zero", "ntrp"] | None],
|
|
23
|
+
"censor": typing.NotRequired[InputPathType | None],
|
|
24
|
+
"censortr": typing.NotRequired[list[str] | None],
|
|
25
|
+
"concat": typing.NotRequired[InputPathType | None],
|
|
26
|
+
"dsort": typing.NotRequired[list[InputPathType] | None],
|
|
27
|
+
"in_file": InputPathType,
|
|
28
|
+
"mask": typing.NotRequired[InputPathType | None],
|
|
29
|
+
"noblock": bool,
|
|
30
|
+
"norm": bool,
|
|
31
|
+
"ort": typing.NotRequired[InputPathType | None],
|
|
32
|
+
"polort": typing.NotRequired[int | None],
|
|
33
|
+
"stopband": typing.NotRequired[list[float] | None],
|
|
34
|
+
"prefix": str,
|
|
35
|
+
})
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
def dyn_cargs(
|
|
39
|
+
t: str,
|
|
40
|
+
) -> typing.Any:
|
|
41
|
+
"""
|
|
42
|
+
Get build cargs function by command type.
|
|
43
|
+
|
|
44
|
+
Args:
|
|
45
|
+
t: Command type.
|
|
46
|
+
Returns:
|
|
47
|
+
Build cargs function.
|
|
48
|
+
"""
|
|
49
|
+
return {
|
|
50
|
+
"3dTproject": v_3d_tproject_cargs,
|
|
51
|
+
}.get(t)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
def dyn_outputs(
|
|
55
|
+
t: str,
|
|
56
|
+
) -> typing.Any:
|
|
57
|
+
"""
|
|
58
|
+
Get build outputs function by command type.
|
|
59
|
+
|
|
60
|
+
Args:
|
|
61
|
+
t: Command type.
|
|
62
|
+
Returns:
|
|
63
|
+
Build outputs function.
|
|
64
|
+
"""
|
|
65
|
+
return {
|
|
66
|
+
"3dTproject": v_3d_tproject_outputs,
|
|
67
|
+
}.get(t)
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
class V3dTprojectOutputs(typing.NamedTuple):
|
|
71
|
+
"""
|
|
72
|
+
Output object returned when calling `v_3d_tproject(...)`.
|
|
73
|
+
"""
|
|
74
|
+
root: OutputPathType
|
|
75
|
+
"""Output root folder. This is the root folder for all outputs."""
|
|
76
|
+
out_file: OutputPathType
|
|
77
|
+
"""Output file."""
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
def v_3d_tproject_params(
|
|
81
|
+
in_file: InputPathType,
|
|
82
|
+
prefix: str,
|
|
83
|
+
tr: float | None = None,
|
|
84
|
+
automask: bool = False,
|
|
85
|
+
bandpass: list[float] | None = None,
|
|
86
|
+
blur: float | None = None,
|
|
87
|
+
cenmode: typing.Literal["kill", "zero", "ntrp"] | None = None,
|
|
88
|
+
censor: InputPathType | None = None,
|
|
89
|
+
censortr: list[str] | None = None,
|
|
90
|
+
concat: InputPathType | None = None,
|
|
91
|
+
dsort: list[InputPathType] | None = None,
|
|
92
|
+
mask: InputPathType | None = None,
|
|
93
|
+
noblock: bool = False,
|
|
94
|
+
norm: bool = False,
|
|
95
|
+
ort: InputPathType | None = None,
|
|
96
|
+
polort: int | None = None,
|
|
97
|
+
stopband: list[float] | None = None,
|
|
98
|
+
) -> V3dTprojectParameters:
|
|
99
|
+
"""
|
|
100
|
+
Build parameters.
|
|
101
|
+
|
|
102
|
+
Args:
|
|
103
|
+
in_file: Input file to 3dtproject.
|
|
104
|
+
prefix: Output file prefix.
|
|
105
|
+
tr: Use time step dd for the frequency calculations,rather than the\
|
|
106
|
+
value stored in the dataset header.
|
|
107
|
+
automask: Generate a mask automatically.
|
|
108
|
+
bandpass: (a float, a float). Remove all frequencies except those in\
|
|
109
|
+
the range.
|
|
110
|
+
blur: Blur (inside the mask only) with a filter that haswidth (fwhm) of\
|
|
111
|
+
fff millimeters.spatial blurring (if done) is after the timeseries\
|
|
112
|
+
filtering.
|
|
113
|
+
cenmode: 'kill' or 'zero' or 'ntrp'. Specifies how censored time points\
|
|
114
|
+
are treated in the output dataset:* mode = zero -- put zero values in\
|
|
115
|
+
their place; output dataset is same length as input* mode = kill --\
|
|
116
|
+
remove those time points; output dataset is shorter than input* mode =\
|
|
117
|
+
ntrp -- censored values are replaced by interpolated neighboring (in\
|
|
118
|
+
time) non-censored values, before any projections, and then the\
|
|
119
|
+
analysis proceeds without actual removal of any time points -- this\
|
|
120
|
+
feature is to keep the spanish inquisition happy.* the default mode is\
|
|
121
|
+
kill !!!.
|
|
122
|
+
censor: Filename of censor .1d time series.this is a file of 1s and 0s,\
|
|
123
|
+
indicating whichtime points are to be included (1) and which areto be\
|
|
124
|
+
excluded (0).
|
|
125
|
+
censortr: List of strings that specify time indexes to be removed from\
|
|
126
|
+
the analysis. each string isof one of the following forms:* ``37`` =>\
|
|
127
|
+
remove global time index #37* ``2:37`` => remove time index #37 in run\
|
|
128
|
+
#2* ``37..47`` => remove global time indexes #37-47* ``37-47`` => same\
|
|
129
|
+
as above* ``2:37..47`` => remove time indexes #37-47 in run #2*\
|
|
130
|
+
``*:0-2`` => remove time indexes #0-2 in all runs * time indexes within\
|
|
131
|
+
each run start at 0. * run indexes start at 1 (just be to confusing). *\
|
|
132
|
+
n.b.: 2:37,47 means index #37 in run #2 and global time index 47; it\
|
|
133
|
+
does not mean index #37 in run #2 and index #47 in run #2.
|
|
134
|
+
concat: The catenation file, as in 3ddeconvolve, containing thetr\
|
|
135
|
+
indexes of the start points for each contiguous runwithin the input\
|
|
136
|
+
dataset (the first entry should be 0).* also as in 3ddeconvolve, if the\
|
|
137
|
+
input dataset is automatically catenated from a collection of datasets,\
|
|
138
|
+
then the run start indexes are determined directly, and '-concat' is\
|
|
139
|
+
not needed (and will be ignored).* each run must have at least 9 time\
|
|
140
|
+
points after censoring, or the program will not work!* the only use\
|
|
141
|
+
made of this input is in setting up the bandpass/stopband regressors.*\
|
|
142
|
+
'-ort' and '-dsort' regressors run through all time points, as read in.\
|
|
143
|
+
if you want separate projections in each run, then you must either\
|
|
144
|
+
break these ort files into appropriate components, or you must run\
|
|
145
|
+
3dtproject for each run separately, using the appropriate pieces from\
|
|
146
|
+
the ort files via the ``{...}`` selector for the 1d files and the\
|
|
147
|
+
``[...]`` selector for the datasets.
|
|
148
|
+
dsort: Remove the 3d+time time series in dataset fset.* that is, 'fset'\
|
|
149
|
+
contains a different nuisance time series for each voxel (e.g., from\
|
|
150
|
+
anaticor).* multiple -dsort options are allowed.
|
|
151
|
+
mask: Only operate on voxels nonzero in the mset dataset.* voxels\
|
|
152
|
+
outside the mask will be filled with zeros.* if no masking option is\
|
|
153
|
+
given, then all voxels will be processed.
|
|
154
|
+
noblock: Also as in 3ddeconvolve, if you want the program to treatan\
|
|
155
|
+
auto-catenated dataset as one long run, use this option.however,\
|
|
156
|
+
'-noblock' will not affect catenation if you usethe '-concat' option.
|
|
157
|
+
norm: normalize each output time series to have sum ofsquares = 1. this\
|
|
158
|
+
is the last operation.
|
|
159
|
+
ort: Remove each column in file.each column will have its mean removed.
|
|
160
|
+
polort: Remove polynomials up to and including degree pp.* default\
|
|
161
|
+
value is 2.* it makes no sense to use a value of pp greater than 2, if\
|
|
162
|
+
you are bandpassing out the lower frequencies!* for catenated datasets,\
|
|
163
|
+
each run gets a separate set set of pp+1 legendre polynomial\
|
|
164
|
+
regressors.* use of -polort -1 is not advised (if data mean != 0), even\
|
|
165
|
+
if -ort contains constant terms, as all means are removed.
|
|
166
|
+
stopband: (a float, a float). Remove all frequencies in the range.
|
|
167
|
+
Returns:
|
|
168
|
+
Parameter dictionary
|
|
169
|
+
"""
|
|
170
|
+
params = {
|
|
171
|
+
"__STYXTYPE__": "3dTproject",
|
|
172
|
+
"automask": automask,
|
|
173
|
+
"in_file": in_file,
|
|
174
|
+
"noblock": noblock,
|
|
175
|
+
"norm": norm,
|
|
176
|
+
"prefix": prefix,
|
|
177
|
+
}
|
|
178
|
+
if tr is not None:
|
|
179
|
+
params["TR"] = tr
|
|
180
|
+
if bandpass is not None:
|
|
181
|
+
params["bandpass"] = bandpass
|
|
182
|
+
if blur is not None:
|
|
183
|
+
params["blur"] = blur
|
|
184
|
+
if cenmode is not None:
|
|
185
|
+
params["cenmode"] = cenmode
|
|
186
|
+
if censor is not None:
|
|
187
|
+
params["censor"] = censor
|
|
188
|
+
if censortr is not None:
|
|
189
|
+
params["censortr"] = censortr
|
|
190
|
+
if concat is not None:
|
|
191
|
+
params["concat"] = concat
|
|
192
|
+
if dsort is not None:
|
|
193
|
+
params["dsort"] = dsort
|
|
194
|
+
if mask is not None:
|
|
195
|
+
params["mask"] = mask
|
|
196
|
+
if ort is not None:
|
|
197
|
+
params["ort"] = ort
|
|
198
|
+
if polort is not None:
|
|
199
|
+
params["polort"] = polort
|
|
200
|
+
if stopband is not None:
|
|
201
|
+
params["stopband"] = stopband
|
|
202
|
+
return params
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
def v_3d_tproject_cargs(
|
|
206
|
+
params: V3dTprojectParameters,
|
|
207
|
+
execution: Execution,
|
|
208
|
+
) -> list[str]:
|
|
209
|
+
"""
|
|
210
|
+
Build command-line arguments from parameters.
|
|
211
|
+
|
|
212
|
+
Args:
|
|
213
|
+
params: The parameters.
|
|
214
|
+
execution: The execution object for resolving input paths.
|
|
215
|
+
Returns:
|
|
216
|
+
Command-line arguments.
|
|
217
|
+
"""
|
|
218
|
+
cargs = []
|
|
219
|
+
cargs.append("3dTproject")
|
|
220
|
+
if params.get("TR") is not None:
|
|
221
|
+
cargs.extend([
|
|
222
|
+
"-TR",
|
|
223
|
+
str(params.get("TR"))
|
|
224
|
+
])
|
|
225
|
+
if params.get("automask"):
|
|
226
|
+
cargs.append("-automask")
|
|
227
|
+
if params.get("bandpass") is not None:
|
|
228
|
+
cargs.extend([
|
|
229
|
+
"-bandpass",
|
|
230
|
+
*map(str, params.get("bandpass"))
|
|
231
|
+
])
|
|
232
|
+
if params.get("blur") is not None:
|
|
233
|
+
cargs.extend([
|
|
234
|
+
"-blur",
|
|
235
|
+
str(params.get("blur"))
|
|
236
|
+
])
|
|
237
|
+
if params.get("cenmode") is not None:
|
|
238
|
+
cargs.extend([
|
|
239
|
+
"-cenmode",
|
|
240
|
+
params.get("cenmode")
|
|
241
|
+
])
|
|
242
|
+
if params.get("censor") is not None:
|
|
243
|
+
cargs.extend([
|
|
244
|
+
"-censor",
|
|
245
|
+
execution.input_file(params.get("censor"))
|
|
246
|
+
])
|
|
247
|
+
if params.get("censortr") is not None:
|
|
248
|
+
cargs.extend([
|
|
249
|
+
"-CENSORTR",
|
|
250
|
+
*params.get("censortr")
|
|
251
|
+
])
|
|
252
|
+
if params.get("concat") is not None:
|
|
253
|
+
cargs.extend([
|
|
254
|
+
"-concat",
|
|
255
|
+
execution.input_file(params.get("concat"))
|
|
256
|
+
])
|
|
257
|
+
if params.get("dsort") is not None:
|
|
258
|
+
cargs.extend([
|
|
259
|
+
"-dsort",
|
|
260
|
+
*[execution.input_file(f) for f in params.get("dsort")]
|
|
261
|
+
])
|
|
262
|
+
cargs.extend([
|
|
263
|
+
"-input",
|
|
264
|
+
execution.input_file(params.get("in_file"))
|
|
265
|
+
])
|
|
266
|
+
if params.get("mask") is not None:
|
|
267
|
+
cargs.extend([
|
|
268
|
+
"-mask",
|
|
269
|
+
execution.input_file(params.get("mask"))
|
|
270
|
+
])
|
|
271
|
+
if params.get("noblock"):
|
|
272
|
+
cargs.append("-noblock")
|
|
273
|
+
if params.get("norm"):
|
|
274
|
+
cargs.append("-norm")
|
|
275
|
+
if params.get("ort") is not None:
|
|
276
|
+
cargs.extend([
|
|
277
|
+
"-ort",
|
|
278
|
+
execution.input_file(params.get("ort"))
|
|
279
|
+
])
|
|
280
|
+
if params.get("polort") is not None:
|
|
281
|
+
cargs.extend([
|
|
282
|
+
"-polort",
|
|
283
|
+
str(params.get("polort"))
|
|
284
|
+
])
|
|
285
|
+
if params.get("stopband") is not None:
|
|
286
|
+
cargs.extend([
|
|
287
|
+
"-stopband",
|
|
288
|
+
*map(str, params.get("stopband"))
|
|
289
|
+
])
|
|
290
|
+
cargs.extend([
|
|
291
|
+
"-prefix",
|
|
292
|
+
params.get("prefix")
|
|
293
|
+
])
|
|
294
|
+
return cargs
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
def v_3d_tproject_outputs(
|
|
298
|
+
params: V3dTprojectParameters,
|
|
299
|
+
execution: Execution,
|
|
300
|
+
) -> V3dTprojectOutputs:
|
|
301
|
+
"""
|
|
302
|
+
Build outputs object containing output file paths and possibly stdout/stderr.
|
|
303
|
+
|
|
304
|
+
Args:
|
|
305
|
+
params: The parameters.
|
|
306
|
+
execution: The execution object for resolving input paths.
|
|
307
|
+
Returns:
|
|
308
|
+
Outputs object.
|
|
309
|
+
"""
|
|
310
|
+
ret = V3dTprojectOutputs(
|
|
311
|
+
root=execution.output_file("."),
|
|
312
|
+
out_file=execution.output_file(params.get("prefix")),
|
|
313
|
+
)
|
|
314
|
+
return ret
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
def v_3d_tproject_execute(
|
|
318
|
+
params: V3dTprojectParameters,
|
|
319
|
+
execution: Execution,
|
|
320
|
+
) -> V3dTprojectOutputs:
|
|
321
|
+
"""
|
|
322
|
+
This program projects (detrends) out various 'nuisance' time series from each
|
|
323
|
+
voxel in the input dataset. Note that all the projections are done via linear
|
|
324
|
+
regression, including the frequency-based options such as '-passband'. In this
|
|
325
|
+
way, you can bandpass time-censored data, and at the same time, remove other
|
|
326
|
+
time series of no interest (e.g., physiological estimates, motion parameters).
|
|
327
|
+
|
|
328
|
+
Author: AFNI Developers
|
|
329
|
+
|
|
330
|
+
URL: https://afni.nimh.nih.gov/
|
|
331
|
+
|
|
332
|
+
Args:
|
|
333
|
+
params: The parameters.
|
|
334
|
+
execution: The execution object.
|
|
335
|
+
Returns:
|
|
336
|
+
NamedTuple of outputs (described in `V3dTprojectOutputs`).
|
|
337
|
+
"""
|
|
338
|
+
params = execution.params(params)
|
|
339
|
+
cargs = v_3d_tproject_cargs(params, execution)
|
|
340
|
+
ret = v_3d_tproject_outputs(params, execution)
|
|
341
|
+
execution.run(cargs)
|
|
342
|
+
return ret
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
def v_3d_tproject(
|
|
346
|
+
in_file: InputPathType,
|
|
347
|
+
prefix: str,
|
|
348
|
+
tr: float | None = None,
|
|
349
|
+
automask: bool = False,
|
|
350
|
+
bandpass: list[float] | None = None,
|
|
351
|
+
blur: float | None = None,
|
|
352
|
+
cenmode: typing.Literal["kill", "zero", "ntrp"] | None = None,
|
|
353
|
+
censor: InputPathType | None = None,
|
|
354
|
+
censortr: list[str] | None = None,
|
|
355
|
+
concat: InputPathType | None = None,
|
|
356
|
+
dsort: list[InputPathType] | None = None,
|
|
357
|
+
mask: InputPathType | None = None,
|
|
358
|
+
noblock: bool = False,
|
|
359
|
+
norm: bool = False,
|
|
360
|
+
ort: InputPathType | None = None,
|
|
361
|
+
polort: int | None = None,
|
|
362
|
+
stopband: list[float] | None = None,
|
|
363
|
+
runner: Runner | None = None,
|
|
364
|
+
) -> V3dTprojectOutputs:
|
|
365
|
+
"""
|
|
366
|
+
This program projects (detrends) out various 'nuisance' time series from each
|
|
367
|
+
voxel in the input dataset. Note that all the projections are done via linear
|
|
368
|
+
regression, including the frequency-based options such as '-passband'. In this
|
|
369
|
+
way, you can bandpass time-censored data, and at the same time, remove other
|
|
370
|
+
time series of no interest (e.g., physiological estimates, motion parameters).
|
|
371
|
+
|
|
372
|
+
Author: AFNI Developers
|
|
373
|
+
|
|
374
|
+
URL: https://afni.nimh.nih.gov/
|
|
375
|
+
|
|
376
|
+
Args:
|
|
377
|
+
in_file: Input file to 3dtproject.
|
|
378
|
+
prefix: Output file prefix.
|
|
379
|
+
tr: Use time step dd for the frequency calculations,rather than the\
|
|
380
|
+
value stored in the dataset header.
|
|
381
|
+
automask: Generate a mask automatically.
|
|
382
|
+
bandpass: (a float, a float). Remove all frequencies except those in\
|
|
383
|
+
the range.
|
|
384
|
+
blur: Blur (inside the mask only) with a filter that haswidth (fwhm) of\
|
|
385
|
+
fff millimeters.spatial blurring (if done) is after the timeseries\
|
|
386
|
+
filtering.
|
|
387
|
+
cenmode: 'kill' or 'zero' or 'ntrp'. Specifies how censored time points\
|
|
388
|
+
are treated in the output dataset:* mode = zero -- put zero values in\
|
|
389
|
+
their place; output dataset is same length as input* mode = kill --\
|
|
390
|
+
remove those time points; output dataset is shorter than input* mode =\
|
|
391
|
+
ntrp -- censored values are replaced by interpolated neighboring (in\
|
|
392
|
+
time) non-censored values, before any projections, and then the\
|
|
393
|
+
analysis proceeds without actual removal of any time points -- this\
|
|
394
|
+
feature is to keep the spanish inquisition happy.* the default mode is\
|
|
395
|
+
kill !!!.
|
|
396
|
+
censor: Filename of censor .1d time series.this is a file of 1s and 0s,\
|
|
397
|
+
indicating whichtime points are to be included (1) and which areto be\
|
|
398
|
+
excluded (0).
|
|
399
|
+
censortr: List of strings that specify time indexes to be removed from\
|
|
400
|
+
the analysis. each string isof one of the following forms:* ``37`` =>\
|
|
401
|
+
remove global time index #37* ``2:37`` => remove time index #37 in run\
|
|
402
|
+
#2* ``37..47`` => remove global time indexes #37-47* ``37-47`` => same\
|
|
403
|
+
as above* ``2:37..47`` => remove time indexes #37-47 in run #2*\
|
|
404
|
+
``*:0-2`` => remove time indexes #0-2 in all runs * time indexes within\
|
|
405
|
+
each run start at 0. * run indexes start at 1 (just be to confusing). *\
|
|
406
|
+
n.b.: 2:37,47 means index #37 in run #2 and global time index 47; it\
|
|
407
|
+
does not mean index #37 in run #2 and index #47 in run #2.
|
|
408
|
+
concat: The catenation file, as in 3ddeconvolve, containing thetr\
|
|
409
|
+
indexes of the start points for each contiguous runwithin the input\
|
|
410
|
+
dataset (the first entry should be 0).* also as in 3ddeconvolve, if the\
|
|
411
|
+
input dataset is automatically catenated from a collection of datasets,\
|
|
412
|
+
then the run start indexes are determined directly, and '-concat' is\
|
|
413
|
+
not needed (and will be ignored).* each run must have at least 9 time\
|
|
414
|
+
points after censoring, or the program will not work!* the only use\
|
|
415
|
+
made of this input is in setting up the bandpass/stopband regressors.*\
|
|
416
|
+
'-ort' and '-dsort' regressors run through all time points, as read in.\
|
|
417
|
+
if you want separate projections in each run, then you must either\
|
|
418
|
+
break these ort files into appropriate components, or you must run\
|
|
419
|
+
3dtproject for each run separately, using the appropriate pieces from\
|
|
420
|
+
the ort files via the ``{...}`` selector for the 1d files and the\
|
|
421
|
+
``[...]`` selector for the datasets.
|
|
422
|
+
dsort: Remove the 3d+time time series in dataset fset.* that is, 'fset'\
|
|
423
|
+
contains a different nuisance time series for each voxel (e.g., from\
|
|
424
|
+
anaticor).* multiple -dsort options are allowed.
|
|
425
|
+
mask: Only operate on voxels nonzero in the mset dataset.* voxels\
|
|
426
|
+
outside the mask will be filled with zeros.* if no masking option is\
|
|
427
|
+
given, then all voxels will be processed.
|
|
428
|
+
noblock: Also as in 3ddeconvolve, if you want the program to treatan\
|
|
429
|
+
auto-catenated dataset as one long run, use this option.however,\
|
|
430
|
+
'-noblock' will not affect catenation if you usethe '-concat' option.
|
|
431
|
+
norm: normalize each output time series to have sum ofsquares = 1. this\
|
|
432
|
+
is the last operation.
|
|
433
|
+
ort: Remove each column in file.each column will have its mean removed.
|
|
434
|
+
polort: Remove polynomials up to and including degree pp.* default\
|
|
435
|
+
value is 2.* it makes no sense to use a value of pp greater than 2, if\
|
|
436
|
+
you are bandpassing out the lower frequencies!* for catenated datasets,\
|
|
437
|
+
each run gets a separate set set of pp+1 legendre polynomial\
|
|
438
|
+
regressors.* use of -polort -1 is not advised (if data mean != 0), even\
|
|
439
|
+
if -ort contains constant terms, as all means are removed.
|
|
440
|
+
stopband: (a float, a float). Remove all frequencies in the range.
|
|
441
|
+
runner: Command runner.
|
|
442
|
+
Returns:
|
|
443
|
+
NamedTuple of outputs (described in `V3dTprojectOutputs`).
|
|
444
|
+
"""
|
|
445
|
+
runner = runner or get_global_runner()
|
|
446
|
+
execution = runner.start_execution(V_3D_TPROJECT_METADATA)
|
|
447
|
+
params = v_3d_tproject_params(
|
|
448
|
+
tr=tr,
|
|
449
|
+
automask=automask,
|
|
450
|
+
bandpass=bandpass,
|
|
451
|
+
blur=blur,
|
|
452
|
+
cenmode=cenmode,
|
|
453
|
+
censor=censor,
|
|
454
|
+
censortr=censortr,
|
|
455
|
+
concat=concat,
|
|
456
|
+
dsort=dsort,
|
|
457
|
+
in_file=in_file,
|
|
458
|
+
mask=mask,
|
|
459
|
+
noblock=noblock,
|
|
460
|
+
norm=norm,
|
|
461
|
+
ort=ort,
|
|
462
|
+
polort=polort,
|
|
463
|
+
stopband=stopband,
|
|
464
|
+
prefix=prefix,
|
|
465
|
+
)
|
|
466
|
+
return v_3d_tproject_execute(params, execution)
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
__all__ = [
|
|
470
|
+
"V3dTprojectOutputs",
|
|
471
|
+
"V3dTprojectParameters",
|
|
472
|
+
"V_3D_TPROJECT_METADATA",
|
|
473
|
+
"v_3d_tproject",
|
|
474
|
+
"v_3d_tproject_params",
|
|
475
|
+
]
|